Resolve #3437974 "Drupal 10.3 imagestyledownloadcontrollerdeliver"
Merged
requested to merge issue/remote_stream_wrapper-3437974:3437974-drupal-10.3-imagestyledownloadcontrollerdeliver into 2.x
2 unresolved threads
Closes #3437974
Merge request reports
Activity
added 1 commit
- 77a15a6a - Set required_derivative_scheme route configuration
90 90 [ 91 91 '_controller' => 'Drupal\remote_stream_wrapper\Controller\RemoteImageStyleDownloadController::deliver', 92 92 'scheme' => $scheme, 93 'required_derivative_scheme' => 'public', Thanks for the feedback. I hard-coded this based on https://git.drupalcode.org/project/remote_stream_wrapper/-/blob/61e7ff4291ddffa699512f517cf7e8ecbb44108c/src/Routing/RemoteImageStyleRoutes.php#L76 but may be misunderstanding what that is doing.
changed this line in version 4 of the diff
added 1 commit
- 2786fbf9 - Get the site default file scheme from config
90 102 [ 91 103 '_controller' => 'Drupal\remote_stream_wrapper\Controller\RemoteImageStyleDownloadController::deliver', 92 104 'scheme' => $scheme, 105 'required_derivative_scheme' => $this->configFactory->get('system.file')->get('default_scheme'), I see the reason for this fix and the reasoning is good (not to assume default scheme, the developer even makes a comment to this effect), but the fix is out of scope for issue #3437974, which should just be addressing compatibility with latest Drupal 10.3
changed this line in version 5 of the diff
- Resolved by Dave Reid
- Resolved by Dave Reid
added 1 commit
- 0895b113 - Fetch default scheme outside of the loop of remote schemes.
added 1 commit
- 324fa111 - Update tests to use a newly created image style instead of a default config one.
added 7 commits
-
b7d6f776 - 1 commit from branch
project:2.x
- 90426639 - Issue #3437974 by jrglasgow: Drupal 10.3 ImageStyleDownloadController::deliver signature change
- af6cdb71 - Set required_derivative_scheme route configuration
- bc03ca7c - Update image style test for webp conversion
- 0a991c89 - Get the site default file scheme from config
- 958fab8d - Fetch default scheme outside of the loop of remote schemes.
- a1303d01 - Update tests to use a newly created image style instead of a default config one.
Toggle commit list-
b7d6f776 - 1 commit from branch
Please register or sign in to reply