Incorrectly reporting incompatibility

Created on 5 June 2024, 6 months ago
Updated 13 June 2024, 5 months ago

Problem/Motivation

Module is correctly reporting that 3.1.0-beta2 is not compatible with my system (core 10.2.x) but is not showing what versions of core are required (10.3||11).

See screenshot.

Steps to reproduce

Visit /admin/reports/updates while on version 3.0.0.

🐛 Bug report
Status

Active

Version

11.0 🔥

Component
Update 

Last updated 3 days ago

  • Maintained by
  • 🇺🇸United States @tedbow
  • 🇺🇸United States @dww
Created by

🇺🇸United States jennypanighetti

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @jennypanighetti
  • 🇮🇳India rajdip_755 kolkata

    Hi @jennypanighetti, I think this is not the issue of this particular module. The message only shows the stable versions of drupal core. Currently there are no stable versions of drupal 10.3 or 11 So that this is not showing any versions.

    This occurring due to the current functionality of the update module of the drupal core.
    If you want to verify please commented out the following lines in getPossibleCoreUpdateVersions() function of the web/core/modules/update/src/ProjectCoreCompatibility.php file.

    $possible_core_update_versions = array_filter($possible_core_update_versions, function ($version) {
          return VersionParser::parseStability($version) === 'stable';
        });

    You can now see that the dev and rc versions will be shown in the message. I'm attaching here the screen shot after applying the above changes.

    Thanks!

  • 🇮🇹Italy mondrake 🇮🇹

    Thanks! Moving to Drupal core issue queue then.

  • 🇺🇸United States jennypanighetti

    This is also preventing us from having a clean "Status" Report. The status report gives a warning and says there are available updates; however, the only available update is the File MDM module which says Recommended: 3.1.0, which as we've noted is not compatible with Drupal 10.2.x. So not only does the Drupal 10.3.x/Drupal 11 betas not show up in the list (and therefore it's an empty string), but there is no update available for my system.

Production build 0.71.5 2024