Unable to Save Changes in the Global Template
This problem is related to a third party plugin, and therefore not supported by Atlassian. See Atlassian Supported Plugins for more information.
Symptoms
Unable to save global template after editing the template. The following appears in the atlassian-confluence.log
:
Cause:
org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has been marked as
rollback-only at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit
(AbstractPlatformTransactionManager.java:626)
Stack Trace: [hide]
org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has been marked as
rollback-only at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit
(AbstractPlatformTransactionManager.java:626)
at com.atlassian.xwork.interceptors.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:132)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:115)
at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:
Cause
The scaffolding plugin macro - {text-data}, {toc} - is installed in the page template. Some versions of the plugin macro will cause this issue. Please check with
Adaptivist for the corrected version of the macro or further support.
Resolution
Update the plugin to the fixed version. See http://www.adaptavist.com/w/about/contact-us/ for support from Adaptivist. Alternatively, you may choose to remove
the plugin from your instance.