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
{{ message }}
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.
In Jmix we are going to make entities hard-delete by default.
So users are going to meet "can't delete because there is FK constraint from other entity" much more often.
As with unique indexes, we should show nice message box instead of Unexpected error when seeing exceptions caused by "default" and "deny" FK constraint actions.
In Jmix we are going to make entities hard-delete by default.
So users are going to meet "can't delete because there is FK constraint from other entity" much more often.
As with unique indexes, we should show nice message box instead of Unexpected error when seeing exceptions caused by "default" and "deny" FK constraint actions.
Example:
Actual:
Not nice dialog:
Click to expand
Expected:
Nicer dialog with message like "Cannot delete User because there are Order objects referencing this entity".
Changes
DeletePolicyExceptionHandler is moved to
jmix-ui
fromdashboard-ui
. This handler works only with soft deletion entities.QA
Download attached project: demo.zip
The text was updated successfully, but these errors were encountered: