Bug #3070
Metadata, manage empty and blank column header names
Status: | New | Start date: | 04/28/2021 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% |
|
Category: | Import | Spent time: | - | |
Target version: | TXM 0.8.4 |
Description
If a metadata file (.xlsx, .ods, .csv...) contains an empty or blank column header name (that can not be converted to a metadata name - composed of only minuscule letters and dashes), ignore the column and display a warning message in the console.
Solution¶
If the column header name is not empty, use a com.ibm.icu.text.Transliterator to convert to only minuscule letters and dashes (like in the macro RemoveDiacritics attached to this ticket), and if the result is empty ignore the column.
History
#1 Updated by Matthieu Decorde about 2 years ago
- Subject changed from Metadata, mange empty header name to Metadata, manage empty header name
#2 Updated by Serge Heiden about 2 years ago
- Subject changed from Metadata, manage empty header name to Metadata, manage empty column header names
- Description updated (diff)
#3 Updated by Serge Heiden about 2 years ago
- File RemoveDiacriticsMacro.groovy added
- Subject changed from Metadata, manage empty column header names to Metadata, manage empty and blank column header names
- Description updated (diff)
#4 Updated by Matthieu Decorde almost 2 years ago
- Target version changed from TXM 0.8.2 to TXM 0.8.4