Bug #1516
RCP: 0.7.7, new corpus architecture
Statut: | Closed | Début: | 22/09/2015 | |
---|---|---|---|---|
Priorité: | Normal | Echéance: | ||
Assigné à: | - | % réalisé: | 100% |
|
Catégorie: | Corpus | Temps passé: | - | |
Version cible: | TXM 0.7.8 |
Description
Mail BP:
I already have a VOEUX corpus in TXM before upgrading to 0.7.7.
When TXM is upgraded to 0.7.7, I see two instances of the VOEUX corpus, one at the top of the list, and the second at the bottom (or near the bottom).
These two instances correspond to the previous version of VOEUX corpus : it is smaller than the one delivered with TXM 0.7.7 (T=61102 vs T=61162) and has no mention of date, author, etc. at the beginning of the Description.
These two instances look like two views of the same object : every modification on one is also applied on the other one. Except deletion : deleting the "bottom" view of VOEUX doesn't suppress the "top" view (but this top view "is not ready").
If one delete every view of VOEUX and then load again this corpus, one gets a warning, like "Le corpus voeux existe déjà".
Discussion¶
MD:- due to corpora architecture evolution in 0.7.8, some corpora directories have the same name in lower and uppercase.
- those corpora may have the same CQP name (in the registry file), this incoherence prevents to load the second corpus (the second corpus cannot be loaded at startup or session time).
Solution¶
Rustine 1¶
The rustine is to prevent loading corpus with the same name (lower or upper cased). The corpus less recent is not loaded and removed from the loaded corpus list (in the "$TXM/workspaces/default.xml" file).
Note: the files of the corpora not loaded are not removed from disk.
Historique
#1 Mis à jour par Matthieu Decorde il y a presque 10 ans
- Description mis à jour (diff)
- Catégorie mis à Corpus
#2 Mis à jour par Matthieu Decorde il y a presque 10 ans
- Description mis à jour (diff)
#3 Mis à jour par Matthieu Decorde il y a presque 10 ans
- Description mis à jour (diff)
#4 Mis à jour par Matthieu Decorde il y a presque 10 ans
- Description mis à jour (diff)
#5 Mis à jour par Matthieu Decorde il y a presque 10 ans
- Description mis à jour (diff)
- % réalisé changé de 0 à 70
#6 Mis à jour par Serge Heiden il y a plus de 9 ans
- Description mis à jour (diff)
- % réalisé changé de 70 à 50
#7 Mis à jour par Serge Heiden il y a plus de 9 ans
- Sujet changé de RCP: 0.7.7, Corpus VOEUX is duplicated à RCP: 0.7.7, new corpus architecture
- Description mis à jour (diff)
#8 Mis à jour par Matthieu Decorde il y a environ 8 ans
- Description mis à jour (diff)
- % réalisé changé de 50 à 80
ticket splited: #2241
#9 Mis à jour par Sebastien Jacquot il y a plus d'un an
- Statut changé de New à Closed
#10 Mis à jour par Sebastien Jacquot il y a plus d'un an
- % réalisé changé de 80 à 100