- Issue created by @ckhalilo
I just bumped into this issue when upgrading to 10.3, thank you for the patch.
I'm now getting the following exception:
RuntimeException: Controller "Drupal\az_blob_fs\Controller\AzBlobFsImageStyleDownloadController::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 /opt/drupal/vendor/symfony/http-kernel/Controller/ArgumentResolver.php).
I imagine there are places where AzBlobFsImageStyleDownloadController::deliver gets called without providing the $required_derivative_scheme.
I'm not familiar enough with the module and the changes introduced by 10.3 but will try to give this a go when I get a bit of free time.
Just a stopgap patch to avoid RuntimeException while $required_derivative_scheme can be fully implemented.
- π¨π¦Canada arakwar
I have just noticed your issue in my project. Seems we are using your patch, and I just created a new issue fixing the last warning :
https://www.drupal.org/project/az_blob_fs/issues/3460622 π ImageStyleDownloadController::deliver() now takes a string of the expected scheme for derivatives as a required parameter Active
- πΊπΈUnited States DrupalMattS
Confirming #11 π Fatal error: Declaration of AzBlobFsImageStyleDownloadController must be compatible with ImageStyleDownloadController Active works as expected. Ready for release.