You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the page end date is in the past clicking on the "Form export" module shows exception regardless of the selected page in the page tree.
Problem happens because Frappant\FrpFormAnswers\Utility\BackendUtility::filterPagesForAccess() calls $page = $pageRepository->getPage($pid); but does not validate that it returns the result. It can return empty array, which is passed to self::getBackendUserAuthentication()->doesUserHaveAccess($page, 1), which fails inside TYPO3\CMS\Core\Authentication\BackendUserAuthentication::isInWebMount() because the value is empty array.
When the page end date is in the past clicking on the "Form export" module shows exception regardless of the selected page in the page tree.
Problem happens because
Frappant\FrpFormAnswers\Utility\BackendUtility::filterPagesForAccess()
calls$page = $pageRepository->getPage($pid);
but does not validate that it returns the result. It can return empty array, which is passed toself::getBackendUserAuthentication()->doesUserHaveAccess($page, 1)
, which fails insideTYPO3\CMS\Core\Authentication\BackendUserAuthentication::isInWebMount()
because the value is empty array.Stack trace:
TYPO3-Exception.html.zip
I will make the PR with the fix.
The text was updated successfully, but these errors were encountered: