Bug #2495

RCP: 0.8.0, empty RCP project directories/files when canceling an import

Added by Sebastien Jacquot over 2 years ago. Updated 3 months ago.

Status:New Start date:01/30/2019
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Import Spent time: -
Target version:TXM 0.8.3 Estimated time:20.00 hours

Description

For each import, when selecting the source folder and clicking on "Finish", an RCP project and directory is created. If the import is not run, the files remains in TXMHome directory. Idem we change the name of the project most times in the import form.

Solution

When the import editor is closed and the corpus project has not been saved or has not been imported -> delete the empty RCP project.

Detecting the not saved status might be tricky in the current implementation of TXMResults (there is no "I'm new and I've never been computed or saved once variable/method)

History

#1 Updated by Matthieu Decorde over 2 years ago

  • Subject changed from Oprhans RCP project directories/files when canceling an import to RCP: 0.8.0, Orphans RCP project directories/files when canceling an import
  • Target version changed from TXM 0.8.0 to TXM 0.8.2

#2 Updated by Matthieu Decorde 3 months ago

  • Subject changed from RCP: 0.8.0, Orphans RCP project directories/files when canceling an import to RCP: 0.8.0, empty RCP project directories/files when canceling an import
  • Description updated (diff)
  • Target version changed from TXM 0.8.2 to TXM 0.8.3
  • Estimated time set to 20.00

Also available in: Atom PDF