Issue Bug Closed

#99211Overriding saveAndClose in NewContentElementWizard to false does not work as expected

Kevin Appelt 11/28/22, 12:45 updated 07/09/24, 12:46

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)

Reviews 3

History 26

  1. Gerrit Code Review pushed patch set 1 for main to change 84528 status New Under Review 06/08/24, 07:48

  2. Gerrit Code Review pushed patch set 2 for main to change 84528 06/08/24, 09:07

  3. Gerrit Code Review pushed patch set 1 for 12.4 to change 84627 06/11/24, 19:33

  4. Gerrit Code Review pushed patch set 1 for 11.5 to change 84633 06/11/24, 19:33

  5. Georg Ringer commented and changed status Under Review Resolved done 0 % 100 % 06/11/24, 19:35

    Applied in changeset commit:1ed5138047e039119f541ec7b39c6a3b4830aeec.

  6. Benni Mack changed status Resolved Closed 07/09/24, 12:46