Bug #2051

RCP: 0.7.8, Display a meaningful error message on calling Edition or BackToText command on corpora without editions

Added by Alexey Lavrentev over 5 years ago. Updated over 3 years ago.

Status:New Start date:02/28/2017
Priority:Normal Due date:
Assignee:- % Done:


Category:- Spent time: -
Target version:TXM 0.8.0


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


#1 Updated by Sebastien Jacquot over 4 years ago

  • Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.0

#2 Updated by Matthieu Decorde over 3 years ago

  • % Done changed from 0 to 80

Also available in: Atom PDF