Uploaded image for project: 'Doctrine 2 - ORM'
  1. Doctrine 2 - ORM
  2. DDC-26

Add support for subdirectories in classdir when using schema-tool --create

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0-ALPHA2
    • Component/s: Tools
    • Security Level: All
    • Labels:
      None

      Description

      Currently when using schema-tool --create, all entity classes have to be in one directory. Subdirectories are not supported and result in errors. The iterator tries to require the subdirectories. This makes it impossible to use schema-tool --create to create the database for models that use namespaces and follow Doctrine rules for placing the files in subdirectories.

      The schema-tool should iterate through all of the subdirectories of the classdir to find all of the entity classes. It should also not try to require() any directories.

        Activity

        itoijala Ismo Toijala created issue -
        romanb Roman S. Borschel made changes -
        Field Original Value New Value
        Priority Major [ 3 ] Critical [ 2 ]
        romanb Roman S. Borschel made changes -
        Assignee Roman S. Borschel [ romanb ] Jonathan H. Wage [ jwage ]
        jwage Jonathan H. Wage made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 2.0-ALPHA2 [ 10028 ]
        Resolution Fixed [ 1 ]
        beberlei Benjamin Eberlei made changes -
        Workflow jira [ 10130 ] jira-feedback [ 15420 ]
        beberlei Benjamin Eberlei made changes -
        Workflow jira-feedback [ 15420 ] jira-feedback2 [ 17284 ]
        beberlei Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 17284 ] jira-feedback3 [ 19541 ]

          People

          • Assignee:
            jwage Jonathan H. Wage
            Reporter:
            itoijala Ismo Toijala
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: