Bug #869

RCP: X.X, Import parameter editor, test if the source directory parameter is a directory

Added by Matthieu Decorde over 5 years ago. Updated about 5 years ago.

Status:Closed Start date:06/18/2014
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:Import Spent time: -
Target version:TXM 0.7.6

Description

The import parameter editor FileDialog (with Directory FLAG) can return a File (file path) if the user writes directly the file path in the text field.

This behavior is not compatible with the directory 'src' input parameter policy of all import modules.

Solution :
  1. Add a test on return of FileDialog
  2. If the File is not a directory, then
    1. write a message in the console: "Error: given corpus source input path is not a directory: FILEPATH"
    2. do cancel action

History

#1 Updated by Matthieu Decorde over 5 years ago

  • Subject changed from RCP: X.X, ImportParameter test if source File is a directory to RCP: X.X, ImportParameter, test if the source File is a directory
  • Description updated (diff)

#2 Updated by Serge Heiden over 5 years ago

  • Subject changed from RCP: X.X, ImportParameter, test if the source File is a directory to RCP: X.X, Import parameter editor, test if the source directory parameter is a directory
  • Description updated (diff)

#3 Updated by Matthieu Decorde over 5 years ago

  • % Done changed from 0 to 80

#4 Updated by Matthieu Decorde over 5 years ago

  • % Done changed from 80 to 90

#5 Updated by Matthieu Decorde about 5 years ago

  • % Done changed from 90 to 100

#6 Updated by Matthieu Decorde about 5 years ago

  • Status changed from New to Closed

Also available in: Atom PDF