When trying to use OpenSeadragon on Drupal 10 I get the following error:
TypeError: Drupal\openseadragon\File\FileInformation::__construct(): Argument #1 ($mimeTypeGuesser) must be of type Symfony\Component\HttpFoundation\File\MimeType\MimeTypeGuesserInterface, Drupal\Core\ProxyClass\File\MimeType\MimeTypeGuesser given, called in /var/www/html/drupal/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 in Drupal\openseadragon\File\FileInformation->__construct() (line 29 of /var/www/html/drupal/web/modules/contrib/openseadragon/src/File/FileInformation.php).
I notice that we are asking for a Symfony\Component\HttpFoundation\File\MimeType\MimeTypeGuesserInterface but the mimeTypeGuesser is of a class that implements Symfony\Component\Mime\MimeTypeGuesserInterface.
Can we update it to work on both 9 and 10 or will this require a new branch?
Which version of Islandora are you using?
Islandora on Drupal 10
Any related open or closed issues to this bug report?
When trying to use OpenSeadragon on Drupal 10 I get the following error:
TypeError: Drupal\openseadragon\File\FileInformation::__construct(): Argument #1 ($mimeTypeGuesser) must be of type Symfony\Component\HttpFoundation\File\MimeType\MimeTypeGuesserInterface, Drupal\Core\ProxyClass\File\MimeType\MimeTypeGuesser given, called in /var/www/html/drupal/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 in Drupal\openseadragon\File\FileInformation->__construct() (line 29 of /var/www/html/drupal/web/modules/contrib/openseadragon/src/File/FileInformation.php).
I notice that we are asking for a
Symfony\Component\HttpFoundation\File\MimeType\MimeTypeGuesserInterface
but the mimeTypeGuesser is of a class that implementsSymfony\Component\Mime\MimeTypeGuesserInterface
.Can we update it to work on both 9 and 10 or will this require a new branch?
Which version of Islandora are you using? Islandora on Drupal 10
Any related open or closed issues to this bug report?
Screenshots: