Hibernate exception when removing space, due to cascade relationship

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 2.7
    • Affects Version/s: None
    • Component/s: None
    • None

      Here is the exception we had. The build is here: https://bamboo.extranet.atlassian.com/browse/CONFFUNC-CLUST5MYSQLR-288

      java.lang.Exception: org.springframework.dao.InvalidDataAccessApiUsageException: deleted object would be re-saved by cascade (remove deleted object from associations): 196743, of class: com.atlassian.confluence.spaces.Space; nested exception is net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 196743, of class: com.atlassian.confluence.spaces.Space
      at com.atlassian.confluence.AbstractConfluenceAcceptanceTest.xmlRpcExecute(AbstractConfluenceAcceptanceTest.java:2048)
      at com.atlassian.confluence.AbstractConfluenceAcceptanceTest.cleanUp(AbstractConfluenceAcceptanceTest.java:301)
      at com.atlassian.confluence.AbstractConfluenceAcceptanceTest.setUp(AbstractConfluenceAcceptanceTest.java:201)
      at com.atlassian.confluence.PageExportAcceptanceTest.setUp(PageExportAcceptanceTest.java:13)
      at junit.framework.TestCase.runBare(TestCase.java:125)
      at net.sourceforge.jwebunit.junit.WebTestCase.runBare(WebTestCase.java:58)
      at junit.framework.TestResult$1.protect(TestResult.java:106)
      (29 more lines...)

              Assignee:
              Unassigned
              Reporter:
              dave (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: