Closed (cannot reproduce)
Project:
Drupal core
Version:
8.0.x-dev
Component:
forum.module
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
10 Aug 2013 at 09:15 UTC
Updated:
29 Jul 2014 at 22:45 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
internetdevels commentedHere is the patch.
Comment #2
larowlanI think the dx of this needs work
Comment #3
larowlanWe should be injecting the Request into the block plugin here. See https://drupal.org/node/2012118.
Comment #4
andypostUse Drupal::currentUser() service https://drupal.org/node/2032447
or probably #2048223: Add $account argument to AccessCheckInterface::access() method and use the current_user service
Comment #5
larowlanLets get #1951268: Convert /forum and /forum/% to new router, remove forum_forum_load(), forum_get_topics(), create Forum service in first (which has been reviewed by @catch, @alexpott, @tim.plunkett, @jibran and @dawehner so must be close)
Comment #6
internetdevels commentedAs issue from comment above is resolved new patch attached.
Comment #7
andypostSuppose this require new issue to pass $account to access method of blockBase, at least this require proper service injection
Comment #8
internetdevels commentedcorrected
Comment #9
areke commentedThe patch doesn't apply, and needs to be re-rolled.
Comment #10
slimbk commentedComment #11
andypostAlready fixed