Closed (fixed)
Project:
Drupal 8 Cache Backport
Version:
7.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
23 Jul 2018 at 17:41 UTC
Updated:
17 Dec 2018 at 23:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
fabianx commentedWe should update README instead to say that cache_page should never use a D8CacheAttachmentsCollector (and maybe add a code warning too?)
Including common.inc here is not a good idea as it can lead to strange side effects during bootstrap.
Over to Brandon ...
Comment #3
fabianx commentedComment #5
bdragon commentedI pushed a change to README.txt to warn about this situation.
Here's a possible fix for making sure things don't crash and the misconfiguration doesn't go unnoticed.
Comment #6
bdragon commentedComment #7
fabianx commentedCan we use early return here to avoid indenting that much? Even if we double the set, that's not a problem.
Comment #8
bdragon commentedMakes sense.
Comment #9
fabianx commentedRTBC - looks great to me
Comment #11
bdragon commentedCommitted, thanks!