-
Bug
-
Resolution: Fixed
-
Medium
-
None
-
Location: https://pug.jira.com/wiki/display/CONFDEV/Summit+2014+Confluence+Demo
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Firefox/31.0
Referrer: https://pug.jira.com/wiki/display/CONFDEV/Summit+2014+Confluence+Demo?moved=true
Screen Resolution: 1920 x 1200
User Name: barconati
Current Dark Features: notes,editor.quicker.quick.comment,email-tracking,editor.quicker.quick.comment.edit,searchv3,page-metadata-banner,federated.search,notifications.rolemedium.hipchat.SHARE_PAGE,notification.plugin.api.enabled.admin.settings.page,confluence-inline-comments-resolved,content.rank,ondemand.marketplace.prototype,notifications.rolemedium.hipchat.TASK_UPDATE_NOTIFICATION,api.viewpage.link,recently-viewed.quicknav,editor.chunky.tips,jirachart.twodimensional,dfe.persistence,confluence-questions,heatmapper,hipchat-emoticons,allow.upload.all.file.types,notification.plugin.api.enabled.rest.static,rotp.project.shortcuts,connect-page-history,lighter-editor-v1,jirachart.createdvsresolved,rotp.admin.shortcuts,confluence-inline-comments,confluence-highlight-internal-non-privacy-policy-safe-events,view-file-macro-placeholder,confluence-monitoring.ignore.ondemand.check,notifications.medium.hipchat,show-drag-and-drop-overlay,confluence.request.access.enable,notifications.rolemedium.hipchat.com.atlassian.confluence.plugins.mentions,editor.breadcrumbs,dfe.pin-toolbar,editor-image-scale-by-height,notification.plugin.api.enabled.com.atlassian.confluence.event.events.content.blogpost.BlogPostCreateEvent,notification.plugin.api.enabled.com.atlassian.confluence.event.events.content.page.async.PageEditedEvent,notification.plugin.api.enabled.com.atlassian.confluence.plugins.tasklist.event.SendTaskEmailEvent,notification.plugin.api.enabled.com.atlassian.confluence.event.events.content.comment.CommentUpdateEvent,notification.plugin.api.enabled.com.atlassian.confluence.event.events.content.comment.CommentCreateEvent,notification.plugin.api.enabled.com.atlassian.confluence.event.events.content.page.async.PageMovedEvent,notification.plugin.api.enabled.com.atlassian.confluence.event.events.follow.FollowEvent,notification.plugin.api.enabled.com.atlassian.confluence.plugins.sharepage.api.ShareContentEvent,notification.plugin.api.enabled.com.atlassian.confluence.event.events.content.blogpost.BlogPostUpdateEvent,notification.plugin.api.enabled.com.atlassian.confluence.plugins.mentions.api.ConfluenceMentionEvent,notification.plugin.api.enabled.com.atlassian.confluence.event.events.content.attachment.AttachmentBatchUploadCompletedEvent,notification.plugin.api.enabled.com.atlassian.confluence.event.events.security.ForgotPasswordEvent,notification.plugin.api.enabled.com.atlassian.confluence.event.events.content.page.async.PageCreatedEvent,notification.plugin.api.enabled.com.atlassian.confluence.event.events.like.LikeCreatedEvent,notification.plugin.api.enabled.com.atlassian.confluence.event.events.content.blogpost.BlogPostMovedEvent
SpaceTheme: lighter-editor theme-default aui-layout aui-theme-default
VersionNumber: 5.6-DEV-4707Location : https://pug.jira.com/wiki/display/CONFDEV/Summit+2014+Confluence+Demo User-Agent : Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Firefox/31.0 Referrer : https://pug.jira.com/wiki/display/CONFDEV/Summit+2014+Confluence+Demo?moved=true Screen Resolution : 1920 x 1200 User Name : barconati Current Dark Features : notes,editor.quicker.quick.comment,email-tracking,editor.quicker.quick.comment.edit,searchv3,page-metadata-banner,federated.search,notifications.rolemedium.hipchat.SHARE_PAGE,notification.plugin.api.enabled.admin.settings.page,confluence-inline-comments-resolved,content.rank,ondemand.marketplace.prototype,notifications.rolemedium.hipchat.TASK_UPDATE_NOTIFICATION,api.viewpage.link,recently-viewed.quicknav,editor.chunky.tips,jirachart.twodimensional,dfe.persistence,confluence-questions,heatmapper,hipchat-emoticons,allow.upload.all.file.types,notification.plugin.api.enabled.rest.static,rotp.project.shortcuts,connect-page-history,lighter-editor-v1,jirachart.createdvsresolved,rotp.admin.shortcuts,confluence-inline-comments,confluence-highlight-internal-non-privacy-policy-safe-events,view-file-macro-placeholder,confluence-monitoring.ignore.ondemand.check,notifications.medium.hipchat,show-drag-and-drop-overlay,confluence.request.access.enable,notifications.rolemedium.hipchat.com.atlassian.confluence.plugins.mentions,editor.breadcrumbs,dfe.pin-toolbar,editor-image-scale-by-height,notification.plugin.api.enabled.com.atlassian.confluence.event.events.content.blogpost.BlogPostCreateEvent,notification.plugin.api.enabled.com.atlassian.confluence.event.events.content.page.async.PageEditedEvent,notification.plugin.api.enabled.com.atlassian.confluence.plugins.tasklist.event.SendTaskEmailEvent,notification.plugin.api.enabled.com.atlassian.confluence.event.events.content.comment.CommentUpdateEvent,notification.plugin.api.enabled.com.atlassian.confluence.event.events.content.comment.CommentCreateEvent,notification.plugin.api.enabled.com.atlassian.confluence.event.events.content.page.async.PageMovedEvent,notification.plugin.api.enabled.com.atlassian.confluence.event.events.follow.FollowEvent,notification.plugin.api.enabled.com.atlassian.confluence.plugins.sharepage.api.ShareContentEvent,notification.plugin.api.enabled.com.atlassian.confluence.event.events.content.blogpost.BlogPostUpdateEvent,notification.plugin.api.enabled.com.atlassian.confluence.plugins.mentions.api.ConfluenceMentionEvent,notification.plugin.api.enabled.com.atlassian.confluence.event.events.content.attachment.AttachmentBatchUploadCompletedEvent,notification.plugin.api.enabled.com.atlassian.confluence.event.events.security.ForgotPasswordEvent,notification.plugin.api.enabled.com.atlassian.confluence.event.events.content.page.async.PageCreatedEvent,notification.plugin.api.enabled.com.atlassian.confluence.event.events.like.LikeCreatedEvent,notification.plugin.api.enabled.com.atlassian.confluence.event.events.content.blogpost.BlogPostMovedEvent SpaceTheme : lighter-editor theme-default aui-layout aui-theme-default VersionNumber : 5.6-DEV-4707
-
9
-
NOTE: This bug report is for Confluence Cloud. Using Confluence Server? See the corresponding bug report.
Steps to Reproduce
- Create a page with name 'abc'
- Create other page with name 'page to be moved'
- Insert a link to 'page to be moved' on 'abc'
- Delete page 'abc'
- Create a page with name 'abc' again
- This operation is successful
- Insert a link to 'page to be moved' on 'abc' (optional)
- Move 'page to be moved' to somewhere else
- This operation fails. The below appears in the atlassian-confluence.log
2014-08-12 10:06:51,870 ERROR [http-bio-8391-exec-507] [atlassian.event.internal.AsynchronousAbleEventDispatcher] run There was an exception thrown trying to dispatch event [com.atlassian.confluence.event.events.content.page.PageMoveCompletedEvent[source=page: "Page that is failed to be moved" v.14 (11239782)]] from the invoker [SingleParameterMethodListenerInvoker{method=public void com.atlassian.confluence.links.RelatedContentRefactoringListener.handleEvent(com.atlassian.confluence.event.events.content.page.PageMoveCompletedEvent), listener=com.atlassian.confluence.links.RelatedContentRefactoringListener@5f33c0b7}] -- url: /confluence/pages/movepage.action | userName: PVanhoof | referer: https://wiki.test.com/confluence/pages/listpages-dirview.action?key=spaceKey&openId=11239782#selectedPageInHierarchy | action: movepage java.lang.RuntimeException: A page already exists with the title "Unrelated with the page you want to move" in the space with key spaceKey at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:48) at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:253) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:107) at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160) at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79) at com.atlassian.event.legacy.LegacyEventManager.publishEvent(LegacyEventManager.java:36) at com.atlassian.confluence.event.ConfluenceEventManager.publishEvent(ConfluenceEventManager.java:47) at sun.reflect.GeneratedMethodAccessor166.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy26.publishEvent(Unknown Source) at com.atlassian.confluence.pages.DefaultPageManager.publishPageMoveEvents(DefaultPageManager.java:1150) at com.atlassian.confluence.pages.DefaultPageManager.movePageAsChild(DefaultPageManager.java:714) ... Caused by: com.atlassian.confluence.pages.DuplicateDataRuntimeException: A page already exists with the title "Unrelated with the page you want to move" in the space with key spaceKey at com.atlassian.confluence.pages.DefaultPageManager.throwIfDuplicateAbstractPageTitle(DefaultPageManager.java:1067) at com.atlassian.confluence.pages.DefaultPageManager.saveContentEntity(DefaultPageManager.java:992) at sun.reflect.GeneratedMethodAccessor1554.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:16) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at com.atlassian.confluence.util.profiling.ConfluenceMonitoringMethodInterceptor.invoke(ConfluenceMonitoringMethodInterceptor.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy59.saveContentEntity(Unknown Source) at com.atlassian.confluence.links.DefaultRelatedContentRefactorer.contractAbsoluteReferencesInContent(DefaultRelatedContentRefactorer.java:429) at com.atlassian.confluence.links.DefaultRelatedContentRefactorer.contractAbsoluteReferencesInContent(DefaultRelatedContentRefactorer.java:392) at com.atlassian.confluence.links.RelatedContentRefactoringListener.handleEvent(RelatedContentRefactoringListener.java:57) at sun.reflect.GeneratedMethodAccessor1800.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) ... 326 more
Workaround
Option 1:
- Change title of the page to be moved.
i.e. "Release Notes" to "Release Notes v1.0". - Move page to desired location.
The new title can be changed back to the original after completion.
Option 2:
- Check the error in the logs to find the space that contains the deleted page (this may not be the same space as the page you are moving).
- Purge the trash in that space (documentation).
When the trash is purged, all attachments on purged pages are permanently removed as well.
Option 3:
- Clone the page via Tools > Copy and save the page.
The title of the page will be "Copy of <page_title>". - Move cloned page to desired location.
You may rename the title page to the original after moving operation is successful by removing the "Copy of" words from the title. - Delete the old page (can't be moved) to remove redundancies.
- is related to
-
CONFSERVER-34649 Page move fails because of a deleted page
- Closed