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

        George Zankevich created issue -

        This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

        • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DDC-1972, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

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

            Dates

            • Created:
              Updated: