You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
Screenshots:
The text was updated successfully, but these errors were encountered:
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:
The text was updated successfully, but these errors were encountered: