Problem/Motivation

I've been updating modules on a Drupal 10.2 site with Inline Responsive Images and have found that the new 3.0.0 is incompatible with Drupal 10.2 because the class Drupal\filter\Attribute\Filter isn't present until 10.3. The site emits an error on database update:

The "filter_imagestyle" plugin does not exist. Valid plugin IDs for Drupal\filter\FilterPluginManager are: ...

Steps to reproduce

  1. Start with a Drupal 10.2 site with the module on a version prior to 3.0.0
  2. Update module to 3.0.0 without updating site to 3.0.0

Proposed resolution

Version 3.0.1 should be cut with drupal/core requirements set to 10.3 and above. This won't solve the problem for 10.2 users though. Perhaps a patch could be defined for 10.2 users rolling back the change?

Remaining tasks

Patch module and test.

User interface changes

None.

API changes

None.

Data model changes

None.

Command icon 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

geoffreyr created an issue. See original summary.

geoffreyr’s picture

Issue summary: View changes

geoffreyr’s picture

Assigned: geoffreyr » Unassigned
Status: Active » Needs review

MR ready. If you want to set 3.0.1 as being for 10.3 and above you won't want to merge this, but anyone else who finds this issue can use the plain diff source to download it and use it in their sites.

vladimiraus made their first commit to this issue’s fork.

vladimiraus’s picture

Status: Needs review » Reviewed & tested by the community

Good point. Let's keep those changes in 4.0.x.

vladimiraus’s picture

Status: Reviewed & tested by the community » Fixed

Committed and released. Thank you 🧁

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.