Comments (5)
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.
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.
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.
The sha1 in my deps.lock is 43d555227e3a2d6962b68ad717de78b3628cf484
from doctrinemongodbbundle.
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)
- How to pass driver_option "autoEncryption" to MongoDB\Client HOT 2
- Doctrine ODM query for $lookup with let/pipeline HOT 1
- mkdir() race condition in cache warmers HOT 1
- Feature request: Implement a DocumentType or MongoDocumentType Field à la EntityType field HOT 2
- Move and extend Symfony 6.2 #[MapEntity] to support ODM as well HOT 7
- Make attributes the default mapping type
- Leverage pinned resolvers
- Registry constructor expected ManagerRegistry found DocumentManager HOT 5
- Require PHP 8.1
- Add functional test for UniqueDocument
- Add configuration example with `PHP` format
- Move internal Container configuration from XML to PHP HOT 1
- Fix symfony 6.4/7.0 deprecations HOT 3
- Find deprecated code HOT 2
- Deprecated EventSubscriberInterface, use AsDoctrineListener HOT 4
- Non-existent service after fresh installation on branch 5.0.x HOT 7
- [Bug] - Default value for dm option in all commands HOT 3
- AsDocumentListener attribute listeners are not called for fixtures HOT 2
- Documentation link in README is broken HOT 2
- Configuration with non bundled mapping and xml mapping is broken in 5.0 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from doctrinemongodbbundle.