Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PagePartBundle] Container parameter in PagePartAdmin can be null #3431

Open
dannyvw opened this issue Aug 19, 2024 · 0 comments
Open

[PagePartBundle] Container parameter in PagePartAdmin can be null #3431

dannyvw opened this issue Aug 19, 2024 · 0 comments

Comments

@dannyvw
Copy link
Contributor

dannyvw commented Aug 19, 2024

The container parameter in the constructor can be null and then this line will trigger an error https://github.com/Kunstmaan/KunstmaanBundlesCMS/blob/7.x/src/Kunstmaan/PagePartBundle/PagePartAdmin/PagePartAdmin.php#L270

Maybe we can remove the container and inject only the event dispatcher?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant