Wiki source code of Page Restore Limitations
Last modified by Eleni Cojocariu-testing account on 2026/08/21 16:38
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | Two cases stop a [[restore>>xwiki:documentation.xs.admin.base.page.index.restore-page.WebHome]] from putting a deleted Page back. | ||
| 2 | |||
| 3 | * ((( | ||
| 4 | You can't restore a Page that is a [[translation>>xwiki:documentation.xs.user.base.page.view.translate.translations.WebHome]], if the original Page (the Default Page Content) is not restored first or re-created. | ||
| 5 | |||
| 6 | {{image reference="cannot-restore.png" size="extra" alt="The Cannot restore message displayed for a Page that is a translation"/}} | ||
| 7 | |||
| 8 | Clicking on "Cannot restore" will redirect you to the location of the Default Page Content where you can re-[[create it>>xwiki:documentation.xs.user.base.page.create.WebHome]]. | ||
| 9 | ))) | ||
| 10 | * ((( | ||
| 11 | If one of the Pages in the batch has been [[recreated>>xwiki:documentation.xs.admin.base.page.index.page-replacement.WebHome]] rather than restored from the recycle bin, the restore fails for that Page, and the Job Log names it. | ||
| 12 | |||
| 13 | {{image reference="restore-failed.png" size="large" alt="The Job Log showing the Page that failed to restore"/}} | ||
| 14 | |||
| 15 | The batch still reports "Done" and its other Pages are restored. The one that failed can be [[replaced with the deleted Page>>xwiki:documentation.xs.admin.base.page.index.page-replacement.WebHome]]. | ||
| 16 | ))) |