If you don't set the "version" of a profile, the report/status displays an empty dash

Created on 21 March 2022, over 2 years ago
Updated 5 September 2022, about 2 years ago

Problem/Motivation

This is a followup from #2481103: "Undefined index" errors in system.install loading admin/reports/system .

If you install a profile without the "version" key and move into admin/reports/status page, you will see an empty dash.

Steps to reproduce

  1. Install a new instance of drupal using the "minimal" profile
  2. Inside core/profiles/minimal/minimal.info.yml file, remove the "version" key
  3. Go to admin/reports/status page and check the Installation profile section

Proposed resolution

Following the idea of #12 🐛 If you don't set the "version" of a profile, the report/status displays an empty dash Needs work , if a profile does not have a VERSION, the dash will be ommited.

Remaining tasks

  1. Commit

User interface changes

Before:
Minimal (minimal-)

After:
Minimal (minimal)

API changes

None.

Data model changes

None.

🐛 Bug report
Status

Needs work

Version

11.0 🔥

Component
System 

Last updated 2 days ago

No maintainer
Created by

🇧🇷Brazil murilohp

Live updates comments and jobs are added and updated live.
  • PHP 8.1

    The issue particularly affects sites running on PHP version 8.1.0 or later.

Sign in to follow issues

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