MyFaces Trinidad
  1. MyFaces Trinidad
  2. TRINIDAD-1227

Double/Long Range Validators require value is instanceof java_lang_Number

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.9-core, 1.2.9-core
    • Fix Version/s: 1.2.10-core, 1.0.10-core
    • Component/s: Components
    • Labels:
      None

      Description

      Currently the range validators want that the passed in value is instanceOf java.lang.Number. However, not all "number" implement that type.
      To be more nice to non java_lang_Number Numbers... we should try to parse the string representation (bogusNumber.toString()).

        Activity

        Matthias Weßendorf created issue -
        Matthias Weßendorf made changes -
        Field Original Value New Value
        Resolution Fixed [ 1 ]
        Fix Version/s 1.0.10-core [ 12313343 ]
        Fix Version/s 1.2.10-core [ 12313342 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Matthias Weßendorf made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Matthias Weßendorf
            Reporter:
            Matthias Weßendorf
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development