Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1504

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development