Opened 6 years ago

Last modified 6 years ago

#18585 closed defect

conditional tag: false positive — at Version 4

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

Description (last modified by skyper)

What steps will reproduce the problem?

  1. load attached file
  2. run validator

What is the expected result?

No warning

What happens instead?

Wrong syntax in duration:conditional key (1)

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

the warning gives no glue what could be wrong. I followed the wiki adding the conditional values:

<tag k='duration:conditional' v='00:15 @ (Mo-Fr 00:00-06:30,21:00-24:00; Sa 00:00-08:00,21:00-24:00; PH,Su 00:00-24:00)' />

Similar to #13651

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-01-20 01:16:42 +0100 (Mon, 20 Jan 2020)
Revision:15737
Build-Date:2020-01-20 02:30:59
URL:https://josm.openstreetmap.de/svn/trunk

Change History (5)

by skyper, 6 years ago

Attachment: conditional_warning.osm added

example file

comment:1 by Don-vip, 6 years ago

Description: modified (diff)

comment:2 by Don-vip, 6 years ago

Does it work without the PH clause?

in reply to:  2 comment:3 by skyper, 6 years ago

Replying to Don-vip:

Does it work without the PH clause?

No, does not change anything.

comment:4 by skyper, 6 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.