Doctrine MongoDB ODM
  1. Doctrine MongoDB ODM
  2. MODM-38

Using YAML description with embedMany causes PHP notice error

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0ALPHA2
    • Fix Version/s: 1.0.0BETA1
    • Component/s: Mapping Drivers
    • Labels:
      None

      Description

      When using the YAML style description together with the new embedMany functionality of mixed documents, you get a PHP notice error every time you create a new model.

      Because when you have mixed documents, you don't specify a targetDocument, and therefore the YAML Driver can not find an element in the array that describes the targetDocument.

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved: