Coder Social home page Coder Social logo

Comments (10)

pdugas avatar pdugas commented on May 24, 2024

For sanity sake, I dropped back to a clean version of Symfony_Standard_2.0.0BETA2.tgz. Using the stock config, I ran the doctrine:schema:create command and got "No Metadata Classes to process" as I expect given that I've not created any entity classes. I added the StofDoctrineExtensionsBundle line in app/AppKernel.php and both the 'Stof' and 'Gedmo' namespaces in app/autoload.php. I added the following to bin/deps:

/ gedmo-doctrine-extensions http://github.com/l3pp4rd/DoctrineExtensions.git
/bundles/Stof DoctrineExtensionsBundle http://github.com/stof/DoctrineExtensionsBundle.git

I didn't set any versions on bin/2.0.0BETA2.deps so the bin/vendor.php scrip pulled origin/HEAD for these. I tried it once with the stock VERSION file and again after changing VERSION to 2.0.0NEXT. In both cases, running the doctrine:schema:create command generated the same error.

from stofdoctrineextensionsbundle.

pdugas avatar pdugas commented on May 24, 2024

I think the issue may be with the names of the files in Resources/config/doctrine. They do not need the namespace prefixes so Stof.DoctrineExtensionsBundle.Entity.AbstractClosure.orm.xml becomes AbstractClosure.orm.xml, etc.

from stofdoctrineextensionsbundle.

j avatar j commented on May 24, 2024

I got the same error initially.

from stofdoctrineextensionsbundle.

l3pp4rd avatar l3pp4rd commented on May 24, 2024

Class Stof\DoctrineExtensionsBundle\Entity\Stof\DoctrineExtensionsBundle\Entity\AbstractClosure clearly shows that something is wrong with the mapping. Try to rename those xml files

from stofdoctrineextensionsbundle.

pdugas avatar pdugas commented on May 24, 2024

Sorry. I should have mentioned in my earlier comment that renaming the *.orm.xml files to remove the "Stof.DoctrineExtensionsBundle.Entity." prefix did in fact get me past that fault.

from stofdoctrineextensionsbundle.

stof avatar stof commented on May 24, 2024

The issue is that the naming change was merged yesterday when I was in a place without Internet access. I will update the bundle accordingly

from stofdoctrineextensionsbundle.

stof avatar stof commented on May 24, 2024

I just commited the file renaming.

from stofdoctrineextensionsbundle.

pdugas avatar pdugas commented on May 24, 2024

Don't mean to be a pest but I don't think this commit went through. I see commits for a couple later issues but this one seems to be missing.

from stofdoctrineextensionsbundle.

stof avatar stof commented on May 24, 2024

sorry, I messed the push. It is done now.

from stofdoctrineextensionsbundle.

pdugas avatar pdugas commented on May 24, 2024

np, thx much for your efforts. good stuff.

Paul Dugas • Dugas Enterprises, LLC • Computer Engineer

522 Black Canyon Park, Canton GA 30114 •
Paul@[email protected]
+1.404.932.1355

On Tue, May 24, 2011 at 11:55 AM, stof <
[email protected]>wrote:

sorry, I messed the push. It is done now.

Reply to this email directly or view it on GitHub:
https://github.com/stof/DoctrineExtensionsBundle/issues/34#comment_1229262

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.