Bug #1472

TBX: 0.7.7, remove text 'path' attribute from TXT+CSV import module or deal with it in appropriate commands

Ajouté par Serge Heiden il y a environ 10 ans. Mis à jour il y a plus d'un an.

Statut:Closed Début:04/09/2015
Priorité:Urgent Echéance:
Assigné à:- % réalisé:

100%

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

Description

Current TXT+CSV import module builds a 'path' property for 'text' structures that one can see in various command results disturbing the user who has never named any source data with that name.

For example after importing the 'voeux-txt' sample corpus without any metadata, the Description command displays:

Propriétés des structures (max 20 valeurs)

p
   id (1) = 0.
s
   n (59) = 22, 23, 24, 25, 26, 27, 28, 29, 3, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43.
text
   id (3) = t0015, t0022, t0036.
   path (1) = "".

That property must not be shown to the user, in:
  • Description command
  • the first page of the Edition of each text
  • Concordance references display choice
  • Sub-corpus selection
  • etc.
    or must not be build.

Solution 1

Remove the 'path' text attribute

Historique

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

  • Sujet changé de TBX: 0.7.7, remove text 'path' attribute from TXT+CSV import module à TBX: 0.7.7, remove text 'path' attribute from TXT+CSV import module or deal with it in appropriate commands
  • Description mis à jour (diff)
  • Priorité changé de Normal à Urgent

#2 Mis à jour par Serge Heiden il y a environ 10 ans

  • Description mis à jour (diff)

#3 Mis à jour par Matthieu Decorde il y a environ 10 ans

I removed the text@path attribute from the TXT+CSV import (commit 3031)

#4 Mis à jour par Serge Heiden il y a environ 10 ans

Does this mean that the 'path' text structure property was useless?

#5 Mis à jour par Matthieu Decorde il y a environ 10 ans

it has a meaning when the source directory contains sub-directories, anyway the feature is not documented.

#6 Mis à jour par Serge Heiden il y a environ 10 ans

We must then create a ticket & spéc for that feature (to link it to the import process and decide if we publish it or not) AND use the current ticket for another topic concerning internal information.

#7 Mis à jour par Matthieu Decorde il y a environ 10 ans

  • % réalisé changé de 0 à 50

#8 Mis à jour par Matthieu Decorde il y a environ 10 ans

  • Description mis à jour (diff)

#9 Mis à jour par Matthieu Decorde il y a environ 10 ans

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

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

  • Statut changé de New à Closed

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

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

Formats disponibles : Atom PDF