Closed (fixed)
Project:
REST UI
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Sep 2022 at 23:17 UTC
Updated:
8 Nov 2022 at 11:49 UTC
Jump to comment: Most recent
RestUIForm::__construct(... ModuleHandler $module_handler ...) should be RestUIForm::__construct(... ModuleHandlerInterface $module_handler ...)
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
mrweiner commentedComment #4
dpiMany people are seeing errors related to ModuleHandler as a result of upgrading Hook Event Dispatcher, which includes a module handler service decorator.
Projects need to ensure interfaces are used while injecting services, so Rest UI will need to make the code change here.
Comment #5
dpiincorrect ref
Comment #6
mrweiner commentedI should note that I'm seeing the issue for the same reason, but because of https://www.drupal.org/project/hux instead of Hook Event Dispatcher.
Ha, just saw that you're the hux maintainer. Thanks for that! Great module.
Comment #7
dpiAwesome! Good to have you on board.
It’s true, Hux will cause the same issue as exposed by HED.
Comment #8
kvantstudio commentedFix for me!
Comment #9
svendecabooterI can confirm this MR fixes the issue that arises when used in combination with hook_event_dispatcher module.
Comment #11
kristofferwiklund commentedSmall fix so that the protected variable also is defined by its Interface. Otherwise it looks good.
Comment #14
clemens.tolboomTNX