You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Next »
There is an issue, CONFSERVER-79048, when users copy a tree of pages having projectdoc documents.
Description
While the copy tree action completes, the projectdoc documents will no longer be valid and therefore cannot be found in queries.
In the logs, administrators will see the following stack trace.
2022-06-21 11:51:36,348 ERROR [Long running task: Copy page hierarchy long running task] [confluence.impl.hibernate.ConfluenceHibernateTransactionManager] doRollbackOnCommitException Commit exception overridden by rollback exception
-- url: /confluence/rest/page-hierarchy/copy | referer: https://example.com/confluence/display/T/PT-1 | traceId: b93c9d49ec5a715c | userName: test
java.lang.IllegalStateException: Transaction not successfully started
at org.hibernate.engine.transaction.internal.TransactionImpl.commit(TransactionImpl.java:63)
2022-06-21 11:51:36,351 ERROR [Long running task: Copy page hierarchy long running task] [confluence.util.longrunning.ConfluenceAbstractLongRunningTask] run Long running task "Copy page hierarchy long running task" failed to run.
-- url: /confluence/rest/page-hierarchy/copy | referer: https://example.com/confluence/display/T/PT-1 | traceId: b93c9d49ec5a715c | userName: test
org.springframework.transaction.TransactionSystemException: Could not roll back Hibernate transaction; nested exception is net.sf.hibernate.TransactionException: Cannot rollback transaction in current status [COMMITTED]
at org.springframework.orm.hibernate.HibernateTransactionManager.doRollback(HibernateTransactionManager.java:535)
at com.atlassian.confluence.impl.hibernate.ConfluenceHibernateTransactionManager.doRollback(ConfluenceHibernateTransactionManager.java:81)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.doRollbackOnCommitException(AbstractPlatformTransactionManager.java:892)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:775)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:711)
Workaround
Administrators and users with refresh permissions may fix the issue with a refresh page tree on the root page of the tree that has been copied.
See Cache Refresh Actions for details.
Fixed Versions
According to XXX there is no issue up to Confluence version 7.16.4 and will be fixed in 7.18.2 and is already fixed in 7.17.5.
References
Evidence for the information is available by the following references.