Modify

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#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 Klumbumbus, 2 years ago

Resolution: fixed
Status: newclosed

In 18676/josm:

fix #22761 - Don't warn about "Value '<some value>' for key 'ref' not in presets"

comment:2 by Klumbumbus, 2 years ago

Milestone: 23.02

comment:3 by Klumbumbus, 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 Woazboat, 2 years ago

ty
No idea which of my installed presets has that, but that would explain it

in reply to:  description comment:5 by skyper, 2 years ago

Replying to Woazboat:

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.

Exactly, and as values are unique it does not make sense to offer values for both.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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