NumberFormatException on DecimalTextField with value NaN

Description

This issue appears to have been introduced by GEOS-7621.

When a DecimalTextField or similar is passed the value NaN, then validated, a NumberFormatException is thrown:

This occurs because the wicket AbstractNumberConverter uses BigDecimals, which cannot handle NaN or +/- infinity.

Environment

None

Activity

Show:
Andrea Aime
February 15, 2017, 11:47 AM

Mass closing all resolved issues not modified in the last 4 weeks

Torben Barsballe
August 4, 2016, 11:59 PM
Fixed

Assignee

Torben Barsballe

Reporter

Torben Barsballe

Fix versions

Affects versions