Module compatibility being incorrectly reported

Created on 11 April 2023, over 1 year ago
Updated 12 April 2023, over 1 year ago
Summary
  1. If your site is running on Drupal 9, or on Drupal 10.0.x, you should use 6.0.0-rc1
  2. The 6.1.0-rc1 release is in place for when Drupal 10.1.0 is released, which includes a major version update of CKEditor 5. When you update to Drupal 10.1.x, you will need to concurrently update to Linkit 6.1.x

I am currently using Drupal 9.5.5 and Linkit 6.0.0-beta4. Linkit is being listed as "Not Compatible" in the Available Updates report, with LinkIt 6.1.0-rc1 being recommended.

According to the Module page on d.o, 6.1.0-rc1 is for Drupal versions >=10.1, so this module should not be listed as Not Compatible, and version 6.1.0 should not be recommended.

I attempted to upgrade my website to Drupal 9.5.7 and LinkIt 6.0.0-rc1, but the problem persists.

πŸ’¬ Support request
Status

Active

Version

6.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States aaronpinero

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

Comments & Activities

  • Issue created by @aaronpinero
  • πŸ‡ΊπŸ‡ΈUnited States mark_fullmer Tucson

    Thanks for reporting this. What method are you using to attempt the update to 6.0.0-rc1, and what error message are you getting, specifically?

  • πŸ‡ΊπŸ‡ΈUnited States aaronpinero

    My apologies for any confusion. I say "attempted" because I was attempting to resolve the issue by updating from 6.0.0-beta4 to 6.0.0-rc1. I use composer to manage module updates. There wasn't any error with the update, and the module appears to function properly.

    The issue was (and remains) the fact that the module is appearing in reports (in the Drupal admin) as Not Compatible and version 6.1.0-rc1 is listed as the recommended version even though I am not on Drupal 10. From what I understand from the module page, version 6.0.0-rc1 should be the correct, recommended version since I am running Drupal 9.5.

    In my case, the module should not be listed as Not Compatible and version 6.1.0-rc1 should not be recommended.

    The core_version_requirement in the module's .info file is correct, so I don't know what the source of the issue is.

  • πŸ‡ΊπŸ‡ΈUnited States mark_fullmer Tucson

    Thanks for the clarification. I think I'll reclassify this as a "Support request" rather than a bug and do further investigation. So long as sites running Drupal 9 or 10.0 can update to 6.0.0-rc1 and sites running Drupal 10.1+ can update to 6.1.0-rc1, this can be a "Normal" priority rather than "Major."

  • πŸ‡¦πŸ‡ΊAustralia authintmedia

    Hi,

    In my regards the issue is, that LinkIt version 6.1.0-rc1 is being recommended as the latest update on Drupal v9.5.7. This should not be possible, as said version only works with >= Drupal 10.

    Attached is a screenshot for the issue.

  • πŸ‡ΊπŸ‡ΈUnited States mark_fullmer Tucson

    Based on my initial research, this is a limitation of how the Drupal core "Update" module interprets the core_version_requirement.

    See:
    - #3113992: The 'Update' page has no idea that some updates are incompatible β†’
    - #3115432: Add logic to figure out the latest/recommended release a site could update to with the currently installed version of core β†’

    I've adjusted some of the settings for the 6.1.0-rc1 release for now to see if the Update module will now recommend the 6.0.0-rc1 release instead.

    For folks coming here, confused about what they should do:

    1. If your site is running on Drupal 9, or on Drupal 10.0.x, you should use 6.0.0-rc1
    2. The 6.1.0-rc1 release is in place for when Drupal 10.1.0 is released, which includes a major version update of CKEditor 5. When you update to Drupal 10.1.x, you will need to concurrently update to Linkit 6.1.x

    Setting the issue category back to "Support request".

Production build 0.71.5 2024