Bug #2609

RCP: 0.8.0, XTZ Import, texts in a corpus are duplicated if "milestone" tags are specified in the import form

Ajouté par Alexey Lavrentev il y a environ 6 ans. Mis à jour il y a plus d'un an.

Statut:Closed Début:13/08/2019
Priorité:Normal Echéance:
Assigné à:- % réalisé:

100%

Catégorie:Import Temps passé: -
Version cible: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

Historique

#1 Mis à jour par Alexey Lavrentev il y a environ 6 ans

  • Description mis à jour (diff)

#2 Mis à jour par Matthieu Decorde il y a environ 6 ans

  • Description mis à jour (diff)
  • Version cible mis à TXM 0.8.0
  • % réalisé changé de 0 à 80

#3 Mis à jour par Sebastien Jacquot il y a plus d'un an

  • % réalisé changé de 80 à 100

#4 Mis à jour par Sebastien Jacquot il y a plus d'un an

  • Statut changé de New à Closed

Formats disponibles : Atom PDF