#110003Internal description is not rendered in page module preview footer when no restrictions are configured
Description
The page module preview footer does not render the Internal Description field if the record has no restriction-related information configured.
Affected method:
renderPageModulePreviewFooter()
Current behavior:
The method collects restriction-related fields (start time, end time, user groups) and spacing fields into the $info array. It then returns early when $info is empty:
if ($info === []) {
return ‘’;
}
The Internal Description field is processed only after this early return. As a result, records that contain only an Internal Description and no restrictions/spacings do not display the description in the preview footer.
Expected behavior:
The Internal Description should be rendered regardless of whether restriction-related information exists.
Suggested fix:
Process the Internal Description before checking whether $info is empty, or move the empty-array check to the end of the method after all footer information has been collected.
Example:
- Record contains an Internal Description.
- No start time, end time, frontend user group restrictions.
- No spacing configuration.
Result:
The preview footer is empty, although the Internal Description should be displayed.
This appears to be a regression introduced with the code changes starting from TYPO3 14.2.0.
In versions before 14.2.0, the Internal Description was rendered in the page module preview footer. Since 14.2.0, the method returns early when no restriction-related fields are present, before the Internal Description field is processed.
Therefore, content elements or records with only an Internal Description but without start time, end time, user group restrictions, or spacing fields no longer show the description in the preview footer.
Reviews 2
Related issues 1
History 37
-
Gerrit Code Review pushed patch set 1 for main to change 94332 status
NewUnder Review <span data-processor="relativetime" data-value="2026-06-05T06:35:43+00:00" > 06/05/26, 06:35 </span> -
Gerrit Code Review pushed patch set 2 for main to change 94332 <span data-processor="relativetime" data-value="2026-06-05T07:53:51+00:00" > 06/05/26, 07:53 </span>
-
Garvin Hicking changed Related to #108819 <span data-processor="relativetime" data-value="2026-06-05T07:53:59+00:00" > 06/05/26, 07:53 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 94332 <span data-processor="relativetime" data-value="2026-06-05T07:55:36+00:00" > 06/05/26, 07:55 </span>
-
Gerrit Code Review pushed patch set 1 for 14.3 to change 94353 <span data-processor="relativetime" data-value="2026-06-08T07:40:30+00:00" > 06/08/26, 07:40 </span>
-
Ravi Sachaniya commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-06-08T07:45:11+00:00" > 06/08/26, 07:45 </span> -
Benni Mack changed status
ResolvedClosed <span data-processor="relativetime" data-value="2026-08-11T08:50:52+00:00" > 08/11/26, 08:50 </span>
Applied in changeset commit:f248089bc5b88430b6bcf8cd9a8a4b6ce1a6f3aa.