Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Drupal 10.3, Image styles that use flysytem (Fedora) are broken again. #2325

Closed
rosiel opened this issue Jul 1, 2024 · 3 comments
Closed
Labels
Type: bug identifies a problem in the software with clear steps to reproduce

Comments

@rosiel
Copy link
Member

rosiel commented Jul 1, 2024

  • When does this issue occur?
    On Drupal 10.3, when you attempt to show a file in Fedora (e.g. an original file) through an image style.

You get this in the logs:
RuntimeException: Controller "Drupal\image\Controller\ImageStyleDownloadController::deliver" requires that you provide a value for the "$required_derivative_scheme" argument. Either the argument is nullable and no null value has been provided, no default value has been provided or there is a non-optional argument after this one. in Symfony\Component\HttpKernel\Controller\ArgumentResolver->getArguments() (line 110 of /var/www/drupal/vendor/symfony/http-kernel/Controller/ArgumentResolver.php).

  • Which page does it occur on?
    Any original file view

  • What happens?
    No image appears (alt text may appear)

  • To whom does it occur (anonymous visitor, editor, administrator)?
    Anyone (even logged in users; this is not a permissions thing).

Which version of Islandora are you using?
Drupal 10.3.

Which method did you use to install your Islandora instance? (manually, ISLE, playbook, etc.)
Site Template (not the issue here)

Any related open or closed issues to this bug report?

Related bug in Flysystem: https://www.drupal.org/project/flysystem/issues/3457193

Screenshots

Screenshot 2024-07-01 at 12 35 32 PM

Temporary Fix

Add my patch (modified from slasher13's patch) to your composer.json following the instructions for using composer patches.

@rosiel rosiel added the Type: bug identifies a problem in the software with clear steps to reproduce label Jul 1, 2024
@forresthopkinsa
Copy link

Unfortunate that this is still an issue which prevents the most basic Islandora use case on a fresh install

@seth-shaw-asu
Copy link
Member

@forresthopkinsa, do you add @rosiel's patch to your composer? Or is this still an issue even with the patch?

@forresthopkinsa
Copy link

@seth-shaw-asu Images worked with the patch applied

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: bug identifies a problem in the software with clear steps to reproduce
Projects
None yet
Development

No branches or pull requests

3 participants