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
I added easy-config-bundle to my project, and configured everything according to the README.md and after that, I got an error:
The "detail" action already exists in the "index" page, so you can't add it again. Instead, you can use the "updateAction()" method to update any options of an existing action.
The reason is that I've added the action "detail" to all crud pages "index" in my dashboard, and easy-config-bundle tries to add it again.
The workaround is removing it from my dashboard "configureActions" to each of my crud controllers to avoid the error.
Is it possible to fix it in your bundle?
Hello!
I added
easy-config-bundle
to my project, and configured everything according to the README.md and after that, I got an error:The reason is that I've added the action "detail" to all crud pages "index" in my dashboard, and easy-config-bundle tries to add it again.
The workaround is removing it from my dashboard "configureActions" to each of my crud controllers to avoid the error.
Is it possible to fix it in your bundle?
I did a small change:
and it kinda worked. The method
add
throws\InvalidArgumentException
only in one case, so it is a valid option, IMO.If it is allowed, I can create an MR for it by myself.
Thanks in advance!
The text was updated successfully, but these errors were encountered: