You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Joost Schouten (JIRA)" <ji...@apache.org> on 2011/02/06 18:04:30 UTC

[jira] Updated: (TAP5-1430) prevent property binding to itself

     [ https://issues.apache.org/jira/browse/TAP5-1430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joost Schouten updated TAP5-1430:
---------------------------------

    Component/s: tapestry-core

> 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