Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-54064

"java.lang.IllegalArgumentException: Can't add a parent from another space" error when creating decision after having moved Decision Register page to new space

    XMLWordPrintable

Details

    Description

      Steps to reproduce

      1. In a new space, create a page with the "Decision" blueprint.
      2. Go to the newly-created "Decision register" page in that space and move it to a second new space.
      3. Click the "Track another decision" button to add a new decision, click Create, and receive the following stack trace:
      Cause
      java.lang.IllegalArgumentException: Can't add a parent from another space.
          at com.atlassian.confluence.pages.Page.checkParentValid(Page.java:103)
      Stack Trace:[hide]
      java.lang.IllegalArgumentException: Can't add a parent from another space.
      	at com.atlassian.confluence.pages.Page.checkParentValid(Page.java:103)
      	at com.atlassian.confluence.pages.Page.setParentPage(Page.java:68)
      	at com.atlassian.confluence.pages.Page.addChild(Page.java:140)
      	at com.atlassian.confluence.plugins.createcontent.actions.CreateAndViewAction.beforeAdd(CreateAndViewAction.java:69)
      	at com.atlassian.confluence.pages.actions.CreatePageAction.doAdd(CreatePageAction.java:124)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:302)
      	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170)
      	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
      

      Seems to be related to CONF-5103.

      Attachments

        Issue Links

          Activity

            People

              agnes@atlassian.com Agnes Ro
              nmason Nick Mason
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: