Issue Bug New Stale Regression

#110077Hidden Content is visible in Workspace preview

S. H. 06/18/26, 11:49 updated 06/18/26, 11:55

Description

The hidden (disable) flag of tt_content elements is not honored in the workspace frontend preview (the “Staged version” of the Workspaces compare/preview view). Disabled content elements are rendered there although they must not be.

This affects (at least) two cases:

A) An element that is hidden in Live and has no workspace version.
B) An element that is newly created in the workspace and set to hidden there.

In both cases the disabled element appears in the workspace/staged preview. On the live site and in the live preview pane the elements are correctly hidden. This worked correctly in TYPO3 v12 and is a regression in v13.

Steps to reproduce

Case A – hidden in Live, no workspace overlay:
  1. Have at least one draft workspace configured (system extension workspaces).
  2. In the Live workspace, on any page, create a standard content element (e.g. CType Text) and set it to hidden. Do not create/edit a workspace version of it.
  3. In the backend, switch to the draft workspace.
  4. Open the page in the Workspaces module preview (Compare mode, “Published version” ↔ “Staged version”), or view the page in workspace context.
  5. Look at the Staged version pane.
Case B – created and hidden inside the workspace:
  1. In the draft workspace, on any page, create a new content element (e.g. CType Text) and set it to hidden. Do not publish.
  2. Open the same workspace preview as above and look at the Staged version pane.

Expected behavior:

The hidden element is not rendered in the workspace/staged preview — it is disabled and (Case A) has no workspace change un-hiding it / (Case B) would also be hidden after publishing.

Actual behavior

The hidden element is rendered in the workspace/staged preview. The live pane (ADMCMD_prev=LIVE) and the public live page correctly do not show it.

Additional information

  • The page itself is visible (not hidden); standard frontend content rendering is used (no custom DataProcessor).
  • In the Workspaces compare view, the live iframe (?ADMCMD_prev=LIVE) hides the element correctly; only the staged iframe shows it.

Environment

  • TYPO3: 13.4.28
  • PHP: 8.4.18
  • System extension: workspaces
    Might be similar to #108814 but does not – as descripbed above – depend on visibility of a page.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch

Commit message
[BUGFIX] Hidden Content is visible in Workspace preview Resolves: #110077 Releases: main