Closed (fixed)
Project:
Admin Toolbar
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
21 Nov 2017 at 17:18 UTC
Updated:
15 Dec 2017 at 19:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
berdirComment #3
berdirWrong --relative.
Comment #5
adriancidHi @Berdir, thanks for the patch, this is related to the following issues?
#2925145: Notice: Undefined index: url
#2925136: Loss of dropdown when enabling admin_toolbar_tools
Comment #7
adriancidComment #8
adriancidHi @Berdir, I notice that I have now Comments twice after apply your patch, can you check on your side?
Comment #9
berdirYeah, that's tricky because core that defines that *both* as a local task and a menu link, see comment.links.menu.yml and comment.links.task.yml.
That is actually a one-off workaround because adding local tasks to the menu is something that core doesn't do.
Maybe we could either add a specific check for this or a more generic duplicate check?
Comment #10
adriancidYes, I just see this in Routes node.add.CONTENT_TYPE are no longer available starting from Drupal 8.4 in hook_menu_links_discovered_alter()?
Maybe we need to create an issue for Drupal about this? And add a workaround until the issue will be solved?