Page Copy Operation Fails when Clicking "Save"

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

When copying a page, at the point where you click "Save" the page either does not load or displays a System Error.

The following appears in the atlassian-confluence.log:

2012-10-21 12:37:32,738 ERROR [http-10432-10] [atlassian.confluence.servlet.ConfluenceServletDispatcher] sendError Could not execute action
 -- url: /pages/docopypage.action | userName: admin | referer: http://<BASE_URL>/pages/copypage.action?idOfPageToCopy=327685&spaceKey=TEST
java.lang.IllegalArgumentException: Source dir <CONFLUENCE_HOME>/attachments/ver003/nonspaced/201/77/327701/589830does not exist

Cause

Sometimes pages can reference the directory where a draft attachment once existed. If that directory no longer exists, then this error happens. I've been able to reproduce this once in my own testing, however after that I wasn't able to produce it, so I suspect this is an intermittent condition. The bug is currently being tracked at  CONF-27778 - Getting issue details... STATUS

Workaround

Create the missing directory tree. For example on a UNIX-based system to work around the example error:

mkdir -p <CONFLUENCE_HOME>/attachments/ver003/nonspaced/201/77/327701/589830
Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.