Comments (10)
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.
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.
I got the same error initially.
from stofdoctrineextensionsbundle.
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.
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.
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.
I just commited the file renaming.
from stofdoctrineextensionsbundle.
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.
sorry, I messed the push. It is done now.
from stofdoctrineextensionsbundle.
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)
- Undefined constant Doctrine\DBAL\Types\Type::<Insert constant coin here> HOT 2
- 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
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.