- Issue created by @adubovskoy
- Open on Drupal.org βCore: 10.0.7 + Environment: PHP 8.0 & MySQL 5.7last update
over 1 year ago Not currently mergeable. - last update
over 1 year ago Composer require failure - First commit to issue fork.
- last update
8 months ago Composer require failure - π©πͺGermany jurgenhaas Gottmadingen
I'm seeing the same issue. However, the exception in the module file is a follow-up error from the issue in the event subscriber. So, I've removed that change in the MR as it is not required.
Another change I've added to the MR is, that in Drupal 10.3 the shortcut block is built with the lazy_builder, and that throws another exception if we try to add a theme to it. I've disabled the modification for now, if there is a lazy_builder in place as I don't know how we could add a theme to that.
- last update
8 months ago Composer require failure - Issue was unassigned.
- π©πͺGermany jurgenhaas Gottmadingen
There is a related issue in ViewFormSubscriber for the lazy_builder limitation. I've added that to the MR as well.
- πΊπ¦Ukraine Oleksandr Yushchenko
Had similar issue caused by ViewFormSubscriber when lazy_builder used:
AssertionError: When a #lazy_builder callback is specified, no properties can exist; all properties must be generated by the #lazy_builder callback. You specified the following properties: #post_render. in assert() (line 334 of /var/www/html/drupal/core/lib/Drupal/Core/Render/Renderer.php)
MR https://git.drupalcode.org/project/dashboards/-/merge_requests/26 fixes this and all works fine.
-
Erik Seifert β
committed f2665416 on 2.1.x authored by
adubovskoy β
Issue #3366586 by adubovskoy, jurgenhaas: Shortcut themeing throws...
-
Erik Seifert β
committed f2665416 on 2.1.x authored by
adubovskoy β
- Status changed to Needs work
4 months ago 10:24am 14 July 2024 - π§πͺBelgium dieterholvoet Brussels
- You changed the theme hook to dashboards_admin_shortcuts, which doesn't exist.
- Wouldn't it make more sense to either fix the custom theming or to get rid of it altogether? The current solution just leaves a bunch of dead code that will never be executed.
- π§πͺBelgium dieterholvoet Brussels
DieterHolvoet β changed the visibility of the branch 2.1.x to hidden.
- Status changed to Needs review
4 months ago 11:43am 14 July 2024 - π§πͺBelgium dieterholvoet Brussels
Here's another idea: why not add our own Shortcuts dashboard block instead of altering the core one, without using a lazy builder? I started a new MR.