Problem/Motivation

Changes to Drupal core in 10.3 break the API endpoint that returns the modules/projects status.

The issue that resulted in the change is https://www.drupal.org/project/drupal/issues/3112962

The code change/commit is here https://git.drupalcode.org/project/drupal/-/commit/97bb6c83a32a3346a69f518e72a9339cc23bc292

The ProjectCoreCompatibility class has had an extra parameter added to its constructor.

Steps to reproduce

Install Site Guardian API module on any 10.3.x, enable the module and then visit "admin/config/development/site_guardian/endpoints" and click the "Enabled projects with versions and available update info" link. The call will fail.

Proposed resolution

Update the Site Guardian API call to mirror the way core now calls ProjectCoreCompatibility by adding the supported_branches variable.

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

arcaic created an issue. See original summary.

  • arcaic committed 41066fc5 on 1.0.x
    Issue #3467111 by arcaic: Fix issue caused by change to...
    
seeduardo’s picture

Status: Active » Reviewed & tested by the community

Tested and all good.

arcaic’s picture

arcaic’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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