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

EmptyFilter is not registered as a service #1641

Merged
merged 18 commits into from
Mar 4, 2022
Merged

EmptyFilter is not registered as a service #1641

merged 18 commits into from
Mar 4, 2022

Conversation

willemverspyck
Copy link
Contributor

Subject

I am targeting this branch, because BC.

When I use the EmptyFilter (to check if the OneToMany is empty), I get the error:

No attached service to type named `Sonata\DoctrineORMAdminBundle\Filter\EmptyFilter`

Look like the services was not registered like the other filters. Or does the EmptyFilter has to be removed?

Changelog

### Fixed
- Register EmptyFilter as a service

@VincentLanglet
Copy link
Member

Hi @willemverspyck

The git history on the PR is pretty full. Can you clean it a bit ?

Also, I fixed the phpstan build on 4.x please rebase.

@willemverspyck
Copy link
Contributor Author

Hi @VincentLanglet,

I will indeed clean the history for next PR. Thanks for fixing the phpstan. I did the rebase.

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.

None yet

3 participants