Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
cache system
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
26 Mar 2015 at 11:40 UTC
Updated:
14 Apr 2015 at 15:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
fgmComment #2
fgmChecking.
Comment #3
dawehner+1
Comment #4
wim leersOMG this was just a straight-up bug. Great find!
Why this though? AFAIK We never repeat an "implements interface" statement when extending a class?
Comment #5
fgmThat's what I thought initially and why I didn't repeat the "implements" in RNCC since it was already in RCC. However, our practices on this issue appear to vary. Consider just the Cache API itself, copied from the source:
Seeing how this "implements" was repeated, I trod the same path, not seeing any standard for this question. We might want one, BTW: currently, all we have on interface use appears to be found at https://www.drupal.org/node/608152#interfaces
Comment #6
wim leersGreat find :) But
AccountPermissionsCacheContextused to implement\Drupal\Core\Cache\CalculatedCacheContextInterfacein an earlier iteration of the patch, then was refactored. So let's just remove that extraneousimplements CacheContextInterfaceinAccountPermissionsCacheContext? :)Comment #7
fgmOK, then : rerolled.
Comment #8
dawehnerAlright
Comment #9
wim leersThanks!
Comment #10
alexpottThis issue is a minor bug fix, and doesn't include any disruptive changes, so it is allowed per https://www.drupal.org/core/beta-changes. Committed 9db6e4e and pushed to 8.0.x. Thanks!