Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
block.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
20 Jan 2013 at 14:38 UTC
Updated:
29 Jul 2014 at 21:47 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
xjmComment #2
berdirOk, here we go. Test coverage and the fix, which is trivial now that the cache decorator is fixed.
Comment #3
berdirDocumentation fixes for the test. the wording there can probably be improved a bit :)
Comment #4
berdirAnd removed that commented out code, that wasn't actually necessary.
Comment #5
berdirHas tests :)
Comment #6
aspilicious commentedThnx!
Comment #7
webchickWow! Great work on the test lines of code: fix line of code ratio! :D
Committed and pushed to 8.x. Thanks!
Comment #8
tim.plunkettThis wasn't rerolled/retested after #293318: Convert Aggregator feeds into entities :(
Comment #9
webchickbzzzt.
Committed and pushed to 8.x. Thanks!
Comment #10
sunWhy did we add this test to Aggregator module?
The code, logic, and fix belongs to Block module's plugin manager, so essential test coverage for Block module's own functionality lives in Aggregator module now.
Comment #11
berdirWell, we can move it. Aggregator was one of the obvious real use cases, so that's what I picked it for writing the test.
If #1888702: Use configuration selection instead of derivatives for some blocks happens, then we kinda need to move it, although I'm not sure if any real derivate examples will remain, is there a test derivate block plugin implementation that we could use?
Comment #12
sunComment #13
berdirYes, let's do this :)
Comment #14
catchOpened #1907434: Add a helper for clearing of multiple (but finite) variations of cache IDs - cache tags might not be the best choice for stuff that only varies by language.
Comment #15
catchCommitted/pushed to 8.x, thanks!