Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.3, 2.3.1, 2.3.2
    • Fix Version/s: 2.4
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      When defining a step that takes a List<Double>, inputs such as 1.0, 1.5, etc. work fine. But 0.0 throws a ClassCastException due to jbehave parsing it as a Long. It should be parsed as a double.

        Activity

        Hide
        James Ravn added a comment -

        This affects 2.3.2 as well.

        Show
        James Ravn added a comment - This affects 2.3.2 as well.
        Mauro Talevi made changes -
        Field Original Value New Value
        Fix Version/s 2.4 [ 15664 ]
        Affects Version/s 2.3.1 [ 15921 ]
        Assignee Mauro Talevi [ maurotalevi ]
        Affects Version/s 2.3.2 [ 15942 ]
        Hide
        Mauro Talevi added a comment -

        Refactored NumberListConverter to use NumberFormat only when argument Type is Number (i.e. not a sub-class) and to use NumberConverter for specific number types.

        Show
        Mauro Talevi added a comment - Refactored NumberListConverter to use NumberFormat only when argument Type is Number (i.e. not a sub-class) and to use NumberConverter for specific number types.
        Mauro Talevi made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]

          People

          • Assignee:
            Mauro Talevi
            Reporter:
            James Ravn
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: