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);
Updated by Jahanbaba Mahilrasah over 4 years ago
This is apparently fixed by yesterdays release. May be closed.
Updated by Riccardo De Contardi over 4 years ago
- Status changed from New to Closed
Thank you for your quick findings and reply; I close this issue
If you think that this is the wrong decision or I have misunderstood you, please reopen it or ping me on Slack and I'll reopen it.