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

Fix the DoctrineOrmMappingsPass passing null as the file extension argument of the XmlDriver #1753

Merged
merged 1 commit into from Feb 10, 2024

Conversation

HedicGuibert
Copy link
Contributor

The createXmlMappingDriver method of the DoctrineOrmMappingsPass is passing null as the file extension argument, while the XmlDriver expects it to be a string, generating a TypeError.

The error was raised only by trying to upgrade to orm 3.0. I did not have any issue in 2.18.
This is however quite concerning since it prevents the usage of a bundle like Messenger Monitor on a project using doctrine/orm 3.0

@ostrolucky
Copy link
Member

Dupe with #1752

@ostrolucky ostrolucky closed this Feb 10, 2024
@ostrolucky ostrolucky reopened this Feb 10, 2024
@ostrolucky
Copy link
Member

Well, but it's a better commit message at least. So I'll merge this

@ostrolucky ostrolucky merged commit 5a5be76 into doctrine:2.11.x Feb 10, 2024
25 of 27 checks passed
@ostrolucky ostrolucky added the Bug label Feb 10, 2024
@ostrolucky ostrolucky added this to the 2.11.3 milestone Feb 10, 2024
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

2 participants