Add informative message when module does not have a version property

Created on 30 July 2022, almost 3 years ago
Updated 4 July 2025, 4 days ago

Problem/Motivation

This is a followup to #2890613: Erroneous Unresolved dependency with missing version in info file . The goal is to add a useful message when a module does not have a version property and other modules depend on it, potentially needing a specific version. A module will not have a version property if it was obtained via git or a dev version was obtained via composer.

Steps to reproduce

  1. composer require drupal/linkit:5.x-dev
  2. composer require drupal/linkit_media_library
  3. go to admin/modules

Proposed resolution

Display a precise & actionable error message.

Remaining tasks

Add useful error message

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Needs work

Version

11.0 🔥

Component

extension system

Created by

🇳🇿New Zealand quietone

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024