Export Import a document with history
Last modified by Gabriela Anechitoaei on 2022/05/03 09:28
Steps to reproduce
- Create a nested document with multiple levels 1.2 (don't need to create document 1)
- Make some changes to the page (After each change save the page): e.g. add text, remove text, add a table, add a link
- Check the history of the page (history tab at the bottom of the document)
- Use the following link to export the page, including the history: http://localhost:8080/xwiki/bin/export/1/2/WebHome?format=xar&name=1.2.WebHome&pages=xwiki%3A1.2.WebHome&history=true
- Create a new wiki
- From the subwiki menu click on Administer Wiki > Content > Import
- Upload the XAR previously exported from the main wiki
- Click on the Available package link
- Choose the option "Replace the page history with the history from the package"
- Click on the Import button
- Go to the page imported and observe the history tab
Expected results
The user is able to export the document's history so that the same history is preserved when the document is imported in the new wiki. (IE3)