Bug #2051
RCP: 0.7.8, Display a meaningful error message on calling Edition or BackToText command on corpora without editions
Statut: | Closed | Début: | 28/02/2017 | |
---|---|---|---|---|
Priorité: | Normal | Echéance: | ||
Assigné à: | - | % réalisé: | 100% |
|
Catégorie: | - | Temps passé: | - | |
Version cible: | TXM 0.8.0 |
Description
TXM 0.7.8 allows importing corpora without building editions.
In such case the edition command produces the following error message in the console :
** Could not find first text of ID null dans le corpus
BackToText finction displays the following:
** Could not find first text of ID null dans le corpus Full text display failed: java.lang.NullPointerException
A more meaningful error message should be displayed instead, e.g. :
- EN: Edition command is not available for this corpus
- FR: La commande Édition n'est pas disponible pour ce corpus
Historique
#1 Mis à jour par Sebastien Jacquot il y a plus de 7 ans
- Version cible changé de TXM 0.8.0a (split/restructuration) à TXM 0.8.0
#2 Mis à jour par Matthieu Decorde il y a plus de 6 ans
- % réalisé changé de 0 à 80
#3 Mis à jour par Sebastien Jacquot il y a plus d'un an
- % réalisé changé de 80 à 100
#4 Mis à jour par Sebastien Jacquot il y a plus d'un an
- Statut changé de New à Closed