Skip to content

Misc. updates related to custom CRUD actions#7493

Merged
javiereguiluz merged 1 commit intoEasyCorp:5.xfrom
javiereguiluz:fix_7488
Apr 1, 2026
Merged

Misc. updates related to custom CRUD actions#7493
javiereguiluz merged 1 commit intoEasyCorp:5.xfrom
javiereguiluz:fix_7488

Conversation

@javiereguiluz
Copy link
Copy Markdown
Collaborator

Fixes #7488.

@javiereguiluz javiereguiluz added this to the 5.x milestone Mar 8, 2026
javiereguiluz added a commit that referenced this pull request Apr 1, 2026
This PR was squashed before being merged into the 4.x branch.

Discussion
----------

Misc changes related to custom CRUD actions

This is closely related to #7493 and backports many of those change to 4.x to smooth the upgrade when using custom CRUD actions.

Commits
-------

3bbf921 Misc changes related to custom CRUD actions
@javiereguiluz javiereguiluz merged commit bf62201 into EasyCorp:5.x Apr 1, 2026
16 checks passed
@javiereguiluz javiereguiluz deleted the fix_7488 branch April 1, 2026 18:40
@OndraM
Copy link
Copy Markdown
Contributor

OndraM commented Apr 2, 2026

Just to let you know, this caused backward incompatibility break in patch release 5.0.4.

I just started to get HTTP 500 on some routes which were working in 5.0.3.

The "xxx()" method in "xxxCrudController" is used as a custom CRUD action (via "linkToCrudAction()") but it is missing the #[AdminRoute] attribute. Add #[AdminRoute] to the "xxx()" method to enable it as a CRUD action. See the "Custom CRUD Actions" section in the UPGRADE.md file.

Not sure this was intentional.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Action::linkToCrudAction() does not work in EA 5

2 participants