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

Selection of pages is not working for XML space export

XMLWordPrintable

      To reproduce:

      • Go to exportspacexml.action
      • Click 'Deselect All' and check the box for a single page
      • Click Export button
      • After the space export has completed, download it

      It will contain all pages in the space, not just the selected page.

      Workaround

      Server-side Permanent Workaround

      Edit the confluence/importexport/includes/export-spacetree-checkboxes.vm file and change the following line from:

      <input class="radio centered" type="radio"  id="contentOptionVisible" name="contentOption" value="all" checked="checked">
      

      to this:

      <input class="radio centered" type="radio"  id="contentOptionVisible" name="contentOption" value="visible" checked="checked">
      

      Client-side Temporary Workaround

      Using a tool like Firebug, right-click on the "Visible to you" radio button on the export as XML page and clickon "Inspect Element". Edit the "value" attribute's value and set it to "visible":

      <input type="radio" checked="checked" value="visible" name="contentOption" id="contentOptionVisible" class="radio centered">
      

              nbhawnani Niraj Bhawnani
              mhrynczak Mark Hrynczak (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 2h
                  2h
                  Remaining:
                  Remaining Estimate - 2h
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified