Modify

Opened 10 years ago

Closed 10 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:

Description

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 by Don-vip, 10 years ago

Milestone: 14.02

comment:2 by simon04, 10 years ago

Resolution: fixed
Status: newclosed

In 6769/josm:

fix #9631 - Validate population key - patch by naoliv

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.