Task #2865

BackToText, no edition messages

Added by Matthieu Decorde about 3 years ago. Updated over 2 years ago.

Status:New Start date:06/25/2020
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Messages Spent time: -
Target version:TXM 0.8.4

Description

FR

1) accès direct à l'édition du corpus
message console :
Error: No XYZtext in the ABC corpus

Commentaire : en fait je sais qu'il n'y a pas d'édition, donc ce n'est pas vraiment une "Erreur".

Proposition d'amélioration du message :
EN: No edition to display of the XYZ text of the ABC corpus
FR: Pas d'édition à afficher du texte XYZ du corpus ABC

2) retour au texte depuis une concordance

message console, 2 stacktraces successives :
Stacktrace:
[1] org.txm.edition.rcp.handlers.BackToText. backToText BackToText.java, 369
[2] org.txm.concordance.rcp.editors.ConcordanceEditor. backToText ConcordanceEditor.java, 2143
[3] org.txm.concordance.rcp.editors.ConcordanceEditor$12.mouseDoubleClick ConcordanceEditor.java, 667
[4] org.txm.rcp.Application. start Application.java, 260
java.lang.NullPointerException
at org.txm.rcp.editors.TXMEditor.addLinkedEditor(TXMEditor.java:1792)
at org.txm.edition.rcp.handlers.BackToText.backToText(BackToText.java:293)
at org.txm.concordance.rcp.editors.ConcordanceEditor.backToText(ConcordanceEditor.java:2143)
at org.txm.concordance.rcp.editors.ConcordanceEditor$12.mouseDoubleClick(ConcordanceEditor.java:667)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:197)
...

Proposition d'amélioration : 1) retirer les stacktraces 2) afficher un message explicite
Le message explicite peut être :
EN: No return available to an edition the XYZ text of the ABC corpus
FR: Pas de retour possible à une édition du texte XYZ du corpus ABC

History

#1 Updated by Matthieu Decorde over 2 years ago

  • Target version changed from TXM 0.8.2 to TXM 0.8.4

Also available in: Atom PDF