Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1030

Issue with parseTokensInEntityFile() and multiple levels of namespace

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Git Master
    • Fix Version/s: 2.0.2
    • Component/s: ORM
    • Security Level: All
    • Labels:
      None

      Description

      If you have something like Acme\MainBundle\Document\User, the parser will only popular Acme\User as the key for the parsed information. We have to consider multiple leves of namespace. This concatenates each namespace after the namespace separator is found.

      I made the same fix in the odm here. Pull request for ORM on the way.

      https://github.com/doctrine/mongodb-odm/commit/b7c72aa7b7b41de97b328a872cc8f7d4141b3143

        Issue Links

          Activity

          Show
          Jonathan H. Wage added a comment - https://github.com/doctrine/doctrine2/tree/DDC-1030
          Hide
          Benjamin Eberlei added a comment -

          Ah good catch. That fixes 2 open issues that i couldnt pin down

          Show
          Benjamin Eberlei added a comment - Ah good catch. That fixes 2 open issues that i couldnt pin down
          Hide
          Benjamin Eberlei added a comment -

          Fixed.

          Show
          Benjamin Eberlei added a comment - Fixed.

            People

            • Assignee:
              Benjamin Eberlei
              Reporter:
              Jonathan H. Wage
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: