Doctrine Website
  1. Doctrine Website
  2. DWEB-98

XML example errors in section 6 of the manual

    Details

    • Type: Documentation Documentation
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Component/s: Documentation
    • Labels:
      None
    • Environment:
      n/a

      Description

      I've notice some error in the XML example of the Doctrine ORM manual, section 6.

      There is often:
      <join-column="user_id" referenced-column-name="id" />
      The correct tag should be:
      <join-column name="user_id" referenced-column-name="id" />

      Also, in the many-to-many bidirectional example is missing the targer-entity tag:
      <many-to-many field="groups" inversed-by="users">
      Should be:
      <many-to-many field="groups" target-entity="Group" inversed-by="users">

      I also think that the differents values could be better explained.

      Hope this will help...

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated: