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

Howard M. Lewis Ship commented on TAP5-1430:
--------------------------------------------

At the very least, accomplishing this would require a change to some public 
APIs, not to mention the fact that the information needed to detect this is 
somewhat scattered around the place. Maybe a hacked solution is possible inside 
the worker for the @Parameter annotation.

> prevent property binding to itself
> ----------------------------------
>
>                 Key: TAP5-1430
>                 URL: https://issues.apache.org/jira/browse/TAP5-1430
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.2.4
>            Reporter: Joost Schouten
>
> It is currently possible to bind a property to itself like so:
> @Property
> @Parameter(value="actionZone")
> private String actionZone;
> This causes a StackOverflowError where it should just assign the default 
> literal value "actionZone" to the property actionZone. Or it should complain 
> and throw an Exception informing the developer that you cannot bind in this 
> way without specifying the prefix literal:

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

Reply via email to