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

Inject EventManager when using a custom platform #5320

Merged

Conversation

spideyfusion
Copy link

Q A
Type bug
Fixed issues #3649

Summary

This fix ensures that schema-related events (e.g. onSchemaAlterTable) get fired when a Connection receives a Platform instead of relying on auto-detection.

tests/ConnectionTest.php Outdated Show resolved Hide resolved
@spideyfusion spideyfusion force-pushed the fix-event-manager-for-custom-platform branch from f41b9cb to 39f7bf0 Compare April 15, 2022 14:19
@spideyfusion spideyfusion requested a review from morozov April 15, 2022 14:21
@spideyfusion spideyfusion force-pushed the fix-event-manager-for-custom-platform branch from 39f7bf0 to 735ee90 Compare April 15, 2022 14:36
@morozov
Copy link
Member

morozov commented Apr 15, 2022

Looks good to me. Thanks, @spideyfusion.

@morozov morozov added this to the 3.3.6 milestone Apr 15, 2022
@morozov morozov linked an issue Apr 15, 2022 that may be closed by this pull request
@morozov morozov merged commit 110ab13 into doctrine:3.3.x Apr 16, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Platform-related events don't work if you specify a custom platform
4 participants