Bug #2821
Import, broken generated word id
Statut: | Closed | Début: | 15/05/2020 | |
---|---|---|---|---|
Priorité: | Normal | Echéance: | ||
Assigné à: | - | % réalisé: | 100% |
|
Catégorie: | Import | Temps passé: | - | |
Version cible: | TXM 0.8.1 |
Description
Révisions associées
fix word id generation refs #2821
Historique
#1 Mis à jour par Matthieu Decorde il y a plus de 5 ans
- Description mis à jour (diff)
#2 Mis à jour par Matthieu Decorde il y a plus de 5 ans
- Description mis à jour (diff)
#3 Mis à jour par Matthieu Decorde il y a plus de 5 ans
- % réalisé changé de 0 à 80
to be tested in next setup/update
#4 Mis à jour par Alexey Lavrentev il y a plus de 5 ans
Test works fine as formulated in https://groupes.renater.fr/wiki/txm-users/public/retours_de_bugs_logiciel/txm_0.8.1beta#retours.
But several problems persist:- the letters in existing Id are converted to lower case;
- no check on duplicate id is run. To test:
- Create a t1.xml and paste the following content:
<text id="T1"> <w id="w_recup_0">début</w> du texte. <w id="11">les</w> <w id="w_t1_2">mots</w> <w id="w_T1_3">suivant</w> <w id="4">du</w> <w id="5">textes</w> <w id="7">.</w> <w id="w_recup_8">fin</w> <w id="w_recup_9">.</w> </text>
- Use XML/W+CSV import module
- Make a lexicon of the "id" word property
- You will get:
w_t1_2 2 w_t1_3 2 w_11 1 w_4 1 w_5 1 w_7 1 w_recup_0 1 w_recup_8 1 w_recup_9 1 w_sans_titre1_4 1
#5 Mis à jour par Matthieu Decorde il y a plus de 5 ans
- % réalisé changé de 80 à 60
need to fix existing ID with min&maj characters
#7 Mis à jour par Sebastien Jacquot il y a plus d'un an
- % réalisé changé de 80 à 100
#8 Mis à jour par Sebastien Jacquot il y a plus d'un an
- Statut changé de New à Closed