tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joost Schouten (JIRA)" <j...@apache.org>
Subject [jira] Created: (TAP5-1430) prevent property binding to itself
Date Sun, 06 Feb 2011 17:04:30 GMT
prevent property binding to itself
----------------------------------

                 Key: TAP5-1430
                 URL: https://issues.apache.org/jira/browse/TAP5-1430
             Project: Tapestry 5
          Issue Type: Bug
    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

        

Mime
View raw message