You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Marat Radchenko (JIRA)" <ji...@apache.org> on 2009/12/11 12:29:18 UTC
[jira] Updated: (WICKET-2609) EnumChoiceRenderer misbehaves with
anonymous enum classes
[ https://issues.apache.org/jira/browse/WICKET-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marat Radchenko updated WICKET-2609:
------------------------------------
Attachment: EnumChoiceRendererTest.java
> EnumChoiceRenderer misbehaves with anonymous enum classes
> ---------------------------------------------------------
>
> Key: WICKET-2609
> URL: https://issues.apache.org/jira/browse/WICKET-2609
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4.4
> Reporter: Marat Radchenko
> Attachments: EnumChoiceRendererTest.java
>
>
> Please find attached testcase reproducing the problem.
> Proper fix is to do
> return object.getDeclaringClass().getSimpleName() + "." + object.name()
> instead of
> return object.getClass().getSimpleName() + "." + object.name()
> in EnumChoiceRenderer.resourceKey
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.