Bug #2051
RCP: 0.7.8, Display a meaningful error message on calling Edition or BackToText command on corpora without editions
Status: | New | Start date: | 02/28/2017 | ||
---|---|---|---|---|---|
Priority: | Normal | Due date: | |||
Assignee: | - | % Done: | 80% |
||
Category: | - | Spent time: | - | ||
Target version: | 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
History
#1 Updated by Sebastien Jacquot over 2 years ago
- Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.0
#2 Updated by Matthieu Decorde about 2 years ago
- % Done changed from 0 to 80