Doctrine Project

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Doctrine Website
  • Doctrine Website
  • DWEB-78

Doctrine2 YAML mapping

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Documentation Documentation
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Component/s: Documentation
  • Labels:
    None

Description

In http://www.doctrine-project.org/docs/orm/2.0/en/reference/yaml-mapping.html

oneToMany:
phonenumbers:
targetEntity: Phonenumber
mappedBy: user
cascade: cascadePersist

not working.. I have to change it to

oneToMany:
phonenumbers:
targetEntity: Phonenumber
mappedBy: user
cascade: [cascadePersist]

to work

Activity

  • All
  • Comments
  • History
  • Activity
  • Source
There are no comments yet on this issue.

People

  • Assignee:
    Jonathan H. Wage
    Reporter:
    Vahe Hovhannisyan
Vote (0)
Watch (0)

Dates

  • Created:
    26/Mar/11 8:06 AM
    Updated:
    26/Mar/11 8:06 AM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Doctrine Project. Try JIRA - bug tracking software for your team.