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

Prevent deprecation notice in constructor of MergeCollectionListener #6412

Merged

Conversation

jorrit
Copy link
Contributor

@jorrit jorrit commented Sep 24, 2020

Subject

Since SonataAdminBundle 3.75 the argument to MergeCollectionListeners constructor is deprecated. Sonata\AdminBundle\Form\Type\ModelType sets this argument, causing a deprecation notice.

I am targeting this branch, because it's a backwards compatible change.

Changelog

### Fixed
- Deprecation notice in `MergeCollectionListener` when using the `ModelType` form type with the `model_manager` option set.

@franmomu franmomu merged commit ee777ac into sonata-project:3.x Sep 24, 2020
@franmomu
Copy link
Member

Thanks @jorrit!

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.

3 participants