Modify

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#8614 closed defect (fixed)

Mapcss in zip-file doesn't work if there's xml-files also in there

Reported by: Daeron Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: mappaint Cc:

Description

If a zip-file containing a mapcss-style and an xml-file (eg. a preset) is entered in the mappaint preferences, it will not load, as it tries to open the xml-file in the zip as a style.

This can be seen eg. with following file: http://www.cs.helsinki.fi/u/ijjarvin/osm/fisigns.zip

Attached patch changes the order xml-style and mapcss-style is tried when loading a zip-file, resulting in correct behaviour of loading the mapcss-file when the zip-file contains also xml-file(s).

Attachments (1)

mapcss_and_preset_in_zip.patch (1.1 KB ) - added by Daeron 11 years ago.

Download all attachments as: .zip

Change History (3)

by Daeron, 11 years ago

comment:1 by Don-vip, 11 years ago

Resolution: fixed
Status: newclosed

In 5875/josm:

fix #8614 - Mapcss in zip-file doesn't work if there's xml-files also in there (patch by Daeron)

comment:2 by Don-vip, 11 years ago

Thanks for the patch !

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.