Bug #2736

RCP: 0.8.0, Back-to link broken for some binary 0.7.9 corpora loaded into TXM 0.8.0

Ajouté par Alexey Lavrentev il y a plus de 5 ans. Mis à jour il y a plus de 4 ans.

Statut:New Début:22/01/2020
Priorité:Normal Echéance:
Assigné à:- % réalisé:

0%

Catégorie:UI / Interaction Temps passé: -
Version cible:TXM 0.8.4

Description

TXM version: 0.8.0.202001161703 org.txm.rcp.app null
OS: Ubuntu 16.04

To reproduce the bug:

Load ORTOFON2ANNOT3 binary corpus from https://sharedocs.huma-num.fr/wl/?id=vjA7XIdgjw5YCpVVJ1QJIAxQNYmDpTld (created with TXM 0.7.9 XTZ module)!
Make a concordance of any word (e.g. "voda")
Double-click on a concordance line.

Diagnostics

The problem is due to the editions generated with XSLT. The txm:first-word-id meta is set to "w_0" for the first (title) page of every text. TXM 0.7.X first retrieved the text, then the page, so for 1-page editions the right page was displayed. TXM 0.8.0 looks directly for word identifiers.

Solution

Step 1

Change the XSL producing the editions to set the first-word-id to w_textId_0 for the first page.

Step 2

When loading a 0.7.9 corpus check the first-word-id of the first page and insert text identifier if necessary

Step 3

Work out a more robust back-to-text mechanism.

Historique

#1 Mis à jour par Alexey Lavrentev il y a plus de 5 ans

  • Description mis à jour (diff)
  • Version cible changé de TXM 0.8.1 à TXM 0.8.2

#2 Mis à jour par Alexey Lavrentev il y a plus de 5 ans

  • Description mis à jour (diff)

#3 Mis à jour par Matthieu Decorde il y a plus de 4 ans

  • Version cible changé de TXM 0.8.2 à TXM 0.8.4

Formats disponibles : Atom PDF