Issue Bug Under Review

#111572Workspace preview info box appears twice on error pages

Matthias Vogel 11/25/26, 08:21 updated 11/27/26, 11:14

Description

A backend user previews a workspace in the frontend and opens a URI that does not exist, or a page whose plugin answers “page not found”. The site shows its configured error page (“Show content from page”). The HTML contains the workspace preview info box (id="typo3-preview-info") twice at the same position. Cause: PageContentErrorHandler fetches the error page with a sub-request through all frontend middlewares, and WorkspacePreview adds the box in the sub-request and again in the outer request. On main the “highlight changes” checkbox in the visible box has no effect. On 14.3 the duplicate is only visible in the HTML. Affected: 14.3, main.

Reviews 1

History 04

  1. Gerrit Code Review pushed patch set 1 for main to change 97996 status New Under Review 11/25/26, 08:24

  2. Gerrit Code Review pushed patch set 2 for main to change 97996 11/27/26, 02:11

  3. Gerrit Code Review pushed patch set 3 for main to change 97996 11/27/26, 09:25

  4. Gerrit Code Review pushed patch set 4 for main to change 97996 11/27/26, 11:14