Issue Bug Resolved

#111290Publishing from the workspace preview fails with "Not implemented"

Matthias Vogel 10/30/26, 09:09 updated 11/02/26, 16:20

Description

Problem

Sending a page to the stage “Publish” (-20) from the frontend workspace preview does not publish anything. The AJAX call answers with status 500 and the error {"method":"publishPageCollectionExecute","error":{"message":"Not implemented","code":1762777405}}.

Steps to reproduce

  1. Switch to a workspace with a stage configuration that ends in “Publish” and change a page in it
  2. Open the workspace preview of the page (View button)
  3. Send the page to the next stages until the button leads to “Publish” and confirm the dialog
  4. The page is not published, the AJAX request to /typo3/ajax/workspace/preview fails with “Not implemented” (1762777405)

Cause

Since #108649 (commit 62c70bc7bb2, “[FEATURE] Add “publish” command to DataHandler”) Build/Sources/TypeScript/workspaces/preview.ts sends the method publishPageCollectionExecute for the target stage -20. The preview calls the AJAX route workspace_preview, i.e. WorkspacesAjaxController::preview(), but the method is only registered in WorkspacesAjaxController::dispatch() (route workspace_dispatch of the Workspaces module). preview() therefore ends in its default branch.

Suggested fix

--- a/typo3/sysext/workspaces/Classes/Controller/WorkspacesAjaxController.php
+++ b/typo3/sysext/workspaces/Classes/Controller/WorkspacesAjaxController.php
@@ public function preview(ServerRequestInterface $request): ResponseInterface
             'publishPageDirectly' => $this->publishPageDirectly((int)$call->data[0]),
+            'publishPageCollectionExecute' => $this->publishPageCollectionExecute($call->data[0]),
             'updateStageChangeButtons' => $this->updateStageChangeButtons((int)$call->data[0], $request),

Reviews 1

History 13

  1. Matthias Vogel commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-11-02T16:20:13+00:00" > 11/02/26, 16:20 </span>

    Applied in changeset commit:d311fdce1504f6a00ccb7f630d92e35bf3c56648.