Closed Bug 337257 Opened 18 years ago Closed 18 years ago

Wizard doesn't allow a non-existing path for config location

Categories

(Other Applications :: CCK, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: whimboo, Assigned: mkaply)

Details

Attachments

(1 file)

When I create a fresh configuration I can't specify a non-existing path for the configuration files. Normally I directly enter the path info into the text field without using the folder browser. Additionally new configurations will always be stored IMO into new folders. So if the path doesn't exist, it should be created automatically.

Tested with Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3 and CCK 1.0
I want to fix this one, but it is going to add two messages to my translation, so I might have to wait - checking.
Attached patch Fix for problemSplinter Review
Add code to create directory if it doesn't exist.
Michael, does this code also create multi level directories? Perhaps I could specify a path which is deeper than one level and all directories above don't exist.
(In reply to comment #3)
> Michael, does this code also create multi level directories? Perhaps I could
> specify a path which is deeper than one level and all directories above don't
> exist.
> 

Yep, it does. I tested that :)
(In reply to comment #4)
> Yep, it does. I tested that :)

Nice, that you can do that with only one call to the create function. In which version the last bugs (bug 337404 and this) will be fixed? Thank you.

This fix got checked in as part of another fix.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: