Modify ↓
Opened 4 years ago
Last modified 3 years ago
#19519 new defect
property value for multiselect always produce false positive with multiple values
Reported by: | skyper | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core validator | Version: | |
Keywords: | template_report multiselect property value | Cc: |
Description
What steps will reproduce the problem?
- Have a tag with
<multiselect />
in preset - add multiple values
- run validator
What is the expected result?
No informal warning
What happens instead?
Presets do not contain property value
Please provide any additional information below. Attach a screenshot if possible.
For <multiselect >/
the whole list needs to be taken into account.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2020-07-09 17:42:41 +0200 (Thu, 09 Jul 2020) Revision:16740 Build-Date:2020-07-10 01:30:51 URL:https://josm.openstreetmap.de/svn/trunk
Attachments (0)
Change History (3)
comment:1 by , 4 years ago
follow-up: 3 comment:2 by , 4 years ago
Possible fix: split multiple values before testing (using OsmUtils#splitMultipleValues
)
comment:3 by , 3 years ago
Replying to simon04:
Possible fix: split multiple values before testing (using
OsmUtils#splitMultipleValues
)
+1
Note:
See TracTickets
for help on using tickets.
In 16788/josm: