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

Remote API allows you to define a page with null title

XMLWordPrintable

      This code is allowed

      #!/usr/bin/env ruby -wKU
      
      require "xmlrpc/client"
      
      server = XMLRPC::Client.new("localhost","/rpc/xmlrpc",8080)
      
      token = server.call("confluence1.login","admin","admin")               
      session=server.proxy("confluence1",token)
      #Grab a page
      page=session.getPage("ds","home") 
      #Blank the title
      page["title"]=""
      #store the page
      session.storePage(page)                                                                  
      

              shaffenden Steve Haffenden (Inactive)
              twong Tim Wong (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: