Modify ↓
Opened 22 months ago
Last modified 22 months ago
#22714 new defect
disabled:conditional=designated @ (Mo-Fr 09:00-20:00;Sa 09:00-18:00) not valid?
Reported by: | wribln | Owned by: | team |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Core validator | Version: | |
Keywords: | template_report conditional | Cc: |
Description
What steps will reproduce the problem?
- for an area set disabled:conditional=designated @ (Mo-Fr 09:00-20:00;Sa 09:00-18:00)
according to https://wiki.openstreetmap.org/wiki/Street_parking
- run data validation
What is the expected result?
The above disabled:conditional should be accepted as valid.
What happens instead?
validation error: Wrong syntax in disabled:conditional key (1)
Please provide any additional information below. Attach a screenshot if possible.
note: access:conditional=no @ (Mo-Fr 09:00-20:00;Sa 09:00-18:00) IS valid.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2023-01-29 21:53:34 +0100 (Sun, 29 Jan 2023) Revision:18646 Build-Date:2023-01-30 02:30:56 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (18646 en) Linux openSUSE Leap 15.4 Memory Usage: 1020 MB / 8010 MB (197 MB allocated, but free) Java version: 11.0.17+0-suse-150000.3.86.2-x8664, Oracle Corporation, OpenJDK 64-Bit Server VM Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel Screen: :0.0 1920×1200 (scaling 1.00×1.00) Maximum Screen Size: 1920×1200 Best cursor sizes: 16×16→16×16, 32×32→32×32 Environment variable LANG: en_DE.UTF-8 System property file.encoding: UTF-8 System property sun.jnu.encoding: UTF-8 Locale info: en_DE Numbers with default locale: 1234567890 -> 1234567890 Desktop environment: KDE Java package: java-11-openjdk:x86_64-11.0.17.0 apache-commons-logging: apache-commons-logging:noarch-1.2 Dataset consistency test: No problems found
Attachments (3)
Change History (6)
by , 22 months ago
Attachment: | Screenshot_conditional_syntax_JOSM-Validator_01.png added |
---|
by , 22 months ago
Attachment: | Screenshot_conditional_syntax_JOSM-Validator_02.png added |
---|
by , 22 months ago
Attachment: | Screenshot_conditional_syntax_JOSM-Validator_03.png added |
---|
comment:1 by , 22 months ago
comment:2 by , 22 months ago
Link to an example, where the validator complains: https://www.openstreetmap.org/way/4954496
comment:3 by , 22 months ago
Component: | Core → Core validator |
---|---|
Keywords: | conditional added |
Note:
See TracTickets
for help on using tickets.
Same issue is with parking:<whatever>:conditional. The validator indicates a wrong syntax in the conditional value, but it is correct. See attached screenshots (JOSM 18646).