Blog

  • 2024
  • 2023
  • 2022
  • 2021
  • 2020
  • 2019
  • 2018
  • 2017
  • 2016
  • 2015
  • 2014
  • 2013
  • 2012

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

There is an issue, CONFSERVER-79048, that affects the projectdoc Toolbox when users copy a tree of pages having projectdoc documents.

Section
titleDescription

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.

Code Block
languagetext
themeMidnight
titleStack trace on copying a tree of pages
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)



Section
titleWorkaround

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 

Static Document Link
documentPDAC1:Cache Refresh Actions
for details.


Section
titleFixed Versions

According to CONFSERVER-79048 there is no issue up to Confluence version 7.16.4 and will be fixed in 7.18.2 and is already fixed (confirmed with the projectdoc Toolbox) in 7.17.5.


Section
titleReferences
intro-textEvidence for the information is available by the following references.


Tour
render-no-hits-as-blanktrue
render-as-definition-listtrue
marker-column-property-nameTitle
replace-title-with-nametrue


TitleShort Description
CONFSERVER-79048The ticket for Confluence Server and Data Center.
Confluence Server & Data Center Download ArchivesThis page lists all versions of Confluence Server and Data Center available for download.
Cache Refresh Actions
Transaction issue with PageManager#deepCopyPage on 7.17.1Article on Atlassian Developer Community.




Piwik Set Multiple Custom Variables


NameValue
Departmentprojectdoc
Categoryissue-report
Typeblog-article