Doctrine Common
  1. Doctrine Common
  2. DCOM-19

Transitive persistence on collections doesn't work when cascade is set to "all"

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 2.0.0-BETA4
    • Fix Version/s: None
    • Component/s: Collections
    • Labels:
      None

      Description

      In documentation it says that cascade needs be set to persist for transitive persistence to work (http://www.doctrine-project.org/projects/orm/2.0/docs/reference/working-with-associations/en#transitive-persistence-/-cascade-operations:persistence-by-reachability:-cascade-persist) , but since "all" setting is a superset of "persist" it should work for that setting as well (but it doesn't )

        Activity

        Hide
        akeem philbert added a comment -

        It seems there is an issue with persisting new elements to a collection with existing elements and I've created a separate ticket (http://www.doctrine-project.org/jira/browse/DDC-742) so this one is invalid.

        Show
        akeem philbert added a comment - It seems there is an issue with persisting new elements to a collection with existing elements and I've created a separate ticket ( http://www.doctrine-project.org/jira/browse/DDC-742 ) so this one is invalid.

          People

          • Assignee:
            Roman S. Borschel
            Reporter:
            akeem philbert
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: