Feature #2465

RCP: 0.7.9, Management of corrupted binary corpora

Added by Alexey Lavrentev about 1 year ago. Updated about 1 year ago.

Status:New Start date:10/30/2018
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Corpus Spent time: -
Target version:-

Description

TXM should produce a comprehensible error message and abort loading if a binary corpus file does not correspond to the specified corpus.

As of TXM 0.7.9, when loading a binary corpus where the archived files are not wrapped into a directory bearing the corpus names results in destruction of all the previously loaded or imported corpora (because the content of "corpora" directory is purged ans the new corpus files are written directly into that directory.

The warning displayed before loading just says "The corpus already exists. Do you want to replace it?" (the corpus name is empty)


Related issues

related to Task #331: GWT: x.x, Error messages on corpus load New 09/11/2013
related to Bug #974: TBX: 0.7.6, corpus load abort causes corrupted corpus New 08/08/2014

History

#1 Updated by Serge Heiden about 1 year ago

See also Bug #974 TBX: 0.7.6, corpus load abort causes corrupted corpus ticket solution.

Also available in: Atom PDF