Bug #2609
RCP: 0.8.0, XTZ Import, texts in a corpus are duplicated if "milestone" tags are specified in the import form
Status: | New | Start date: | 08/13/2019 | ||
---|---|---|---|---|---|
Priority: | Normal | Due date: | |||
Assignee: | - | % Done: | 80% |
||
Category: | Import | Spent time: | - | ||
Target version: | TXM 0.8.0 |
Description
To reproduce the bug, take ImMondePrK source files https://sharedocs.huma-num.fr/wl/?id=amz86f5orz13RicSzqVu2FZ8CdsNmaie.
Use XML-TEI Zero module.In Textual planes, specify:
- Out of text to edit: teiHeader,figure, head
- Note elements: note
- Milestone elements: [nothing]
The import should produce a corpus of 1 text (51 662 tok.)
Then, add "lb" to Milestone elements and re-import.
The import produces a corpus of 2 texts (103 324 tok.), the 2nd text is named "copy".
Solution¶
Fix the file replacement after milestones are processed in XML files
History
#1 Updated by Alexey Lavrentev over 1 year ago
- Description updated (diff)
#2 Updated by Matthieu Decorde over 1 year ago
- Description updated (diff)
- Target version set to TXM 0.8.0
- % Done changed from 0 to 80