Closed (fixed)
Project:
Filebrowser
Version:
8.x-2.x-dev
Component:
Miscellaneous
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 May 2017 at 08:33 UTC
Updated:
23 May 2017 at 23:55 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
alex.bukach commentedIt happens since
\Drupal::routeMatch()->getParameter('node')might return not only node object, but also raw node ID depending on menu path (see e.g. https://drupal.stackexchange.com/questions/229100/convert-view-route-par...).Comment #3
alex.bukach commentedCovered two more usages.
Comment #5
clivesj commentedThanks for the patch.
I have moved the helper function to filebrowser.common Service where the other helpers reside.
Commited to dev and released beta5
Comment #6
clivesj commented