Opened 4 years ago

#13651 new defect

conditional tag: False warning with complex opening_hours values in combination with AND

Reported by: skyper Owned by: team
Priority: normal Milestone:
Component: Core validator Version: latest
Keywords: template_report conditional tag Cc:


What steps will reproduce the problem?

I have a quite complex access restriction downtown with special times for special transport types. According to Conditional_restrictions#Condition I need an extra pair of brackets to group an opening_hours value including a semicolon but validator does not like it:

vehicle:conditional=delivery @ ((05:00-10:30,19:00-22:00; Sa 05:00-09:30,19:00-22:00) AND weight<7.5)

I get Error in vehicle:conditional value: Does not match pattern 'restriction value @ condition'.

Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-09-16 13:38:58 +0200 (Fri, 16 Sep 2016)
Build-Date:2016-09-17 01:40:40
Relative:URL: ^/trunk

Identification: JOSM/1.5 (11005 en) Linux Debian GNU/Linux 8.5 (jessie)
Memory Usage: 549 MB / 882 MB (383 MB allocated, but free)
Java version: 1.8.0_102-8u102-b14.1-1~bpo8+1-b14, Oracle Corporation, OpenJDK 64-Bit Server VM
Java package: openjdk-8-jre:amd64-8u102-b14.1-1~bpo8+1
Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-9
VM arguments: [-Djosm.home=<josm.pref>]
Program arguments: [--language=en]
Dataset consistency test: No problems found

+ reverter (32796)
+ undelete
+ utilsplugin2 (32815)

Last errors/warnings:
- W: Invalid jar file ''<josm.pref>/plugins/'' (exists: false, canRead: false)
- W: Invalid jar file ''<josm.pref>/plugins/'' (exists: false, canRead: false)
- W: Invalid jar file ''<josm.pref>/plugins/'' (exists: false, canRead: false)

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to skyper
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment

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

Note: See TracTickets for help on using tickets.