Bug #869

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

Ajouté par Matthieu Decorde il y a plus de 11 ans. Mis à jour il y a environ 11 ans.

Statut:Closed Début:18/06/2014
Priorité:Normal Echéance:
Assigné à:- % réalisé:

100%

Catégorie:Import Temps passé: -
Version cible: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

Historique

#1 Mis à jour par Matthieu Decorde il y a plus de 11 ans

  • Sujet changé de RCP: X.X, ImportParameter test if source File is a directory à RCP: X.X, ImportParameter, test if the source File is a directory
  • Description mis à jour (diff)

#2 Mis à jour par Serge Heiden il y a plus de 11 ans

  • Sujet changé de RCP: X.X, ImportParameter, test if the source File is a directory à RCP: X.X, Import parameter editor, test if the source directory parameter is a directory
  • Description mis à jour (diff)

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

  • % réalisé changé de 0 à 80

#4 Mis à jour par Matthieu Decorde il y a environ 11 ans

  • % réalisé changé de 80 à 90

#5 Mis à jour par Matthieu Decorde il y a environ 11 ans

  • % réalisé changé de 90 à 100

#6 Mis à jour par Matthieu Decorde il y a environ 11 ans

  • Statut changé de New à Closed

Formats disponibles : Atom PDF