D10/Symfony 6 'Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher::dispatch()' signature change

Created on 4 December 2023, 12 months ago
Updated 7 December 2023, 12 months ago

Problem/Motivation

D10 compatibility amend.

Steps to reproduce

Make a request to the epub_reader_framework.node_ajax_view route.

Proposed resolution

in ReaderNodeAjaxController, switch $event and $event_name parameters being passed to ContainerAwareEventDispatcher::dispatch() so that $event is passed in the first position.

$event_dispatcher->dispatch($event, $event_name);

This method is also used in ReaderEpubXhtmlConverter but the signature appears with the event in the first position there.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024