You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Jochen Kemnade (JIRA)" <ji...@apache.org> on 2016/09/22 09:35:20 UTC
[jira] [Created] (TAP5-2565) Enum <-> String coercion is not
symmetric
Jochen Kemnade created TAP5-2565:
------------------------------------
Summary: Enum <-> String coercion is not symmetric
Key: TAP5-2565
URL: https://issues.apache.org/jira/browse/TAP5-2565
Project: Tapestry 5
Issue Type: Bug
Affects Versions: 5.4.1
Reporter: Jochen Kemnade
See TAP5-2496 and TAP5-1331.
If an enum class overrides {{toString()}}, the coercion is not symmetric because Enum->String uses {{toString()}} and String->Enum uses {{name()}}.
This breaks {{<t:select />}} when no encoder is specified.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)