Feature #837
TBX: x.x, don't stop XML/w import during compiler step if a file is malformed
Statut: | Closed | Début: | 28/05/2014 | |
---|---|---|---|---|
Priorité: | Normal | Echéance: | ||
Assigné à: | - | % réalisé: | 100% |
|
Catégorie: | Import | Temps passé: | - | |
Version cible: | TXM 0.7.6 |
Description
don't stop the XML/w import during compiler step if a file is malformed.
Malformed file will be stored in the "compiler-error" directory
Display the filename when moved in "compiler-error" directory
Historique
#1 Mis à jour par Matthieu Decorde il y a plus de 11 ans
- Description mis à jour (diff)
#2 Mis à jour par Matthieu Decorde il y a plus de 11 ans
- % réalisé changé de 0 à 80
#3 Mis à jour par Sebastien Jacquot il y a environ 11 ans
Test OK with 9 files + 1 one malformed file.
The malformed file is well skipped.
But I can't find a message saying the file will be moved to "compiler-error".
I also cant' find the directory "compiler-error", should it be in TXM_USER ?
#4 Mis à jour par Matthieu Decorde il y a environ 11 ans
The message is shown curing the "compiler" step : Moving $xmlFile to $errorDir
I'll add the "Warning: " prefix
#5 Mis à jour par Matthieu Decorde il y a environ 11 ans
- % réalisé changé de 80 à 90
#6 Mis à jour par Serge Heiden il y a environ 11 ans
We need to set an explicit and consistent console messages policy:
- messages should be on one line if possible
- some messages must have a specific prefix
- warnings must have "** Warning: " prefix, FR: "** Avertissement : "
- errors must have "** Error: " prefix, FR: "** Erreur : "
#7 Mis à jour par Matthieu Decorde il y a environ 11 ans
- % réalisé changé de 90 à 100
#8 Mis à jour par Matthieu Decorde il y a environ 11 ans
- Statut changé de New à Closed