EnsureDirectoryExists() does only work with a path deepth of 1.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Medium
|
Unassigned |
Bug Description
The EnsureDirectory
But EnsureDirectory
This leads to problems, if e.g. a new player (clean install, no data in ~/.widelands) joins an online game with a self created/downloaded map saved in a subdirectory of the ~/.widelands/maps directory.
> XYZ has left the game (Something went wrong: [c:/data/
It seems like a good idea, to fix EnsureDirectory
Changed in widelands: | |
assignee: | nobody → Borim (borim) |
status: | Confirmed → In Progress |
I have a problem to trigger this bug. Is the bug already fixed?
I wrote a little testprogramm, so I can verify the function faster. The program is attached.
With this test program I can create directories of any depth (e.g.: dirtest/sub/sub2). The whole path does not exists before the test is run and afterwards the complete path exists.