Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1310

The Enum ValueEncoder should be case insensitive

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.2.2
    • Fix Version/s: 5.3
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      Currently, the Enum ValueEncoder implementation converts the Enum instance to its name (which is typically ALL_UPPER_CASE) and then converts that string back to an Enum instance.

      It would be better and more consistent with the rest of Tapestry if the name was lower cased (inside toClient() ), and was case insensitive (inside toValue()).

        Activity

        Hide
        hlship Howard M. Lewis Ship added a comment -

        Fixed as part of TAP5-1331.

        Show
        hlship Howard M. Lewis Ship added a comment - Fixed as part of TAP5-1331 .

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development