Activity log for bug #1560454

Date Who What changed Old value New value Message
2016-03-22 11:40:22 kaputtnik bug added bug
2016-03-22 12:10:59 GunChleoc tags editor
2016-03-28 22:31:00 kaputtnik summary Editor: saving maps removes shipped map file Editor: saving maps deletes shipped map file
2016-03-28 22:33:55 kaputtnik description This happens only if a user have appropriate rights on the folder where the maps are stored. So it is not valid for a normal widelands installation (at least on linux, on windows i couldn't check this) Also only when saving with the same name. Steps to reproduce: Make sure not to have saved maps in ~/.widelands/maps , especially maps named like shipped maps Start widelands from one of your bzr branches (where you have read/write permissions) Start editor and load a shipped map (i used "Glacier_Lake") Open Save window and give the map the exact same filename Press "Save" Result: 1. A Window pops up "The File already exists" -> This is strange, because normally the folder ~/.widelands/maps is used and not the maps folder of the branch where you started widelands 2. If you save nevertheless, the map from your branch/data/maps folder gets removed and the new map is stored in ~/.widelands/maps If you use the --datadir option the file from that map folder get removed. I have tested this with a normal installation on linux and here all is fine. I believe because a normal user haven't the rights to delete a file outsite his home folder. I mark it as "High", feel free to set it to medium because it affects only folders where read/write permission is given. This happens only if a user have appropriate rights on the folder where the maps are stored. So it is not valid for a normal widelands installation (at least on linux, on windows i couldn't check this) Also only when saving with the same name. Steps to reproduce: Make sure not to have saved maps in ~/.widelands/maps , especially maps named like shipped maps Start widelands from one of your bzr branches (where you have read/write permissions) Start editor and load a shipped map (i used "Glacier_Lake") Open Save window and give the map the exact same filename Press "Save" Result: 1. A Window pops up "The File already exists" -> This is strange, because normally the folder ~/.widelands/maps is used and not the maps folder of the branch where you started widelands 2. If you save nevertheless, the map from your branch/data/maps folder gets deleted and the new map is stored in ~/.widelands/maps If you use the --datadir option the file from that map folder get deleted. I have tested this with a normal installation on linux and here all is fine. I believe because a normal user haven't the rights to delete a file outsite his home folder. I mark it as "High", feel free to set it to medium because it affects only folders where read/write permission is given.
2016-03-29 06:27:57 GunChleoc widelands: milestone build19-rc1
2016-05-11 06:11:29 GunChleoc widelands: status New Confirmed
2016-05-15 08:45:13 GunChleoc widelands: status Confirmed In Progress
2016-05-15 08:45:14 GunChleoc widelands: assignee GunChleoc (gunchleoc)
2016-05-15 09:11:08 GunChleoc branch linked lp:~widelands-dev/widelands/bug-1560454-mapdir
2016-06-07 09:08:33 GunChleoc widelands: status In Progress Fix Committed
2016-06-07 09:08:35 GunChleoc widelands: assignee GunChleoc (gunchleoc)
2016-10-25 06:56:18 GunChleoc widelands: status Fix Committed Fix Released