Project

General

Profile

Actions

Bug #99211

closed

Overriding saveAndClose in NewContentElementWizard to false does not work as expected

Added by Kevin Appelt over 1 year ago. Updated 8 days ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Start date:
2022-11-28
Due date:
% Done:

100%

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

Description

Using 'false' doesn't have any impact.
Using '0' works and disables the behaviour.

Issue seems to be

$itemConf['saveAndClose'] = (bool)$itemConf['saveAndClose'];

(bool)'false' results in bool(true)
While (bool)'0' (or maybe (bool)0, not sure what it is, but it does not matter in this case) results in bool(false)

Actions

Also available in: Atom PDF