[
https://issues.jboss.org/browse/FORGE-974?page=com.atlassian.jira.plugin....
]
Vineet Reynolds updated FORGE-974:
----------------------------------
Summary: Faces scaffolding does not correctly update collection members involved in
bi-directional relationships when saving an edited entity (was: Faces scaffolding does
not correctly update collection members involved in bi-directional relationships)
Faces scaffolding does not correctly update collection members
involved in bi-directional relationships when saving an edited entity
------------------------------------------------------------------------------------------------------------------------------------
Key: FORGE-974
URL:
https://issues.jboss.org/browse/FORGE-974
Project: Forge
Issue Type: Bug
Components: Scaffold
Affects Versions: 1.3.1.Final
Reporter: Vineet Reynolds
The generated scaffold does not contain any logic to update collection properties of a
JPA entity. This results in incorrect behavior when the collection is part of a
bi-directional relationship in JPA.
This is because no logic exists to remove both sides of the relationship when an entity
instance is removed from the collection. The result of this absence in logic is that
removal of entities from collection properties do not succeed. Upon save, the collection
returns to it's previous state.
--
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