Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
There are two empty elements between shortcut and admin.
Comment | File | Size | Author |
---|---|---|---|
#28 | admin_toolbar_issue.png | 27.08 KB | mimran |
#21 | admin_toolbar-empty-elements-in-toolbar-2493037-21-8.x.patch | 747 bytes | mimran |
| |||
#10 | empty_elements_in-2493037-10.patch | 719 bytes | Anonymous (not verified) |
| |||
#4 | empty_elements_in-2493037-4.patch | 814 bytes | Anonymous (not verified) |
| |||
#1 | admin_toolbar_empty_tabs.jpg | 165.5 KB | drupov |
Comments
Comment #1
drupov CreditAttribution: drupov commentedJust a screenshot showing this.
And btw, really great module, thanks!
Comment #2
drupov CreditAttribution: drupov commentedComment #3
Anonymous (not verified) CreditAttribution: Anonymous at FFW commentedI find the origin of this issue.
Comment #4
Anonymous (not verified) CreditAttribution: Anonymous at FFW commentedThe trouble was that stylesheet was attached to empty toolbar item, I've moved it to another item. Please review.
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous at FFW commentedComment #7
matio89 CreditAttribution: matio89 commentedComment #8
cweagansThis is still an issue if the admin_toolbar_tools module is enabled.
Comment #9
Anonymous (not verified) CreditAttribution: Anonymous at FFW commentedComment #10
Anonymous (not verified) CreditAttribution: Anonymous at FFW commentedI've fixed it. Please review.
Comment #11
drupov CreditAttribution: drupov commentedI had the bug with version 1.4.
If I try to update to 1.6 or latest dev I get an error:
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "toolbar.menu_tree". in Symfony\Component\DependencyInjection\Container->get() (line 317 of core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Container.php).
Comment #12
eme CreditAttribution: eme at emerya commentedPlease provide us with the version of Drupal Core. And please post in another post if it is not directly related to this one (which seems to be the case).
Comment #13
Anonymous (not verified) CreditAttribution: Anonymous at FFW commentedIt is not related to this issue because my patch haven't been commited to dev branch.
Comment #14
eme CreditAttribution: eme at emerya commentedThen please open a new issue with all the data (core version, etc.). Thanks.
Comment #15
eme CreditAttribution: eme at emerya commentedSeems this bug is back again.
Comment #16
VBN CreditAttribution: VBN as a volunteer commentedYes indeed, same here with 8.0.1 core.
Also the logo on the left side is gone (id toolbar_link_front)
Comment #17
eme CreditAttribution: eme at emerya commentedI do not see a bug on the logo. Have you properly installed admin toolbar tools ?
Comment #18
VBN CreditAttribution: VBN as a volunteer commentedCron did the job, picture is back.
But there is still that empty space thing.
Comment #19
mimran CreditAttribution: mimran commentedChecked the following patch with 8.0.2 working fine
https://www.drupal.org/files/issues/admin_toolbar-empty-elements-in-tool...
Comment #21
mimran CreditAttribution: mimran commentedUpdated the patch
Comment #22
SajithAthukorala CreditAttribution: SajithAthukorala commentedChecked with drupal version "drupal-8.0.2" and works fine for me.
patch : #21 admin_toolbar-empty-elements-in-toolbar-2493037-21-8.x.patch
Comment #23
mimran CreditAttribution: mimran commentedThanks for testing this @SajithAthukorala
Comment #25
mimran CreditAttribution: mimran commentedComment #27
Macronomicus CreditAttribution: Macronomicus commentedhad to run the patch in #21 again on the latest release to resolve the empty item again, you sure this was added in and didn't get lost in the shuffle?
Comment #28
mimran CreditAttribution: mimran commented@Macronomicus checked with 8.0.3(drupal) and 8.x-1.14 (admin toolbar )issue was still there attached the screenshot as well some how we missed the patch
Comment #30
eme CreditAttribution: eme at emerya commentedIndeed. Patch has been lost. Commited again and seem to work fine.
Comment #32
Bcwald CreditAttribution: Bcwald commentedI am still seeing this issue on 8.1x with latest dev build. anyone else still have this problem?