Bug #1472

Updated by Matthieu Decorde almost 5 years ago

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)

id (1) = 0.
n (59) = 22, 23, 24, 25, 26, 27, 28, 29, 3, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43.
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.

h3. Solution 1

Remove the 'path' text attribute

h3. Solution 2

For all ancillary/internal/private structure properties build (and needed?) by TXM:
* use a secure non colliding name (to prevent conflicts with user's structure properties space name)
** for example prefix the name by 'Txm' in camelback naming policy
* filter processing and display depending on context of every ancillary data name to prevent the user to discover or to have to deal with it