Details

    • Type: Bug
    • Status: Closed
    • Priority: 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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: