|
| Summary: |
permanentlyDelete and restore batch APIs from services.refactoring don't work |
| Issue Type: |
Bug |
| Affects Versions: |
10.11.9, 16.10.11 |
| Assignee: |
Unassigned |
| Components: |
Refactoring |
| Created: |
22/Dec/25 17:44 |
| Priority: |
Major |
| Reporter: |
Anca Luca |
| Description: |
This issue concerns the permanentlyDelete and restore functions of the services.refactoring API that take a batch as a parameter, introduced by XWIKI-15787, and documented in https://extensions.xwiki.org/xwiki/bin/view/Extension/Refactoring%20Module#HRestoreabatchofdeleteddocuments28since29 . How to reproduce:
- create a page
- delete this page
- from the recycle bin or in the view screen of the deleted page, copy the batch id that corresponds to this page deletion
- in a page, attempt the permanently delete using the following piece of script (in a groovy script):
- in another page (or the same), attempt the restore of the batch using the following piece of script (in a groovy script):
Expected result:
- depending on the used script, the batch is permanently deleted or restored
Actual result:
- there is no impact on the pages in the recycle bin (nor permanent deletion nor restore)
- in the logs of the permanentlyDelete or restore jobs (if fetched from the job logs), the following message appears:
|
|