Follow this steps to reproduce:
- Delete Sandbox.WebHome (or any page that has translations)
- Go to the recycle bin and filter for 'Sandbox.WebHome'
There are a few problems:
- You can see a list of 'duplicated' lines because the translation language is not displayed
- you don't know which is the default translation, so you don't know which document to restore first
- after you restore the default translation (or any other translation for that matter) you cannot restore the rest of the translations because the target document has been "recreated".
- depends on
XWIKI-10805 Expose Document.isTranslation() to the web API
- relates to
XWIKI-17570 Can't restore translation pages from Page Index