Tapestry 5
  1. Tapestry 5
  2. TAP5-1310

The Enum ValueEncoder should be case insensitive

    Details

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

        Howard M. Lewis Ship created issue -
        Howard M. Lewis Ship made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Assignee Howard M. Lewis Ship [ hlship ]
        Fix Version/s 5.3 [ 12316024 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development