Use the ModuleHandlerInterface instead of the ModuleHandler concrete implementation, because other modules might decorate this class and it would lead to some fatal error.

Comments

auth created an issue. See original summary.

auth’s picture

murilomleandro’s picture

Status: Needs review » Reviewed & tested by the community

I can confirm, the proposed patch #2 fixed the issue.

aspilicious’s picture

I can confirm this works, we get fatal errors without this patch because hook event subscriber decorates the module handler.

aspilicious’s picture

Priority: Normal » Major

  • Berdir committed f7745c4 on 8.x-1.x
    Issue #3308849 by auth: Use the ModuleHandlerInterface instead of the...
berdir’s picture

Status: Reviewed & tested by the community » Fixed

This was committed, forgot to update the status.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.