Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.2, 5.0-M2
Description
When deleting an ObjEntity with flattened attributes Cayenne deletes the related DB attribute's row as well.
So if we have for example an ObjEntity "FlatPainting" with flattened attribute "galleryName". If we then delete a "FlatPainting" then the associated gallery will also be deleted, leaving all other paintings at that gallery without a valid Gallery link.
Furthermore if we add to our "FlatPainting" a "gallery" relationship attribute with delete rule Deny, the gallery is still deleted.
Attachments
1.
|
Improve delete prevention detection of flattened attribute row | Closed | Unassigned |
|