83167[BUGFIX] Allow search for newly created versioned records in page tree
Commit message
Review
-
Code review CR +2 Done
- Benni Mack +2
- Oli Bartsch +1
- Christian Kuhn +1
-
Verified V +2 Done
- Benni Mack +2
- Oli Bartsch +1
- Christian Kuhn +1
- core-ci +1 CI
Issues 1
Files 1
Review log 78
-
Benni Mack uploaded patch set 1 03/01/24, 07:38
-
core-ci voted on patch set 1 V +1 03/01/24, 07:43 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/53741
-
Oli Bartsch voted on patch set 1 CR +1 V +1 03/01/24, 14:14
-
Lina Wolf commented on patch set 1 03/04/24, 09:43
My issue which is maybe not related after all is not resolved by this patch -
Lina Wolf commented on patch set 1 03/04/24, 09:48
Reply
The following would solve it: ``` Index: Classes/Hooks/TreelistCacheUpdateHooks.php IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== diff --git a/Classes/Hooks/TreelistCacheUpdateHooks.php b/Classes/Hooks/TreelistCacheUpdateHooks.php --- a/Classes/Hooks/TreelistCacheUpdateHooks.php +++ b/Classes/Hooks/TreelistCacheUpdateHooks.php (date 1709543377998) @@ -78,7 +78,7 @@ if ($status === 'new') { // Detect new pages // Resolve the uid - $affectedPageUid = $dataHandler->substNEWwithIDs[$recordId]; + $affectedPageUid = $dataHandler->substNEWwithIDs[$recordId] ?? 0; $affectedPagePid = $updatedFields['pid']; } elseif ($status === 'update') { // Detect updated pages ``` -
Christian Kuhn voted on patch set 1 CR +1 V +1 03/05/24, 18:00
-
Benni Mack voted on patch set 1 CR +2 V +2 05/14/24, 11:54
-
Benni Mack merged patch set 2 05/14/24, 11:55