Opened 9 years ago

Closed 9 years ago

#9631 closed enhancement (fixed)

Validate population key

Reported by: naoliv Owned by: team
Priority: normal Milestone: 14.02
Component: Core validator Version:
Keywords: Cc:


It seems that JOSM doesn't validate the population key. Anything can be entered as value and no warning is given.
JOSM should accept only integer numbers as value.

Something like this, maybe:

*[population !~ /^[0-9]+$/ ] {
        throwWarning: tr("{0} must be an integer value", "{0.key}");

Attachments (0)

Change History (2)

comment:1 Changed 9 years ago by Don-vip

Milestone: 14.02

comment:2 Changed 9 years ago by simon04

Resolution: fixed
Status: newclosed

In 6769/josm:

fix #9631 - Validate population key - patch by naoliv

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.