Preconditions: The instance of XWiki must be configured with MySQL Database and an empty subwiki should be already created.
STEPS TO REPRODUCE
- Login as Admin and create a subwiki by choosing the "XWiki Standard Flavor - Sub Wiki"
- In the new subwiki, create a page (e.g. Pag1)
- Go to Administer Wiki -> Content -> Export
- Click Export
- Save the backup XAR file locally
- Go to the empty subwiki
- Click Drawer -> Administration, upload the XAR file and click Import
All the pages/documents are successfully exported from one subwiki and imported to another (empty) subwiki without any errors.
The importing process is finished with an error:
and the in the "List of erroneous pages" section is displayed "XWiki.XWikiPreferences" Page (screenshot attached).
The error is encountered only when the instance is running with MySQL Database and is reproducing no matter if the subwiki on which the XAR file is imported was created with the standard flavor or no flavor at all.