Skip to content

Entity requirements die on Apple computers? #1

Description

@JonTheWhite

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions