Project

General

Profile

Actions

Bug #89927

closed

Workspace Publishing: marked records not cleared

Added by Andreas Kiessling over 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2019-12-12
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The publishing process in the workspace module seems to not clear the selected items after a first run.
Thus publishing multiple times (without reloading the whole backend) crashes with error messages like this:

Element "tt_content:35" does not exist

How to reproduce:
  • open workspace module
  • select a record
  • use "Choose selection action" -> Publish
  • confirm the modal -> first publish works, module seems to reload and the previously selected is not shown anymore
  • select another record and publish again
  • modal keeps spinning, network request shows an exception like above

Although the first record is not shown anymore in the workspace module, it is included in the second request again. The selection of records is stored in Backend.markedRecordsForMassAction, which seems to be not cleared after any publishing action.
I could reproduce this error in TYPO3 8.7 and 9.5, in 10.2 the backend module seems to be broken and crashed with a different error. But judging from the TypeScript code, the selection seems to be not cleared either https://github.com/TYPO3/TYPO3.CMS/blob/master/Build/Sources/TypeScript/workspaces/Resources/Public/TypeScript/Backend.ts

For anyone with the same problem: just reload the workspace-module, e.g. by clicking the page in the pagetree again and run the second publish afterwards.

Actions

Also available in: Atom PDF