Bug #3107
Import, XTZ Pager, broken editions if words have no id
Statut: | Closed | Début: | 23/06/2021 | |
---|---|---|---|---|
Priorité: | Normal | Echéance: | ||
Assigné à: | - | % réalisé: | 100% |
|
Catégorie: | Edition | Temps passé: | - | |
Version cible: | TXM 0.8.2 |
Description
If words have no id, the word indexes of the edition pages is empty:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:659) at java.util.ArrayList.get(ArrayList.java:435) at org.txm.objects.Edition.getPage(Edition.java:288) at org.txm.objects.Edition.getFirstPage(Edition.java:277) at org.txm.edition.rcp.editors.EditionPanel.firstPage(EditionPanel.java:748) at org.txm.edition.rcp.editors.SynopticEditionEditor.firstPage(SynopticEditionEditor.java:268) at org.txm.edition.rcp.editors.SynopticEditionEditor._createPartControl(SynopticEditionEditor.java:731) at org.txm.rcp.editors.TXMEditor.createPartControl(TXMEditor.java:462)
Solution¶
Possible solutions:Stop the pager process- manages empty word indexes and use the w_0 word id if the page word id is not set
Historique
#1 Mis à jour par Matthieu Decorde il y a plus de 4 ans
- Description mis à jour (diff)
- % réalisé changé de 0 à 80
#2 Mis à jour par Sebastien Jacquot il y a plus d'un an
- % réalisé changé de 80 à 100
#3 Mis à jour par Sebastien Jacquot il y a plus d'un an
- Statut changé de New à Closed