#22761 closed defect (fixed)
Do not check if value of `ref` key exists in presets
Reported by: | Woazboat | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 23.02 |
Component: | Core validator | Version: | |
Keywords: | Cc: |
Description
The validator currently checks the value of ref=*
against presets and displays an information level hint "Presets do not contain property value - Value '<some value>' for key 'ref' not in presets".
The value of ref
could be anything (similar to name=*
), so it doesn't make sense to check it against a set of predefined values..
Attachments (0)
Change History (5)
comment:1 by , 2 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 2 years ago
Milestone: | → 23.02 |
---|
comment:3 by , 2 years ago
The error didn't appear in JOSM core by default because the internal preset doesn't include a combo for the key ref
, so it was only reproducible with an external preset.
comment:4 by , 2 years ago
ty
No idea which of my installed presets has that, but that would explain it
comment:5 by , 2 years ago
Replying to Woazboat:
The value of
ref
could be anything (similar toname=*
), so it doesn't make sense to check it against a set of predefined values.
Exactly, and as values are unique it does not make sense to offer values for both.
In 18676/josm: