Editor fails on save with zip filesystem
Bug #1548932 reported by
GunChleoc
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
High
|
Unassigned |
Bug Description
In Windows, the editor fails on the second save for a zip save:
If you start the editor and save the map "abc" and "abc" already exists it gets overwritten correctly.
But you can't save again "abc" without restarting the editor (or save once under another name).
So the editor itself does put also a lock on the save file after the first save.
Related branches
lp:~widelands-dev/widelands/bug-1548932-editor-save-zip
On hold
for merging
into
lp:widelands
- Widelands Developers: Pending requested
-
Diff: 170 lines (+54/-11) (has conflicts)4 files modifiedsrc/editor/ui_menus/editor_main_menu_save_map.cc (+28/-8)
src/editor/ui_menus/editor_main_menu_save_map.h (+1/-1)
src/logic/map.cc (+18/-1)
src/logic/map.h (+7/-1)
lp:~widelands-dev/widelands/bug-1548932-editor-save-zip-2
- Tino: Needs Fixing
-
Diff: 52 lines (+8/-1)4 files modifiedsrc/editor/ui_menus/main_menu_save_map.cc (+1/-0)
src/io/filesystem/disk_filesystem.cc (+1/-1)
src/logic/map.cc (+5/-0)
src/logic/map.h (+1/-0)
Changed in widelands: | |
milestone: | none → build19-rc1 |
tags: | added: windows |
Changed in widelands: | |
assignee: | Tino (tino79) → nobody |
Changed in widelands: | |
status: | Confirmed → Fix Committed |
Changed in widelands: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Widelands does not use filelocks imho. I cannot remember that they have been in the codebase ever.
> Am 23.02.2016 um 19:04 schrieb GunChleoc <email address hidden>: /bugs.launchpad .net/bugs/ 1548932 /bugs.launchpad .net/widelands/ +bug/1548932/ +subscriptions
>
> Public bug reported:
>
> In Windows, the editor fails on the second save for a zip save:
> If you start the editor and save the map "abc" and "abc" already exists it gets overwritten correctly.
> But you can't save again "abc" without restarting the editor (or save once under another name).
>
> So the editor itself does put also a lock on the save file after the
> first save.
>
> ** Affects: widelands
> Importance: High
> Status: Confirmed
>
>
> ** Tags: editor windows
>
> ** Changed in: widelands
> Milestone: None => build19-rc1
>
> ** Tags added: windows
>
> --
> You received this bug notification because you are subscribed to
> widelands.
> https:/
>
> Title:
> Editor fails on save with zip filesystem
>
> Status in widelands:
> Confirmed
>
> Bug description:
> In Windows, the editor fails on the second save for a zip save:
> If you start the editor and save the map "abc" and "abc" already exists it gets overwritten correctly.
> But you can't save again "abc" without restarting the editor (or save once under another name).
>
> So the editor itself does put also a lock on the save file after the
> first save.
>
> To manage notifications about this bug go to:
> https:/