Tapestry
  1. Tapestry
  2. TAPESTRY-1504

When a Map is converted to a SelectModel, the keys are converted unnecessarily to strings

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0.5
    • Component/s: tapestry-ioc
    • Labels:
      None

      Description

      Currently, there's code that turns the key values into strings (null becomes the empty string). This is not necessary, the Select component has no problems with nulls and objects) and, worse, screws up the check for the currently selected value (the string "123" never equals the Integer 123).

        Activity

        Howard M. Lewis Ship created issue -
        Howard M. Lewis Ship made changes -
        Field Original Value New Value
        Assignee Howard M. Lewis Ship [ hlship ]
        Howard M. Lewis Ship made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Howard M. Lewis Ship made changes -
        Status In Progress [ 3 ] Closed [ 6 ]
        Fix Version/s 5.0.5 [ 12312477 ]
        Resolution Fixed [ 1 ]
        Mark Thomas made changes -
        Workflow jira [ 12404811 ] Default workflow, editable Closed status [ 12568157 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12568157 ] jira [ 12591242 ]

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Howard M. Lewis Ship
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development