Closed (fixed)
Project:
Colossal Menu
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Jun 2016 at 15:06 UTC
Updated:
24 Sep 2016 at 15:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
a.dmitriiev commentedHere is the patch with proposed solution
Comment #3
a.dmitriiev commentedComment #4
davidwbarratt commentedThis is correct, but the second argument should either be
NULLto use the current user, or the current user service should be injected rather than making the service aware of the container.Comment #5
wolffereast commentedRe-rolled the patch to remove the current user service dependency. No need to inject the service as NULL defaults to the current user.
Just to note the symptoms - I was getting a whitescreen with error
Fatal error: Call to a member function isAllowed() on a non-object in /core/lib/Drupal/Core/Menu/DefaultMenuLinkTreeManipulators.php on line 93
This patch fixes that issue
Comment #6
wolffereast commentedComment #8
davidwbarratt commented