You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Database constraints ensure integrity of stored data. Because of that it is not possible to delete a parent object if it has still children. Therefore according delete actions will fail.
Possible solution:
Make delete button inactive
Tooltip showing a message with the reason (existing children)
This function does not make sense in all use cases. It must consider the different cascade types.
Code template available in a project where this has been implemented as a isDelete() entity method. Generator integration should wait until Migrate to Doctrine 2.1 #21 is done though.
The text was updated successfully, but these errors were encountered:
Database constraints ensure integrity of stored data. Because of that it is not possible to delete a parent object if it has still children. Therefore according delete actions will fail.
Possible solution:
Notes:
The text was updated successfully, but these errors were encountered: