Bug #975

TXM: 0.7.6, corpus import must not accept invalid corpus names

Ajouté par Serge Heiden il y a environ 11 ans. Mis à jour il y a plus de 4 ans.

Statut:Closed Début:08/08/2014
Priorité:Urgent Echéance:
Assigné à:- % réalisé:

100%

Catégorie:Import Temps passé: -
Version cible:TXM 0.7.7

Description

Currently, CQP search engine cannot manage corpora with a name beginning with a digit: 0..9.

More generally, corpus names must follow a 'CQP naming policy' to be manageable by CQP.

Currently, the User Interface of corpus import or corpus load accept corpus names
that don't respect CQP naming policy.

The result is that when the import or the load is finished with success,
the corpus is available in the corpus view but is not useable by CQP.

Solution

  • corpus import:
    • in the import parameters window, the corpus name input field must indicate a corpus naming policy violation if the currently given corpus name doesn't respect it (for example with a red cross) OK the corpus name check is done when the user starts the import process.
    • the import process must NOT start until the corpus name doesn't respect the corpus naming policy. OK

see ticket #1033 for load process changes

Validation test

  • try the "42", "àéuazeDF" corpus names
  • and attempt to start the import the "Nom du corpus* ..." label background must go red

MD: OK Linux64

Historique

#1 Mis à jour par Serge Heiden il y a environ 11 ans

  • Sujet changé de TBX: 0.7.6, corpus import or corpus load must not accept invalid corpus names à TXM: 0.7.6, corpus import or corpus load must not accept invalid corpus names

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

  • % réalisé changé de 0 à 30
MD: in the import editor :
  • When user select the source directory : the generated corpus ID manages corpus with a name beginning with a digit: 0..9.
  • When user start the import : the corpus ID is validated with the [A-Z][-A-Z0-9]* regular expression

#3 Mis à jour par Matthieu Decorde il y a presque 11 ans

  • Sujet changé de TXM: 0.7.6, corpus import or corpus load must not accept invalid corpus names à TXM: 0.7.6, corpus import must not accept invalid corpus names
  • Description mis à jour (diff)
  • Catégorie changé de UI à Import
  • Version cible changé de TXM 0.7.7 à TXM 0.7.6

#4 Mis à jour par Matthieu Decorde il y a presque 11 ans

  • Description mis à jour (diff)
  • % réalisé changé de 30 à 80

#5 Mis à jour par Sebastien Jacquot il y a presque 11 ans

  • Version cible changé de TXM 0.7.6 à TXM 0.7.7

#6 Mis à jour par Matthieu Decorde il y a presque 11 ans

  • Statut changé de New à Feedback

#7 Mis à jour par Matthieu Decorde il y a presque 11 ans

  • Description mis à jour (diff)

#8 Mis à jour par Matthieu Decorde il y a presque 11 ans

  • Description mis à jour (diff)

#9 Mis à jour par Sebastien Jacquot il y a plus de 10 ans

Checked, corpus is not imported but some directories are created, see: #1290

#10 Mis à jour par Matthieu Decorde il y a plus de 10 ans

  • Description mis à jour (diff)
  • % réalisé changé de 80 à 90

#11 Mis à jour par Matthieu Decorde il y a plus de 4 ans

  • Statut changé de Feedback à Closed
  • % réalisé changé de 90 à 100

Formats disponibles : Atom PDF