-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
invalid xml mapping file (mongodb) #483
invalid xml mapping file (mongodb) #483
Conversation
Thanks for the fix, I think you should target 3.x branch, do the fix and increase the versions in the composer.json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please add the mentioned mongo lib to the composer.json
file
composer.json
Outdated
@@ -23,6 +23,7 @@ | |||
"require": { | |||
"php": "^7.1", | |||
"cocur/slugify": "^2.0 || ^3.0", | |||
"doctrine/mongodb-odm": "^2.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an optional dependency. So please add it to require-dev
and add a conflict
entry for unsupported versions
cc @sonata-project/contributors we need a dev-kit update for this :/ |
Sorry, I thought I could easily help on this point but it becomes more complex. I do not know how to proceed, do we install the mongodb extension as here: https://github.com/doctrine/mongodb-odm/blob/master/.travis.yml#L86 ? |
Can you please rebase @romainnorberg This got fixed with the last dev-kit update |
hello @core23 Thanks. I rebased, but there are still issue on PHP7.1:
|
@sonata-project/contributors I think we can drop PHP 7.1, support ends in 2 days 😆 |
Refs: sonata-project/dev-kit#524 After deploying this, PHP 7.1 is gone |
Could you please rebase your PR and fix merge conflicts? |
Thanks @romainnorberg ! |
Thanks to you @greg0ire and Sonata Team for your patience and awesome work |
Subject
In a Symfony 4.3.8 project, when we update the
doctrine/mongodb-odm
anddoctrine/mongodb-odm-bundle
packages in their latest version, the following error appears:http://doctrine-project.org/schemas/orm/doctrine-mongo-mapping.xsd (404) is not valid, new url seems http://doctrine-project.org/schemas/odm/doctrine-mongo-mapping.xsd
I don't know which branch to target, I think it's
master
in this case. Need HelpRelated issue:
Related documentation:
Changelog
Screenshots
To Reproduce / configuration:
composer.json