Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-642

Conversion from annotation to xml mapping doesn't equal (missing inversedBy)

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0-BETA3
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      Hi,

      I've converted schema from annotations to XML, but after the conversion the association is missing inversedBy parameter:

      public $text;
      /**
       * @ManyToOne(targetEntity="CmsUser", inversedBy="articles")
       * @JoinColumn(name="user_id", referencedColumnName="id")
      */
      

      converted XML is missing inversedBy attribute:

      <many-to-one field="user" target-entity="CmsUser" orphan-removal="">
        <join-columns>
          <join-column name="user_id" referenced-column-name="id" nullable="1"/>
        </join-columns>
      </many-to-one>
      

      Thank you.

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: