UserScape / doctrine-bundle

Doctrine ORM bundle for the Laravel framework.
GNU Lesser General Public License v2.1
6 stars 1 forks source link

Entity requirements die on Apple computers? #1

Open JonTheWhite opened 12 years ago

JonTheWhite commented 12 years ago

Now, don't get me wrong, I hate Apple as much as the next guy... but my brother uses one. He was unable to use the doctrine script because when the bundles/doctrine/lib/Doctrine/ORM/Mapping/Driver/AnnotationsDriver was loading the files from the models directory on line 540, his apple was loading the subfolder files first. This caused the entity files to vomit because they required the parent entity class defined in the base models directory.

The only way he could solve this issue was to include the start.php inside the doctrine script: require path('app').'start.php';

Directory structure: applications/models --entity.php --entities ----user.php (extends \Entity)

taylorotwell commented 12 years ago

Thanks for the bug report. When did you install Doctrine and hit this bug? I was running into something like this earlier this week... maybe Thursday and fixed it on my Mac. If you installed it before then, you may try grabbing a fresh copy of the bundle.