You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Ulrich Stärk (JIRA)" <ji...@apache.org> on 2013/01/14 15:48:39 UTC

[jira] [Updated] (TAP5-931) Component Parameters not always persisted to the end of a Heartbeat

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

Ulrich Stärk updated TAP5-931:
------------------------------

    Labels: bulk-close-candidate  (was: )

This issue has been last updated more than 1.5 years ago, has no assignee, affects an old version of Tapestry that is not actively developed anymore, and is therefore prone to be bulk-closed in the near future.

If the issue still persists with the most recent development preview of Tapestry, please update it as soon as possible. In the case of a feature request, please discuss it with the Tapestry developer community on the dev@tapestry.apache.org mailing list first.
                
> Component Parameters not always persisted to the end of a Heartbeat
> -------------------------------------------------------------------
>
>                 Key: TAP5-931
>                 URL: https://issues.apache.org/jira/browse/TAP5-931
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.1.0.5
>            Reporter: Leonard Lu
>            Priority: Minor
>              Labels: bulk-close-candidate
>         Attachments: Test.java
>
>
> Odd bug. In the component class that I will attach after creating this Issue, a parameter of type JSONObject is bound and modified during page render, then deferred to the end of a Heartbeat. In some circumstances when the deferred command is run, the parameter is recreated from the bound property and the earlier changes are lost. 
> Circumstances when an error occurs:
> 1) The parameter is bound to an empty JSONObject, either new JSONObject(), or new JSONObject("{}")
> 2) The parameter is given a default value of an empty JSONObject
> Circumstances when an error does not occur:
> 1) The parameter is bound to a populated JSONObject (e.g. new JSONObject("{property:'value'}"))
> 2) The parameter is bound to any literal that is coerced to a JSONObject
> 3) A reference to the parameter is saved in a different final variable that is passed into the Runnable command.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira