[
https://issues.apache.org/jira/browse/TAP5-2470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dimitris Zenios updated TAP5-2470:
----------------------------------
Labels: 54_release_prerequisite patch (was: 54_release_prerequisite)
> RuntimeException when t:add property to a grid and fetching the model before
> grids setup render
> -----------------------------------------------------------------------------------------------
>
> Key: TAP5-2470
> URL: https://issues.apache.org/jira/browse/TAP5-2470
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.4
> Reporter: Dimitris Zenios
> Priority: Minor
> Labels: 54_release_prerequisite, patch
> Attachments:
> 0001-TAP5-2470-RuntimeException-when-t-add-property-to-a-.patch
>
>
> If we have a grid with a t:add property and a mixin that on SetupRender gets
> the sortModel and applies sorting, then on the grids SetupRender we get a
> RuntimeException "Bean editor model for %s already contains a property model
> for property '%s'.".
> This happens because on grid line 510 we set the previous dataModel to null
> and recreate it.When the model is about to be created again we try to add the
> extra properties again with BeanModelUtils.modify resulting to the exception
> mentioned above
> http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/Grid-and-initial-sort-mixin-Tapestry-5-4-beta28-td5730293.html
> http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/Tapestry-5-4-beta28-grid-model-td5730340.html
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)