- Issue created by @steveoriol
- 🇫🇷France G4MBINI Bègles
Transferring this issue from UI Suite DaisyUI to UI Icons.
I also reproduce this issue as follows :
- create a menu link
- assign an icon to the menu link
- choose any link icon display
- save
Tested on last version of Drupal 11, UI Suite DaisyUI alpha5, Heroicons 2.1.5, UI Icons dev, UI Patterns dev.
- 🇫🇷France mogtofu33
I think it's probably a duplicate of ✨ Menu: support non content menu links Active , will wait a bit before closing when I'll look at it.
- 🇫🇷France Grimreaper France 🇫🇷
On the screenshots, it seems that it is content menu link.
- 🇫🇷France G4MBINI Bègles
Indeed, yes it is a content content menu link. Thanks @grimreaper
- 🇫🇷France steveoriol Grenoble 🇫🇷
I have another error that probably has nothing to do with “ui_icons” but looks similar (with the “Array” in the railroad...)
But here I have a “Warning”, if that helps:
Warning: Array to string conversion in Drupal\ui_patterns\Plugin\UiPatterns\PropType\LinksPropType::normalizeLink() (line 127 of modules/contrib/ui_patterns/src/Plugin/UiPatterns/PropType/LinksPropType.php).
Normally, it has the account name instead of “Array”.
Just install commerce 2 to get the “address-book” (Carnet d'adresses) tab : /user/1/address-book - Merge request !53Issue #3485067 by steveoriol, g4mbini, mogtofu33, grimreaper: Icons on menu do not works → (Merged) created by mogtofu33
-
mogtofu33 →
committed a56f0501 on 1.0.x
Issue #3485067 by steveoriol, g4mbini, mogtofu33, grimreaper: Icons on...
-
mogtofu33 →
committed a56f0501 on 1.0.x
Automatically closed - issue fixed for 2 weeks with no activity.
- 🇫🇷France steveoriol Grenoble 🇫🇷
By switching from “1.0.0-beta2” to “1.0.x-dev”, I now have another error when I rebuild caches (drush cr), here it is:
In CheckExceptionOnInvalidReferenceBehaviorPass.php line 119: The service "ui_icons.search" has a dependency on a non-existent service "plugin.manager.icon_pack". Did you mean one of these: "plugin.manager.block", "plugin.manager.action", "plugin.manag er.menu.link", "plugin.manager.mail", "plugin.manager.condition", "plugin.manager.sdc", "plugin.manager.help_topic", "plugin.manager.hook_event", "plugin.manager.workflow", "plugin.manager.v iews.cache", "plugin.manager.views.pager"?
I'm back with the “1.0.0-beta2” version...
- 🇫🇷France mogtofu33
Hi @steveoriol, with 1.0.x-dev you need to enable module ui_icons_backport, it will be in release note on beta3, it's because the api is now in Drupal 11.1.x.
- 🇫🇷France steveoriol Grenoble 🇫🇷
Hi @mogtofu33, OK I upgraded to “1.0.x-dev”, no more fatal error,
and the icon in the menus now works :-)I still get a fatal error on pages like “/user/1/address-book” (comerce 2 module),
but I think it's a problem with the “ ui_suite_daisyui ” theme,
because the other themes work fine...
Merci.