Skip to content

Commit

Permalink
[BUGFIX] Actually write cache for generated access field condition
Browse files Browse the repository at this point in the history
The manual backport of #91208 missed to actually write the calculcated
condition into the cache.

This patch adds the missing ->set() call.

Resolves: #91428
Related: #91208
Releases: 9.5
Change-Id: I01fdb93fddd85e52bf6b4a92cdec2706514e7200
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64513
Reviewed-by: Daniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: Susanne Moog <look@susi.dev>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Benjamin Franzke <bfr@qbus.de>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Benjamin Franzke <bfr@qbus.de>
  • Loading branch information
andreaskienast authored and bnf committed May 18, 2020
1 parent 6d9e803 commit cebeaf6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions typo3/sysext/frontend/Classes/Page/PageRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ protected function init($show_hidden)
$expressionBuilder->lt('pages.doktype', 200)
);
}
$cache->set($cacheIdentifier, $this->where_hid_del);
}
if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][self::class]['init'] ?? false)) {
foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][self::class]['init'] as $classRef) {
Expand Down

0 comments on commit cebeaf6

Please sign in to comment.