GithubHelp home page GithubHelp logo

Comments (14)

stof avatar stof commented on May 17, 2024

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.

mareksuscak avatar mareksuscak commented on May 17, 2024

thank you

from stofdoctrineextensionsbundle.

pilot avatar pilot commented on May 17, 2024

I'm use last version 2.1.0RC3.zip, but still got error ((

from stofdoctrineextensionsbundle.

stof avatar stof commented on May 17, 2024

2.1.0RC3 ? This is a version before 2.1.0 as stated by its name.

from stofdoctrineextensionsbundle.

pilot avatar pilot commented on May 17, 2024

sorry, my error, the default sort make me mistake

from stofdoctrineextensionsbundle.

idetia avatar idetia commented on May 17, 2024

This error still happen with the current version of Symfony SE

from stofdoctrineextensionsbundle.

alexhub79 avatar alexhub79 commented on May 17, 2024

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.

leek avatar leek commented on May 17, 2024

Same here - problem still happens on Doctrine 2.1.2

from stofdoctrineextensionsbundle.

danielgratzl avatar danielgratzl commented on May 17, 2024

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.

stof avatar stof commented on May 17, 2024

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.

danielgratzl avatar danielgratzl commented on May 17, 2024

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.

stof avatar stof commented on May 17, 2024

@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.

danielgratzl avatar danielgratzl commented on May 17, 2024

yes that's probably a better solution.. thanks.. and thanks for the great bundle!

from stofdoctrineextensionsbundle.

kusmierz avatar kusmierz commented on May 17, 2024

Any news? So I can't use ie Loggable? Have I set StofDoctrineExtensionsBundle to false to get it works?

from stofdoctrineextensionsbundle.

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.