Bug #93771
closedPageRepository and Workspaces
0%
Description
In file
typo3/sysext/frontend/Classes/Page/PageRepository.php
in function getWorkspaceVersionOfRecord is it possible to do a query with empty fields list:
This happens in case of workspaces and fe group restricted pages in function versionOL:
// No version found, then check if t3ver_state = VersionState::NEW_PLACEHOLDER
// (online version is dummy-representation)
// Notice, that unless $bypassEnableFieldsCheck is TRUE, the $row is unset if
// enablefields for BOTH the version AND the online record deselects it. See
// note for $bypassEnableFieldsCheck
/** @var \TYPO3\CMS\Core\Versioning\VersionState $versionState */
$versionState = VersionState::cast($row['t3ver_state']);
if ($wsAlt <= -1 || $versionState->indicatesPlaceholder()) {
// Unset record if it turned out to be "hidden"
$row = false;
}
while building the menue.
Files
Updated by Anonymous over 3 years ago
PS: The error happens on preview of a engl page (language uid 1) of a workspace out of the backend.
Updated by Anonymous over 3 years ago
PS2: MySQL 5.5.5-10.3.27-MariaDB-0+deb10u1
Updated by Benni Mack over 3 years ago
- Status changed from New to Needs Feedback
Hey Enrico,
can you send me your TypoScript definition for the Menu, and extraction of the Site Config for the Languages? This sounds very strange to me, as this API call is usually hidden below other methods.
All the best,
Benni.
Updated by Riccardo De Contardi over 3 years ago
- Status changed from Needs Feedback to Closed
No feedback since the last 90 days => closing this issue.
If you think that this is the wrong decision or experience the issue again and have more information about how to reproduce your problem, please reopen it or open a new issue with a reference to this one.
Thank you and best regards