Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
cache system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
5 Feb 2024 at 23:30 UTC
Updated:
22 Feb 2024 at 00:04 UTC
Jump to comment: Most recent
Comments
Comment #6
taraskorpachI've created another merge request to avoid overwriting anyone's changes. @acbramley, could you take a look? Is it finally a "property promotion"?
Comment #7
andypostMR 6472 looks is what required but will have commit collision with #3419352: DatabaseBackend doesn't handle string typed $max_rows with $serializer
Comment #8
taraskorpachI've noticed this issue as well. Since I'm relatively new, could you explain how such conflicts are handled within the Drupal issue workflow? Will the conflicts be resolved in the issue that is merged first, or is there another way?
Comment #9
andypostAs the second one is RTBC already, let's keep this issue for rebase/re-roll
Comment #10
taraskorpachSounds great, thanks
Comment #11
smustgrave commentedPostponing on #3419352: DatabaseBackend doesn't handle string typed $max_rows with $serializer soon as that lands this just needs to be rebased and put back in review
Comment #13
acbramley commentedBlocker is in :)
Comment #14
taraskorpachLooks mergeable now.
Somewhat off-topic: PHPCS suggests that the code
$this->maxRows = $max_rows === NULL ? static::DEFAULT_MAX_ROWS : $max_rows;could be simplified to$this->maxRows = $max_rows ?? static::DEFAULT_MAX_ROWS;. Is it worth creating an issue for this?Comment #15
acbramley commentedLooking good, thanks!
Re #14 - yes that can definitely be tidied up in another issue :)
Comment #17
longwaveCommitted 5ce8ede and pushed to 11.x. Thanks!