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?

  1. 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

  1. 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)

comment:1 by Rainero, 22 months ago

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).

comment:2 by Rainero, 22 months ago

Link to an example, where the validator complains: https://www.openstreetmap.org/way/4954496

comment:3 by skyper, 22 months ago

Component: CoreCore validator
Keywords: conditional added

See also #18831, #21163 and #21778.

Last edited 22 months ago by skyper (previous) (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to wribln.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


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