[ROO-3683] Prevent changes on child elements marked as "user-managed" on JSP views Created: 28/Oct/15  Updated: 28/Oct/15  Resolved: 28/Oct/15

Status: Resolved
Project: Spring Roo
Component/s: None
Affects Version/s: 1.3.2.RELEASE, 2.0.0.M1
Fix Version/s: 2.0.0.M2

Type: Improvement Priority: Minor
Reporter: Sergio Clares Martínez Assignee: Juan Carlos García del Canto
Resolution: Complete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


I've detected an error on JSP views related with z hash attribute.

If I have some child elements on a create or update form marked as user-managed and I change some attribute of the form, z attribute of the form will be updated automatically and all its childs will be replaced, ignoring if are marked as user-managed

Spring Roo should be updated to prevent changes on child elements marked as "user-managed" on JSP views when z hash parent is modified.

Comment by Sergio Clares Martínez [ 28/Oct/15 ]

I've just created the following pull request that solves the issue.



Comment by Juan Carlos García del Canto [ 28/Oct/15 ]

Hi Sergio,

Thanks for your contribution!

I've just merged your applied changes on Spring Roo 2.0.0.BUILD-SNAPSHOT


Generated at Fri Aug 14 14:54:59 UTC 2020 using Jira 8.5.4#805004-sha1:0444eab799707f9ad7b248d69f858774aadfd250.