Comments (14)
this is a bug in the Doctrine EntityGenerator. Update to the 2.1.x branch instead of 2.1.0, it has been fixed.
from stofdoctrineextensionsbundle.
thank you
from stofdoctrineextensionsbundle.
I'm use last version 2.1.0RC3.zip, but still got error ((
from stofdoctrineextensionsbundle.
2.1.0RC3 ? This is a version before 2.1.0 as stated by its name.
from stofdoctrineextensionsbundle.
sorry, my error, the default sort make me mistake
from stofdoctrineextensionsbundle.
This error still happen with the current version of Symfony SE
from stofdoctrineextensionsbundle.
I have the same error with doctrine:mongodb:generate:documents and the last symfony version
Z:\site\symfony-v2>php app/console doctrine:mongodb:generate:documents MongoMenuBundle
[Doctrine\ODM\MongoDB\MongoDBException]
No identifier/primary key specified for Document 'Stof\DoctrineExtensionsBundle\Document\LogEntry'. Every Document must have an identifier/primary key.
doctrine:mongodb:generate:documents [--document[="..."]] bundle
from stofdoctrineextensionsbundle.
Same here - problem still happens on Doctrine 2.1.2
from stofdoctrineextensionsbundle.
Same problem here. Using latest Symfony 2.0.4 with Doctrine 2.1.2
[Doctrine\ODM\MongoDB\MongoDBException]
No identifier/primary key specified for Document 'Stof\DoctrineExtensionsBundle\Document\LogEntry'. Every Document must have an identifier/primary key.
from stofdoctrineextensionsbundle.
you are not using Doctrine 2.1.2 as this is an ORM version number and this error comes from the ODM (which is in some 1.0alphaX version). And this bug has still not been resolved in the ODM. I cannot do anything about it
from stofdoctrineextensionsbundle.
for me it works if i disable auto_mapping for the mongodb odm. and afterwards DON'T add StofDoctrineExtensionsBundle to the mappings.. i am only using the Sluggable feature right now.. probably won't work if you want to use Translatable or Loggable
from stofdoctrineextensionsbundle.
@Gh0zT you can also keep using the auto_mapping and then explicitly disable it for the bundle by setting the mapping configuration to false
from stofdoctrineextensionsbundle.
yes that's probably a better solution.. thanks.. and thanks for the great bundle!
from stofdoctrineextensionsbundle.
Any news? So I can't use ie Loggable? Have I set StofDoctrineExtensionsBundle to false to get it works?
from stofdoctrineextensionsbundle.
Related Issues (20)
- SoftDeleted entities are not filtered/excluded from database results HOT 1
- loggable and doctrine migrations
- [SoftDeletable] How to disable on entity getter HOT 2
- Sort error when using Repository functions HOT 1
- Next release ? HOT 4
- doctrine.event_subscriber is deprecated HOT 3
- Timestampable logic no longer works on 1.8.0 HOT 6
- Listeners not working HOT 3
- UnexpectedValueException: tree metadata HOT 7
- Allow the bundle to work without the annotation reader HOT 3
- Support Symfony 7, Switch doctrine suubscribers to #[AsDoctrineListener] HOT 1
- Support Symfony 7 HOT 3
- [TimeStampable] symfony/clock use instead of new DateTime HOT 3
- Timestampable in new Symfony 7 Project throws error on migration HOT 3
- Missing typed arguments in function NestedTreeRepository::__call()
- Incompatible with symfony v7.0.3 HOT 11
- Timestampable not working when persisting data in database ( enable to set dateTime to createdAt & updatedAt ) HOT 1
- How can I use Gedmo Translatable and Gedmo Loggable together? HOT 2
- Deprecation: Using ArrayAccess on Doctrine\ORM\Mapping\FieldMapping HOT 1
- Inject the attribute reader in place of the annotations reader when able
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 stofdoctrineextensionsbundle.