Futsch1/asn1editor

[Plugins] File and dir dialogs - Fail

Closed this issue · 1 comments

Steps to Reproduce:

Step Action Expected Status
1 Start the application with the "-test" argument

Open "Test->FileDialog"

Select an existing file to open

Select an existing file to save and overwrite
An open file dialog is shown with the caption "Test open file"

Selected file is shown in the tool's status bar

A save file dialog is shown with the caption "Test save file"

A popup is shown asking to overwrite the file

Selected file is shown in the tool's status bar
Pass
2 Open "Test 2->DirDialog" and select a directory

Open "Test->DirDialog" and select a different directory with a different parent directory
A directory select dialog is shown with the caption "Test 2"

The selected directory is shown in the tool's status bar

A directory select dialog is shown with the caption "Test"

The selected directory is shown in the tool's status bar
Fail

Error:

When selecting a directory, the application crashes:
File "C:\Users\Flo\Documents\Programmieren\asn1editor\asn1editor\wxPython\FilePickerHandler.py", line 26, in on_menu_click
filenames = file_dialog.GetPaths()
AttributeError: 'DirDialog' object has no attribute 'GetPaths'

https://futsch1.testquality.com defect D3. Do not remove or edit.