Bug #869
Mis à jour par Serge Heiden il y a plus de 11 ans
The import parameter ImportParameter editor FileDialog (with Directory FLAG) can return a File (file path) if the user writes directly write the file path in the text field. manually.
This behavior is not compatible with the directory 'src' input parameter policy of all import modules.
Solution :
# Add a test on return of FileDialog after the File selection is done
# If the File is not a directory, then :
## #* stop the editor fields initialization
#* write a message in the console: console : "Error: given corpus source input path the selected file is not a directory: FILEPATH"
## do cancel action
This behavior is not compatible with the directory 'src' input parameter policy of all import modules.
Solution :
# Add a test on return of FileDialog after the File selection is done
# If the File is not a directory, then :
## #* stop the editor fields initialization
#* write a message in the console: console : "Error: given corpus source input path the selected file is not a directory: FILEPATH"
## do cancel action