Issue Bug Closed

#99876Undefined array key "SYS_LASTCHANGED" in TypoScriptFrontendController.php:2420

Thomas Hohn 02/08/23, 09:34 updated 03/14/23, 11:47

Description

We should add a null coalescing operator around the access to $this->register[‘SYS_LASTCHANGED’] – here

if ($this->page['SYS_LASTCHANGED'] < (int)$this->register['SYS_LASTCHANGED'] && !$this->doWorkspacePreview()) {

like in #98995

Reviews 2

History 38

  1. Thomas Hohn changed subject Undefined array key "SYS_LASTCHANGED" in ContentObjectRenderer.php:2420 Undefined array key "SYS_LASTCHANGED" in TypoScriptFrontendController.php:2420 02/08/23, 09:37

  2. Gerrit Code Review pushed patch set 1 for main to change 77784 status New Under Review 02/08/23, 09:44

  3. Gerrit Code Review pushed patch set 2 for main to change 77784 02/08/23, 10:34

  4. Gerrit Code Review pushed patch set 3 for main to change 77784 02/08/23, 10:56

  5. Gerrit Code Review pushed patch set 4 for main to change 77784 02/08/23, 13:25

  6. Gerrit Code Review pushed patch set 1 for 11.5 to change 77819 02/10/23, 08:09

  7. Thomas Hohn commented and changed status Under Review Resolved done 0 % 100 % 02/10/23, 08:10

    Applied in changeset commit:eaf0442ddf55c99e56fb7bbe7f3b5d173a389472.

  8. Benni Mack changed status Resolved Closed 03/14/23, 11:47