Blog

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

There is an issue, CONFSERVER-79048, that affects the projectdoc Toolbox 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.

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

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

References

Evidence for the information is available by the following references.

CONFSERVER-79048
The ticket for Confluence Server and Data Center.
Confluence Server & Data Center Download Archives
This page lists all versions of Confluence Server and Data Center available for download.
Cache Refresh Actions
projectdoc documents are stored in caches for quick access. Users may want to clear one of these caches.
Transaction issue with PageManager#deepCopyPage on 7.17.1
Article on Atlassian Developer Community.

projectdoc Toolbox 5.0.17

Today we released version 5.0.17 of the projectdoc Toolbox for Confluence on the Atlassian Marketplace!

projectdoc supports agile teams creating and maintaining project documentation. It provides templates and tools to improve the collaboration of team members.

This is release provides improvements to cope with incompatibilities of the JSoup library provided by the later Confluence versions.

A previous micro or bugfix version of Confluence did introduce a non-backwards compatible library that will result in a runtime failure of the projectdoc Toolbox. This version of the projectdoc Toolbox fixes this issue and allows to run on all supported versions of Confluence. 

For more details refer to projectdoc Toolbox 5.0.17 Release Notes.


projectdoc Toolbox 4.13.6

Today we released version 4.13.6 of the projectdoc Toolbox for Confluence on the Atlassian Marketplace!

projectdoc supports agile teams creating and maintaining project documentation. It provides templates and tools to improve the collaboration of team members.

This is release provides improvements so that it can be used on Confluence versions fixing Confluence Security Advisory 2022-06-02.

A previous micro or bugfix version of Confluence did introduce a non-backwards compatible library that will result in a runtime failure of the projectdoc Toolbox. This version of the projectdoc Toolbox fixes this issue and allows to run on all supported versions of Confluence. 

We recommend to move to version 5 of the projectdoc Toolbox. This upgrade is a major step and requires careful planning. We released this version of version 4 to not urge customers to do the upgrade in haste because of the Confluence Security Advisory 2022-06-02.

For more details refer to projectdoc Toolbox 4.13.6 Release Notes.





projectdoc Toolbox 5.0.16

Today we released version 5.0.16 of the projectdoc Toolbox for Confluence on the Atlassian Marketplace!

projectdoc supports agile teams creating and maintaining project documentation. It provides templates and tools to improve the collaboration of team members.

This is release provides improvements so that it can be used on Confluence versions fixing Confluence Security Advisory 2022-06-02.

A previous micro or bugfix version of Confluence did introduce a non-backwards compatible library that will result in a runtime failure of the projectdoc Toolbox. This version of the projectdoc Toolbox fixes this issue and allows to run on all supported versions of Confluence. 

For more details refer to projectdoc Toolbox 5.0.16 Release Notes.