Problem/Motivation

Error: Class "Drupal\Core\Extension\Requirement\RequirementSeverity" not found in swiper_formatter_requirements() (line 67 of modules/swiper_formatter/swiper_formatter.install).

Steps to reproduce

Installation of v 2.1.0 on Drupal 10.3

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

khoebeke created an issue. See original summary.

bbu23’s picture

Version: 2.1.0 » 2.1.x-dev

Oups!
I'll check, thanks for reporting this.

gillesbailleux’s picture

The swiper_formatter module v2.0.3 works as designed on a D10 instance but the v2.1.0 is proposed in [site:base-url]/admin/reports/updates/update after a drush cr
When the v2.1.0 is installed, the error mentioned by @khoebeke appears when visiting [site:base-url]/admin/config

bbu23’s picture

thank you @gillesbailleux for providing details about your experience.
I'll try to make time this evening to resolve the problem and provide a patch release.

bbu23’s picture

Status: Needs work » Active

Correcting the status

bbu23’s picture

Status: Active » Needs review

I provided a fix. Would help if any of you would confirm the patch works for u.
I'll provide a release later tonight.

  • bbu23 committed 6f53017a on 2.1.x
    fix: #3579413 Add BC for RequirementSeverity enum
    
bbu23’s picture

Status: Needs review » Fixed

Will be available in 2.1.1
Thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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