Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
5.4
Description
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
Attachments
Issue Links
- relates to
-
TAP5-135 Attempting to set a default sort constraint on the Grid will cause an NullPointerException inside Grid.getSortConstraints()
- Closed