Open asgraf opened 1 year ago
The default crud action is set in CrudComponent::initialize() which gets run after Controller::initialize(). While we could fix the exception calling isActionMapped() so early without an argument will never yield the correct result.
How to reproduce:
1) For example add following line at the end of your
AppController::initialize()
2) Bake any controller (confirm that you want to override controller if already exists) 3) Crash during bake: