Giter VIP home page Giter VIP logo

Comments (5)

stof avatar stof commented on June 10, 2024

do you have a locked version in your deps.lock file ? and if yes, which sha1 ? It seems like the master branch is used instead of the v2.0.0 tag

Btw, 2.0.0 has a security issue (the same than DoctrineBundle in 2.0.5 and lower). You should use the 2.0.1 version or the 2.0 branch (origin/2.0 in the deps file)

from doctrinemongodbbundle.

barryj avatar barryj commented on June 10, 2024

Hi,

I had the exact same problem with the

DoctrineMongoDBExtension.php on line 31

I updated my Deps to show version=v2.0.1 then used php bin/vendors install. In my Terminal, at the end of the install it shows the following:

[Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException]
The service "form.type.mongodb_document" has a dependency on a non-existent service "doctrine.odm.mongodb.document_manager".

I do not have a locked version in my deps.lock file

from doctrinemongodbbundle.

stof avatar stof commented on June 10, 2024

doctrine.odm.mongodb.document_manager only exist if you configure at least one document manager. And if you don't want to define one, don't activate the bundle :)

from doctrinemongodbbundle.

kristianawright avatar kristianawright commented on June 10, 2024

The sha1 in my deps.lock is 43d555227e3a2d6962b68ad717de78b3628cf484

from doctrinemongodbbundle.

kristianawright avatar kristianawright commented on June 10, 2024

It worked after I deleted my deps.lock file and changed the entry in deps to this:

[DoctrineMongoDBBundle]
    git=http://github.com/symfony/DoctrineMongoDBBundle.git
    target=/bundles/Symfony/Bundle/DoctrineMongoDBBundle
    version=origin/2.0

from doctrinemongodbbundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.