[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


 Description   

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.



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

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

https://github.com/spring-projects/spring-roo/pull/98

Regards.

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

Regards,

Generated at Tue Sep 17 22:57:43 UTC 2019 using JIRA 7.9.2#79002-sha1:3bb15b68ecd99a30eb364c4c1a393359bcad6278.