Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1972

Throw an exception when setting cascade options which do not exist

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Trivial Trivial
    • Resolution: Unresolved
    • Affects Version/s: 2.1.6
    • Fix Version/s: None
    • Component/s: ORM
    • Labels:
      None

      Description

      I made the assumption that the way to define a cascading delete is to do (in YAML):

      cascade: [delete]

      When it is actually:

      cascade: [remove]

      It would be nice if Doctrine would throw an exception when the user sets a cascade option which does not exist.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            George Zankevich
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: