"Non-resolvable dependency" - missing version number?

Created on 13 March 2025, about 1 month ago

Problem/Motivation

D10.4, commerce_registration_waitlist 3.1.4 and registration_waitlist 3.4.0. Since a few weeks I keep getting the error in the Status Report

<!--break-->

"Non-resolvable dependency
Registration Wait List (version >=3.1.2 required)
Commerce Registration Wait List requires this module and version. Registration Wait List version is currently used"
[Back translation of the error message, may not be exact wording of the English language Drupal error message]

<!--break-->

Perhaps a version tag is missing here? Or the commerce pendant doesn't pick it up?

I would assume the error message should end with "Registration Wait List version $VERSION is currently used" (and then only be displayed in case of a real mismatch). As I have been able to run the update to the latest versions 3.1.5 and 3.4.1 on the test site, it seems the upgrade process itself does work. I cannot say if the waitlist module is working because I had no time to run a trial and no events are currently published with overflowing registrant numbers.

Steps to reproduce

Install Entity Registration, Commerce with Commerce Registration, enable both waitlist sub-modules, run cron, and open the status report.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.4

Component

Registration Wait List

Created by

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

Comments & Activities

  • Issue created by @dgwolf
  • 🇺🇸United States john.oltman

    Thanks for the issue @dgwolf I will take a look within the next day or two. If the modules actually updated via composer, you are probably good to go, but the lingering message is something I want to resolve.

  • 🇺🇸United States john.oltman

    Does this still happen after the upgrade to 3.1.5 and 3.4.1? Can you send a screenshot or the original native language text if yes.

  • After the upgrade with composer I get the same message in German:
    "Nicht auflösbare Abhängigkeit
    Registration Wait List (Version >=3.1.2 erforderlich)
    Commerce Registration Wait List benötigt dieses Modul und Version. Aktuell wird Registration Wait List Version verwendet."

    When entering text from the last line at admin/config/regional/translate I see the orignal English messages would be

    Unresolved dependency
    @required_name (Version @compatibility required)
    @name requires this module and version. Currently using @required_name version @version

    - so it seems that @version is an empty string that gets compared to @compatibility. This seems to trigger the error message that as @version can subsequently only display the empty string.

  • 🇺🇸United States john.oltman

    You must have the registration module checked out, instead of it being installed through composer. When you check the module out from GitLab, the version info is not appended to the .info file, so Drupal can't find the version number. Move the checked out module elsewhere (in case you have any changes or stash) and then do a composer install and you should be good to go.

  • Thanks a lot, John, that was it.

    I cannot remember having checked out consciously from GitLab but I did try out one of the dev versions some time ago, suppose this came from GitLab.

Production build 0.71.5 2024