Bug #974

Updated by Matthieu Decorde about 5 years ago

If a corpus load is aborted, the corpus already existing or not, the corpus keeps present in the corpus view but "is not ready" in the messages bar and is not useable.

Solution:
* if corpus pre-exists then move binary corpus directory (backup)
** if load process is aborted then
*** if corpus pre-exists
**** then move binary corpus directory back (restore)
**** else remove the corpus from the corpus view

After first tests, we may need to modify cqplib to force reload the corpus. More tests to do...

Back