Closed mvorisek closed 17 hours ago
Steps to reproduce:
Atk4\Data\Exception: User action can be executed on loaded entity only
The same exception is expected immediatelly for "delete" (ie. before confirmation) and for "edit" (ie. before modal is displayed and saved).
The validation is currently done in UA before execute/preview only in https://github.com/atk4/data/blob/5.2.0/src/Model/UserAction.php#L186.
Steps to reproduce:
Atk4\Data\Exception: User action can be executed on loaded entity only
The same exception is expected immediatelly for "delete" (ie. before confirmation) and for "edit" (ie. before modal is displayed and saved).
The validation is currently done in UA before execute/preview only in https://github.com/atk4/data/blob/5.2.0/src/Model/UserAction.php#L186.