Blog

Versions Compared

Key

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

...

Every doctype add-on we publish is based on the projectdoc Toolbox and provides at least one space blueprint. During the development of these add-ons we often deploy new versions and test them for usability. We also check if the doctypes and space blueprints are actually used, and if not, remove them before we publish them.

Section
titleThe ProblemFailing Space Wizard Dialog

Currently we encountered a problem where Confluence did no longer present the list of space wizards, but simply displayed an error in the dialog window.

Error message after opening the Space Wizard Dialog

The log file shows this:

Code Block
[INFO]  ..... WARN [http-nio-1990-exec-7] 
         [confluence.impl.hibernate.ConfluenceHibernateTransactionManager] 
         doRollback Performing rollback. Transactions:
[INFO]  ->[PluginReadWriteTx]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT (Session #.....)
[INFO]  – referer: ...../confluence/pages/viewpage.action?spaceKey=PP&title=x | 
        url: /confluence/rest/create-dialog/1.0/space-blueprint/dialog/web-items | 
        traceId: ..... | userName: .....
Section
titleThe Cause

If you encounter this message it is very likely that you have deactivated an add-on that contains a space blueprint.

If it is only deactivated, simply activating it again will make the problem go away.

Section
titleReproducing the Problem

To reproduce the problem follow these steps:

  1. Have an add-on installed that provides at least on space blueprint
  2. Deactivate this add-on
  3. Try to create a new space with the space wizard (Spaces -> Create Space)

Instead of having a dialog top select a space wizard, you see the error message in the view and log file.

Section
titleNarrowing the Problem

After some further investigation we discovered that the problem is independent of the used database. With MySQL, PostgreSQL, and H2 the problem could be reconstructed.

We found that the problem first occurred with version 6.11.2 of Confluence, while in version 6.11.1 and before everything was fine.

At first we checked if the problem was only related to the projectdoc Toolbox, since 6.11.2 has been around for some time. We thought it very unlikely that such a problem would have gone unnoticed by the community. In fact the problem is reproducible with every space blueprint.

...