Skip Menu |

This queue is for tickets about the Tk-Wizard CPAN distribution.

Report information
The Basics
Id: 30062
Status: resolved
Priority: 0/
Queue: Tk-Wizard

People
Owner: MTHURN [...] cpan.org
Requestors: MTHURN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.117
Fixed in: (no value)



Subject: fileSelectPage crashes if -directory doesn't exist
If the -directory argument to addFileSelectPage() does not exist on the fileystem, when the user clicks the Browse button, Tk::Wizard sends that -directory to getOpenFile() function as the -initialdir. Unfortunately, if -initialdir does not exist, getOpenFile dies, and Tk::Wizard dumps a stack trace to STDERR. Two possible solutions: 1. Just document this behavior (placing the onus on the programmer to supply a good -directory), or 2. make sure the -directory exists before setting the Browse button up for failure. -- - - Martin 'Kingpin' Thurn
done