tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAP5-1331) EnumValueEncoder should identify legal values when a non-matching string is passed to it for conversion
Date Fri, 23 Sep 2011 18:34:26 GMT

    [ https://issues.apache.org/jira/browse/TAP5-1331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113644#comment-13113644
] 

Hudson commented on TAP5-1331:
------------------------------

Integrated in tapestry-trunk-freestyle #537 (See [https://builds.apache.org/job/tapestry-trunk-freestyle/537/])
    TAP5-1331: EnumValueEncoder should identify legal values when a non-matching string is
passed to it for conversion

hlship : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1174941
Files : 
* /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/pages/PropertyEditBlocks.java
* /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/EnumValueEncoderFactory.java
* /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java
* /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/util/EnumValueEncoder.java
* /tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/PaletteDemo.java
* /tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/SelectZoneDemo.java


> EnumValueEncoder should identify legal values when a non-matching string is passed to
it for conversion
> -------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1331
>                 URL: https://issues.apache.org/jira/browse/TAP5-1331
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.2.3
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>             Fix For: 5.3
>
>
> java.lang.IllegalArgumentException
> No enum const class demo.pages.Index$Demo.xyz
>         * java.lang.Enum.valueOf(Enum.java:196)
>         * org.apache.tapestry5.util.EnumValueEncoder.toValue(EnumValueEncoder.java:46)
>         * org.apache.tapestry5.util.EnumValueEncoder.toValue(EnumValueEncoder.java:23)
>         * org.apache.tapestry5.internal.services.ContextValueEncoderImpl.toValue(ContextValueEncoderImpl.java:47)
>         * $ContextValueEncoder_12bf46d86ac.toValue($ContextValueEncoder_12bf46d86ac.java)
>         * org.apache.tapestry5.internal.URLEventContext.get(URLEventContext.java:43)
>         * org.apache.tapestry5.internal.services.ComponentEventImpl.coerceContext(ComponentEventImpl.java:83)
>         * org.apache.tapestry5.internal.transform.PageActivationContextWorker$1.handleEvent(PageActivationContextWorker.java:84)
>         * org.apache.tapestry5.internal.services.InternalClassTransformationImpl$11.advise(InternalClassTransformationImpl.java:2384)
>         * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86)
>         * demo.pages.Index.dispatchComponentEvent(Index.groovy) 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message