Bug #1680

TBX: X.X, corpus export command doesn't include sub-corpus and partitions created during the current TXM session

Added by Serge Heiden almost 4 years ago. Updated 9 months ago.

Status:New Start date:02/17/2016
Priority:Normal Due date:
Assignee:- % Done:

80%

Category:Commands Spent time: -
Target version: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.

History

#1 Updated by Sebastien Jacquot over 1 year ago

  • Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.0

#2 Updated by Matthieu Decorde 9 months ago

  • % Done changed from 0 to 80

Solution D implemented

Also available in: Atom PDF