Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-9466

Hibernate exception when removing space, due to cascade relationship

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 2.7
    • None
    • None
    • None

    Description

      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...)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dave@atlassian.com dave (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: