Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-16920

Partial XAR export includes non-selected pages

    Details

    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      To reproduce:

      • Use the standalone jetty/hsqldb distribution
      • Modify Sandbox.WebHome's content
      • Go to Admin UI > Content > Export
      • Click on "none" to remove all selection from the default filter
      • Click on Sandbox
      • Select history and backup options (haven't tried without so it's possible this doesn't have any effect)
      • Export

      You should get the following:

      vmassol /tmp $ unzip ~/Downloads/export\ \(1\).xar 
      Archive:  /Users/vmassol/Downloads/export (1).xar
        inflating: Sandbox/WebHome.xml     
        inflating: Sandbox/WebHome.lv.xml  
        inflating: Sandbox/WebHome.it.xml  
        inflating: Sandbox/WebHome.zh_TW.xml  
        inflating: Sandbox/WebHome.de.xml  
        inflating: Sandbox/WebHome.fr.xml  
        inflating: Sandbox/WebHome.es.xml  
        inflating: Sandbox/WebHome.ca.xml  
        inflating: Sandbox/WebHome.da.xml  
        inflating: Sandbox/WebHome.uk.xml  
        inflating: Sandbox/WebHome.zh.xml  
        inflating: Sandbox/WebHome.ru.xml  
        inflating: Sandbox/WebHome.pt_BR.xml  
        inflating: XWiki/Admin.xml         
        inflating: XWiki/SearchConfig.xml  
        inflating: package.xml 
      

      As you can see there are 2 pages that are not supposed to be there: Admin.xml and SearchConfig.xml.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mflorea Marius Dumitru Florea
                Reporter:
                vmassol Vincent Massol
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: