Modify

Opened 12 months ago

Closed 12 months ago

Last modified 12 months ago

#21026 closed enhancement (fixed)

Better check for negative numeric values like width, height, ...

Reported by: mdk Owned by: team
Priority: normal Milestone: 21.06
Component: Core validator Version: latest
Keywords: Cc:

Description

What steps will reproduce the problem?

  • add width=-3 to a waterway=stream

OR

  • add height=-4 to a building=yes

Validate.

What is the expected result?

A warning that negative values are not allowed.

What happens instead?

An unspecific warning:
unusual value of width: meters is default: point is decimal separator: if units, put space than unit

Please provide any additional information below. Attach a screenshot if possible.

In general numeric tags which didn't support negative values should be checked for negative values.

Follow up of #14532

Attachments (0)

Change History (5)

comment:1 Changed 12 months ago by Klumbumbus

Resolution: fixed
Status: newclosed

In 17934/josm:

Fix #21026, see #14532 - Better warnings for negative numeric values

comment:2 Changed 12 months ago by Klumbumbus

Milestone: 21.06

comment:3 Changed 12 months ago by Klumbumbus

In 17938/josm:

See #21026, see #14532 - Fix unit test

comment:4 Changed 12 months ago by Klumbumbus

In 17939/josm:

See #21026, see #14532 - Fix unit test

comment:5 Changed 12 months ago by Klumbumbus

In 17955/josm:

see #21026, see #14532 - Fix i18n

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.

Add Comment


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

 
Note: See TracTickets for help on using tickets.