You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2013/12/04 01:37:35 UTC

[jira] [Created] (ISIS-621) Wicket viewer's parsing of numbers silently ignores invalidly formatted numbers

Dan Haywood created ISIS-621:
--------------------------------

             Summary: Wicket viewer's parsing of numbers silently ignores invalidly formatted numbers
                 Key: ISIS-621
                 URL: https://issues.apache.org/jira/browse/ISIS-621
             Project: Isis
          Issue Type: Bug
          Components: Viewer: Wicket
    Affects Versions: viewer-wicket-1.3.1
            Reporter: Dan Haywood
            Assignee: Dan Haywood
            Priority: Minor
             Fix For: viewer-wicket-1.4.0


Noticed with BigDecimal (but also an issue for other numeric types)...

"When a field is mandatory you can enter anything. There is no check if an actual  value is  number being  entered.

As an example: when a user enters 100,50 it is not being parsed as number but no feedback is returned ."

In fact, looking at the code, the Wicket framework provides a bunch of IConverter implementations, which we should use.  (Strangely, there is none for BigInteger, but can subclass AbstractIntegerConverter).



--
This message was sent by Atlassian JIRA
(v6.1#6144)