Problem/Motivation
Alpha4 uses the service \Drupal::service('file_url_generator'), which is new in Drupal 9.3.x and not availbable in prior versions.
Steps to reproduce
Run Alpah4 on Drupal 8 or Drupal 9.1/9.2
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork responsive_background_image-3261940
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
slowflyer commentedComment #3
maskedjellybeanThank you @slowflyer. I think the work around for now would be to use alpha3 if your core version is less than 9.3.x:
@Anybody do you know, would the proper solution for this be to create a new release where
core_version_requirement: ^9.3in responsive_background_image.info.yml and"drupal/core": "^9.3",in composer.json?Comment #4
anybodyThank you and sorry, I'll have a look!
Comment #5
anybodyOk here's the plan. I'll revert that change for an alpha-5 release and afterwards create a new 2.x semver version which has compatibility starting with Drupal 9.3!
2.x will then be the recommended version but 8.x-1.x still be available for old installations.
Thanks and sorry for the trouble, I didn't see this problem coming. -.-
Comment #8
anybodyI'm the one to blame, found the related commit:
https://git.drupalcode.org/project/responsive_background_image/-/commit/...
Changing back to old:
Comment #10
anybodyHere we go. I'll fix this in 8.x-1.x-dev now. @slowflyer could you please check if 8.x-1.x-dev works correctly for you? Then we can create an 8.x-1.0-alpha5 release from that.
Sorry all.
Comment #12
anybodyComment #13
anybodyComment #14
anybodyComment #15
slowflyer commentedHi,
8.x-1.x-dev works correctly!
Comment #16
anybodyThanks @slowflyer, I'll create the alpha-5 then now :)