Bug: Incorrect property name in confluence.cfg.xml.j2 template
Summary
Current confluence.cfg.xml.j2 template references the property webwork.multipart.saveDir. This property was changed in a recent upgrade to struts.multipart.saveDir. The incorrect property does not allow for space restores to occur.
Steps to reproduce
Attempt to restore a space backup with the property name currently set. Change the property to struts.multipart.saveDir and attempt a restore.
What is the current bug behavior?
With current property name a space backup restore will result in the restore failing and an error in the logs: ERROR [http-nio-8090-exec-7] [xhtml.view.macro.ViewMacroMarshaller] handleMacroExecutionException Error rendering macro: view-file xxxxxxxxx | userName: username | action: viewpage | url: /pages/viewpage.action java.lang.IllegalStateException: struts.multipart.saveDir property has not been defined
What is the expected correct behavior?
The space backup restore should process.
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's very hard to read otherwise.)
Possible fixes
confluence.cfg.xml.j2 line 11 should read ${localHome}/temp per Atlassian documentation at https://confluence.atlassian.com/confkb/struts-multipart-savedir-property-has-not-been-defined-error-when-saving-1312587934.html
Tasks
-
Bug has been identified and corrected within the container
Please read the Iron Bank Documentation for more info