Bug #91234
closedHistory/Undo doesn't work when subpage has been deleted (as non-admin)
0%
Description
The history/undo buttom runs into the following error:
(1/1) #1578950324 RuntimeException
The given page record is invalid. Missing uid.
This can be reproduced by following these steps:
- Create page A
- Create page B as subpage to A
- Delete the subpage
- As a non-admin right click on page A and select history/undo
Some TYPO3 internal things:
[...]
at TYPO3\CMS\Backend\History\RecordHistory->createChangeLog()
at TYPO3\CMS\Backend\History\RecordHistory->getHistoryData('pages', 2226, true, null)
at TYPO3\CMS\Backend\History\RecordHistory->getHistoryDataForRecord('pages', 6909, null)
at TYPO3\CMS\Backend\History\RecordHistory->hasPageAccess('pages', 6909)
at TYPO3\CMS\Core\Authentication\BackendUserAuthentication->doesUserHaveAccess(array('deleted' => 1, 'uid' => null), 1)
at TYPO3\CMS\Core\Authentication\BackendUserAuthentication->calcPerms(array('deleted' => 1, 'uid' => null))
at TYPO3\CMS\Core\Authentication\BackendUserAuthentication->isInWebMount(array('deleted' => 1, 'uid' => null)) -> throw new \RuntimeException('The given page record is invalid. Missing uid.', 1578950324);