Modify

Opened 17 months ago

Closed 17 months ago

Last modified 17 months ago

#15463 closed enhancement (fixed)

layer=0,5 gives "layer should be between -5 and 5"

Reported by: mkoniecz Owned by: team
Priority: normal Milestone: 17.10
Component: Core validator Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. create a way
  2. add layer=0,5
  3. run validator

What is the expected result?

"layer should be an integer between -5 and 5" or "layer should be an integer"

What happens instead?

"layer should be between -5 and 5" for value that is between -5 and 5, likely to confuse less experienced editors

Please provide any additional information below. Attach a screenshot if possible.

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-10-04 23:39:08 +0200 (Wed, 04 Oct 2017)
Build-Date:2017-10-05 06:36:07
Revision:12925
Relative:URL: ^/trunk

Identification: JOSM/1.5 (12925 en) Linux Ubuntu 16.04.3 LTS
Memory Usage: 739 MB / 871 MB (221 MB allocated, but free)
Java version: 1.8.0_144-b01, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: :0.0 1920x1080
Maximum Screen Size: 1920x1080
Dataset consistency test: No problems found

Plugins:
+ OpeningHoursEditor (33185)
+ buildings_tools (33004)
+ lakewalker (33161)
+ reverter (33572)
+ undelete (33480)

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/AdvertisingStyle&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/MaxspeedIcons&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/LessObtrusiveNodes&zip=1
+ ${HOME}/Documents/install_moje/josm_style_sidewalks/Styles_Sidewalks-style.mapcss
+ https://josm.openstreetmap.de/josmfile?page=Styles/NumberedWalkingNodeNetworks&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/HU-HighlightHikingTrailSigns&zip=1
+ ${HOME}/Desktop/tmp/josmfile
- https://josm.openstreetmap.de/josmfile?page=Styles/Fixme&zip=1

Validator rules:
+ ${HOME}/Documents/install_moje/josm_validator/josm.validator.mapcss

Last errors/warnings:
- W: Failed to load Mappaint styles from '${HOME}/Desktop/tmp/josmfile'. Exception was: java.io.FileNotFoundException: ${HOME}/Desktop/tmp/josmfile (No such file or directory)
- E: java.io.FileNotFoundException: ${HOME}/Desktop/tmp/josmfile (No such file or directory)
- W: Initializing map style ${HOME}/Desktop/tmp/josmfile completed in 5 ms (1 errors, 0 warnings)
- W: No configuration settings found.  Using hardcoded default values for all pools.
- W: Failed to load Mappaint styles from '${HOME}/Desktop/tmp/josmfile'. Exception was: java.io.FileNotFoundException: ${HOME}/Desktop/tmp/josmfile (No such file or directory)
- E: java.io.FileNotFoundException: ${HOME}/Desktop/tmp/josmfile (No such file or directory)
- W: Initializing map style ${HOME}/Desktop/tmp/josmfile completed in 13 ms (1 errors, 0 warnings)

Attachments (0)

Change History (2)

comment:1 Changed 17 months ago by Klumbumbus

Resolution: fixed
Status: newclosed

In 13027/josm:

fix #15463 - improve layer validator messages

comment:2 Changed 17 months ago by Klumbumbus

Milestone: 17.10
Type: defectenhancement

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.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.