Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Won't Fix
    • Affects Version/s: 1.1 [LEGACY]
    • Fix Version/s: None
    • Component/s: Core Library
    • Labels:
      None
    • Environment:
      mySQL 4.0.12
      Cayenne Modeler 1.1RC1 (October 3 2004)
      Java 1.4.2

      Description

      Objects are connected with relations per ID, deletion should be per cascade.

      Object1 has more than one involved related Objects2-9
      over more than one step to bottom
      which should all be deleted
      only by DataContext.deleteObject(Object1) per cascade.

      If a Object5, stands 2 steps under Object1 has a invalid ID, so will an Exception be thrown from CayenneDataObject.resolveFault().

      The result is, that the upper Object1 is deleted, but after Exception the rest of related Objects, don't be deleted per cascade, they are garbage in the database.

      Kind regards
      Katrin

        Activity

        Katrin Dorendorf created issue -
        Andrus Adamchik made changes -
        Field Original Value New Value
        Fix Version/s 1.1 [ 10001 ]
        Andrus Adamchik made changes -
        Attachment CAY-230.tar.gz [ 10141 ]
        Andrus Adamchik made changes -
        Fix Version/s 1.1 [ 10001 ]
        Resolution Won't Fix [ 2 ]
        Status Assigned [ 2 ] Closed [ 6 ]
        Henri Yandell made changes -
        Project Import Sat Mar 21 00:51:04 PDT 2009 [ 1237621864637 ]
        Ari Maniatis made changes -
        Workflow jira [ 12456176 ] Cayenne workflow [ 12486561 ]

          People

          • Assignee:
            Andrus Adamchik
            Reporter:
            Katrin Dorendorf
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development