Bug #1680
TBX: X.X, corpus export command doesn't include sub-corpus and partitions created during the current TXM session
Statut: | Closed | Début: | 17/02/2016 | |
---|---|---|---|---|
Priorité: | Normal | Echéance: | ||
Assigné à: | - | % réalisé: | 100% |
|
Catégorie: | Commands | Temps passé: | - | |
Version cible: | TXM 0.8.0 |
Description
Currently, sub-corpora and partitions created during a TXM working session are not included into binary corpora exported during the session.
Diagnostic¶
The export command uses the 'import.xml' file to decide which sub-corpora and partitions are associated to the corpus to export.
The 'import.xml' file is used to persist sub-corpora and partitions information of corpora.
The 'import.xml' file is updated with sub-corpora and partitions created during a TXM working session only when quitting TXM -> this is why the export command cannot see them.
Solution A¶
Use a corpus source information related to the current session (if available - eg from the corpus view?) instead of the persistence data structure.
Solution B¶
Save sub-corpora and partitions corpus information in the 'import.xml' file when they are created.
Solution C¶
Save sub-corpora and partitions corpus information in the 'import.xml' file when the export command is called.
Solution D¶
Use another persistence model for sub-corpora and partitions corpus information (datastructure and workflow), and decide which of persistence or live data structure to use for export.
Historique
#1 Mis à jour par Sebastien Jacquot il y a plus de 7 ans
- Version cible changé de TXM 0.8.0a (split/restructuration) à TXM 0.8.0
#2 Mis à jour par Matthieu Decorde il y a plus de 6 ans
- % réalisé changé de 0 à 80
Solution D implemented
#3 Mis à jour par Sebastien Jacquot il y a plus de 5 ans
- Statut changé de New à Closed
- % réalisé changé de 80 à 100