Opened 7 years ago
Closed 7 years ago
#15516 closed defect (irreproducible)
A bug with style updates
Reported by: | mpasha | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core mappaint | Version: | latest |
Keywords: | template_report | Cc: |
Description
The new version of the style does not completely replace the settings of the previous version of the drawing style.
In the attached file - the first version of the style to reproduce the error. If you place it in the folder *\config\cache\ then when you install the same style (later version) through the standard program menu, an error occurs.
If I clean the cache folder and install this style, there is no error.
My solution to this problem is to updating all active styles (with clearing the cache of these styles) when starting the program, similar to installing updates for plug-ins.
P.S.: it's style "New basic style".
URL:http://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2017-11-03 19:39:58 +0100 (Fri, 03 Nov 2017) Build-Date:2017-11-04 02:32:52 Revision:13075 Relative:URL: ^/trunk Identification: JOSM/1.5 (13075 ru) Windows 10 64-Bit OS Build number: Windows 10 Enterprise 2016 LTSB 1607 (14393) Memory Usage: 380 MB / 989 MB (97 MB allocated, but free) Java version: 1.8.0_131-b11, Oracle Corporation, Java HotSpot(TM) Client VM Screen: \Display0 1366x768 Maximum Screen Size: 1366x768 VM arguments: [-Djosm.home=<josm.pref>] Dataset consistency test: No problems found Plugins: + BuildingGeneralization (16) + CADTools (1007) + DirectDownload (33160) + FastDraw (33731) + FixAddresses (33718) + HouseNumberTaggingTool (33714) + ImproveWay (12) + Mapillary (v1.5.8) + OpeningHoursEditor (33185) + ShapeTools (1230) + alignways (33182) + apache-commons (33668) + apache-http (32699) + buildings_tools (33735) + continuosDownload (64) + contourmerge (1032) + download_along (33710) + editgpx (33004) + ejml (32680) + geotools (33380) + imagery_offset_db (33547) + jogl (1.1.0) + jts (32699) + log4j (32699) + merge-overlap (33436) + namemanager (33306) + reltoolbox (33708) + reverter (33572) + tag2link (33382) + tageditor (33579) + terracer (33608) + todo (30303) + tofix (1505422613) + utilsplugin2 (33742) Tagging presets: + https://raw.githubusercontent.com/ruosm-presets/literan-moscow/master/russian_shops.xml + https://josm.openstreetmap.de/josmfile?page=Presets/Payment_Method_RU&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/NewTags&zip=1 Map paint styles: - https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/NewHighwayColors&zip=1 - <josm.pref>\styles\indoor.mapcss - D:\Programs\JOSM_Portable\Map Styles\Test\potlatch2.mapcss - D:\Programs\JOSM_Portable\Map Styles\elemstyles1.mapcss - D:\Programs\JOSM_Portable\Map Styles\New Style by Pasha\New Style by Pasha.mapcss - D:\Programs\JOSM_Portable\Map Styles\Ones test\Ones test.mapcss - http://mijndev.openstreetmap.nl/~allroads/JOSM/Styles/Road_Extended_JOSM_style.zip - %UserProfile%\Downloads\Road_Extended_JOSM_style\Road_Extended_JOSM_style.mapcss - D:\Programs\JOSM_Portable\Map Styles\Test\lane and road attributes.mapcss + https://josm.openstreetmap.de/josmfile?page=Styles/New%20basic%20style&zip=1 Validator rules: + <josm.pref>\validator\indoorhelper.validator.mapcss Last errors/warnings: - W: Unable to convert property fill-color to type class java.awt.Color: found # of type class java.lang.String! - W: Unable to convert property fill-color to type class java.awt.Color: found # of type class java.lang.String! - W: Unable to convert property color to type class java.awt.Color: found of type class java.lang.String! - W: Unable to convert property fill-color to type class java.awt.Color: found # of type class java.lang.String! - W: Unable to convert property fill-color to type class java.awt.Color: found # of type class java.lang.String! - W: Unable to convert property color to type class java.awt.Color: found of type class java.lang.String! - W: Unable to convert property fill-color to type class java.awt.Color: found # of type class java.lang.String! - W: Unable to convert property fill-color to type class java.awt.Color: found # of type class java.lang.String! - W: Unable to convert property color to type class java.awt.Color: found of type class java.lang.String! - W: Unable to convert property fill-color to type class java.awt.Color: found # of type class java.lang.String!
Attachments (1)
Change History (5)
by , 7 years ago
follow-up: 2 comment:1 by , 7 years ago
comment:2 by , 7 years ago
Replying to Don-vip:
What error message do you have exactly?
There are no messages. Error in displaying the style - no texture is visible, that is, they are not read from the attached files (you can look at landuse=farmland landuse=farmland natural=wood).
comment:3 by , 7 years ago
Component: | Core → Core mappaint |
---|
comment:4 by , 7 years ago
Resolution: | → irreproducible |
---|---|
Status: | new → closed |
Replying to mpasha:
I tried this and got no error. What error message do you have exactly?