Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-16495

User cannot update the page which contains pagetree macro when it is updated using XMLRPC

    XMLWordPrintable

Details

    Description

      Customer experiences a problem when he tries to update page which contains pagetree using XMLRPC. This problem does exist in the version 1.10.2 and 1.11 on confluence 2.10.2. But, it does not exist in Confluence 3.0 (which is the latest version).

      Here is piece of code to reproduce the problem:

                  XmlRpcClientConfigImpl config = new XmlRpcClientConfigImpl();
                  config.setServerURL(new URL("http://localhost:8300/rpc/xmlrpc"));
                  XmlRpcClient client = new XmlRpcClient();
                  client.setConfig(config);
                  Object[] params = new Object[]{"admin", "arie"};
                  String token = (String) client.execute("confluence1.login", params);
                  System.out.println("token: "+token);
      
                  HashMap temp = new HashMap();
                  temp.put("space", "tete");
                  temp.put("id", "2949122");
                  temp.put("title", "semprul");
                  temp.put("version", "1");
                  
                  temp.put("content", "{pagetree} tambah ganteng");
                  params = new Object[]{token, temp};
                  client.execute("confluence1.storePage", params);
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            amurdianto Arie Murdianto
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: