Skip to content

Loading…

DDC-642: Conversion from annotation to xml mapping doesn't equal (missing inversedBy) #5152

Closed
doctrinebot opened this Issue · 1 comment

2 participants

@doctrinebot

Jira issue originally created by user frantisek.troster:

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.

@doctrinebot

Issue was closed with resolution "Fixed"

@jwage jwage was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.0-BETA3 milestone
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.