Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[DoctrineBridge]  Fix detection of Xml/Yaml driver in DoctrineExtension#53681

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nicolas-grekas merged 1 commit intosymfony:6.4fromGromNaN:doctrine-xml-detect
Jan 30, 2024

Conversation

GromNaN
Copy link
Member

QA
Branch?6.4
Bug fix?yes
New feature?no
Deprecations?no
IssuesFixdoctrine/DoctrineMongoDBBundle#841
LicenseMIT

In DoctrineMongoDBBundle v5, we removed.class attributes to plain class names in service definitions (seedoctrine/DoctrineMongoDBBundle#821). The class fordoctrine_mongodb.odm.default_xml_metadata_driver changed fromdoctrine_mongodb.odm.metadata.xml.class toDoctrine\Bundle\MongoDBBundle\Mapping\Driver\XmlDriver.

I fixed the detection of the driver by checking the uppercaseXml andYaml because it might be necessary if the same change is made to DoctrineBundle.

doctrine/mongodb-odm-bundle requiressymfony/doctrine-bridge: "^6.4 || ^7.0" so this patch if not required for older versions of Symfony even if it could be applied.

@GromNaNGromNaN added this to the6.4 milestoneJan 30, 2024
@carsonbotcarsonbot changed the title[DoctrineBridge] Fix detection of Xml/Yaml driver in DoctrineExtension[DoctrineBridge]  Fix detection of Xml/Yaml driver in DoctrineExtensionJan 30, 2024
@carsonbotcarsonbot modified the milestones:6.4,5.4Jan 30, 2024
@carsonbot

This comment was marked as resolved.

@frenchcomp
Copy link

Thanks@GromNaN !

@nicolas-grekasnicolas-grekas modified the milestones:5.4,6.4Jan 30, 2024
Copy link
Member

@nicolas-grekasnicolas-grekas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

That's for 5.4, no?

@GromNaN
Copy link
MemberAuthor

That's for 5.4, no?

That's not necessary fordoctrine/mongodb-odm-bundle since the bug is in a version that requires 6.4+.

@nicolas-grekas
Copy link
Member

Thank you@GromNaN.

@nicolas-grekasnicolas-grekas merged commitcb0817c intosymfony:6.4Jan 30, 2024
@GromNaNGromNaN deleted the doctrine-xml-detect branchJanuary 30, 2024 11:27
This was referencedJan 31, 2024
MatTheCat added a commit to MatTheCat/symfony that referenced this pull requestNov 5, 2024
nicolas-grekas added a commit that referenced this pull requestNov 6, 2024
… in DoctrineExtension (MatTheCat)This PR was merged into the 5.4 branch.Discussion----------[DoctrineBridge] Backport detection fix of Xml/Yaml driver in DoctrineExtension| Q             | A| ------------- | ---| Branch?       | 5.4| Bug fix?      | yes| New feature?  | no| Deprecations? | no| Issues        |Fixdoctrine/DoctrineBundle#1832| License       | MIT#53681 got merged on 6.4, but the DoctrinBundle still needs it on 5.4 😅Commits-------f7b61a2 [DoctrineBridge] Backport#53681
nicolas-grekas added a commit that referenced this pull requestNov 6, 2024
* 5.4:  [DoctrineBridge] Backport#53681
nicolas-grekas added a commit that referenced this pull requestNov 6, 2024
* 6.4:  [DoctrineBridge] Backport#53681
nicolas-grekas added a commit that referenced this pull requestNov 6, 2024
* 7.1:  [DoctrineBridge] Backport#53681
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

@derrabusderrabusAwaiting requested review from derrabus

Assignees
No one assigned
Projects
None yet
Milestone
6.4
Development

Successfully merging this pull request may close these issues.

4 participants
@GromNaN@carsonbot@frenchcomp@nicolas-grekas

[8]ページ先頭

©2009-2025 Movatter.jp