8.x-1.1 is unusable on D9

Created on 24 January 2023, about 2 years ago
Updated 27 January 2023, about 2 years ago

Problem/Motivation

The .info file is incorrect.

name: File Mime Validator
type: module
description: This module will help in validating real mime type of file.
package: Security
core: 8.x

# Information added by Drupal.org packaging script on 2023-01-10
version: '8.x-1.1'
project: 'file_mime_validator'
datestamp: 1673357950

Proposed resolution

Remove:
core:
Add:
core_version_requirement: ^8 || ^9

Remaining tasks

Consider additionally ensuring compatibility with D 10.

🐛 Bug report
Status

Fixed

Version

1.1

Component

Code

Created by

🇺🇸United States apmsooner

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

Comments & Activities

  • Issue created by @apmsooner
  • Status changed to Closed: works as designed about 2 years ago
  • 🇮🇳India akshay.singh Noida

    Hi apmsooner,

    1. you are getting this #Information because you are downloading the module if you don't want that. You should prefer the recommended
      method which is through composer.
    2. currently this dev release supports for d9 & d10, which I have mentioned on the project page as well. So if you need you can use it for now, soon I will be providing stable release

    Thanks

  • Status changed to Active about 2 years ago
  • 🇺🇸United States apmsooner

    This is not automated info:

    name: File Mime Validator
    type: module
    description: This module will help in validating real mime type of file.
    package: Security
    core: 8.x

    This version of the module which happens to be specified as the recommended version on your project page is not compatible with Drupal 9+. The .info file should not have core: specified in it and should have core_version_requirement: ^8 || ^9. If it was intended for the dev branch, perhaps it should have been pushed to https://www.drupal.org/project/file_mime_validator/releases/8.x-1.x-dev and not as a new tag but still needs corrected .info file or it's not gonna work.

  • 🇺🇸United States apmsooner

    @ akshay.singh, maybe the intent was to pin the 8.x-1.1 version to only drupal 8? I guess it's confusing that a new tag was released for that but no release for 8.x-2. It seems like 8.x-1.1 should have still supported D9 like the prior version. Taking 9 away in a minor version release is a major breaking change.

  • 🇮🇳India akshay.singh Noida

    Hi apmsooner,

    # Information added by Drupal.org packaging script on 2023-01-10
    version: '8.x-1.1'
    project: 'file_mime_validator'
    datestamp: 1673357950
    

    I thought you were saying about this.

    And yes that was the intent to stick it for D8 only. As D8 is already EOL.

    I will try to give a release for the 8.x-2 in this week which will support d9 & d10.

  • Status changed to Fixed about 2 years ago
  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024