Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-2047

DBRE generates tests that fail when foreing key doesn't delete on cascade

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 1.1.2.RELEASE
    • Fix Version/s: None
    • Component/s: TESTING
    • Labels:
      None
    • Environment:
      1.1.2.BUILD-SNAPSHOT [rev 6c006f1]

      Description

      There are foreign keys that doesn't delete on cascade.

      Unit tests shouldn't fail on that cases because are right relations.

      Example:

      1. Supose db table EntityB has a foreign key that references to EntityA.
      2. EntityA remove tests will fail when there is an EntityB that references the EntityA

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stewarta Alan Stewart
              Reporter:
              eruiz Enrique Ruiz (DiSiD)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: