Version Tag missing from .info.yml file

Created on 26 August 2024, 3 months ago
Updated 18 September 2024, 3 months ago

Problem/Motivation

The version tag is missing from the info.yml file. This should have been filled in by the packaging script, but was not. I am not sure if there is anything you can do to redeploy the package to include the version, project and datestamp.

With this info missing, modules that require a specific version of webform are reporting errors.

πŸ’¬ Support request
Status

Fixed

Version

6.2

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States kwfinken Lansing, MI

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

Comments & Activities

  • Issue created by @kwfinken
  • πŸ‡ΊπŸ‡ΈUnited States kwfinken Lansing, MI
  • Status changed to Postponed: needs info 3 months ago
  • Execute composer show drupal/webform and report back with what it says in the source field.

    The packaged release contains:

    # Information added by Drupal.org packaging script on 2024-07-19
    version: '6.2.7'
    project: 'webform'
    datestamp: 1721425240
    

    If that is missing you probably have a Git checkout of the project instead.

  • πŸ‡ΊπŸ‡ΈUnited States kwfinken Lansing, MI

    name : drupal/webform
    descrip. : Enables the creation of webforms and questionnaires.
    keywords :
    versions : * 6.2.7
    type : drupal-module
    license : GNU General Public License v2.0 or later (GPL-2.0-or-later) (OSI approved) https://spdx.org/licenses/GPL-2.0-or-later.html#licenseText
    homepage : https://drupal.org/project/webform
    source : [git] https://git.drupalcode.org/project/webform.git 6.2.7
    dist : [zip] https://ftp.drupal.org/files/projects/webform-6.2.7.zip 6.2.7
    path : /opt/drupal/web/modules/contrib/webform
    names : drupal/webform

    support
    source : https://git.drupalcode.org/project/webform
    issues : https://www.drupal.org/project/issues/webform?version=8.x β†’
    docs : https://www.drupal.org/docs/8/modules/webform β†’
    forum : https://drupal.stackexchange.com/questions/tagged/webform

    requires
    drupal/core ^10.1
    php >=8.1

    requires (dev)
    drupal/address 1.x-dev
    drupal/bootstrap 3.x-dev
    drupal/captcha ^1 || ^2
    drupal/chosen 3.0.x-dev
    drupal/ckeditor 1.0.x-dev
    drupal/clientside_validation ^3 || ^4
    drupal/clientside_validation_jquery *
    drupal/devel 5.x-dev
    drupal/entity 1.x-dev
    drupal/entity_print 2.x-dev
    drupal/group 1.x-dev
    drupal/hal 1 - 2
    drupal/jquery_ui 1.x-dev
    drupal/jquery_ui_button 2.x-dev
    drupal/jquery_ui_checkboxradio 2.x-dev
    drupal/jquery_ui_datepicker 2.x-dev
    drupal/mailsystem 4.x-dev
    drupal/metatag 1.x-dev
    drupal/paragraphs 1.x-dev
    drupal/select2 1.x-dev
    drupal/smtp 1.x-dev
    drupal/styleguide ^1 || ^2
    drupal/telephone_validation 2.x-dev
    drupal/token 1.x-dev
    drupal/variationcache 1.x-dev
    drupal/webform_access *
    drupal/webform_attachment *
    drupal/webform_clientside_validation *
    drupal/webform_devel *
    drupal/webform_entity_print *
    drupal/webform_node *
    drupal/webform_options_limit *
    drupal/webform_scheduled_email *
    drupal/webform_share *
    drupal/webform_ui *

    suggests
    drupal/jquery_ui_buttons Provides jQuery UI Checkboxradio library. Required by the Webform jQueryUI Buttons module. The Webform jQueryUI Buttons module is deprecated because jQueryUI is no longer maintained.
    drupal/jquery_ui_datepicker Provides jQuery UI Datepicker library. Required to support datepickers. The Webform jQueryUI Datepicker module is deprecated because jQueryUI is no longer maintained.

  • Status changed to Active 3 months ago
  • πŸ‡ΊπŸ‡ΈUnited States kwfinken Lansing, MI
  • I just installed drupal/webform on a site and I verified the version information is in its info file. So whatever is happening on that site, it isn't a bug in Webform module. To be absolutely clear I am talking about webform.info.yml which is in the root directory of this module.

  • It might be good to know the config.preferred-install config value that is in composer.json. But all-in-all I don't think this is a Webform issue.

  • Status changed to Fixed 3 months ago
  • πŸ‡¨πŸ‡¦Canada Liam Morland Ontario, CA πŸ‡¨πŸ‡¦

    If the version is not in webform.info.yml, that suggests that you have a Git repo instead of a release. When I install from Composer, I see the version. The repo was probably installed manually or there is something that needs to be changed in your Composer setup. I doubt there is a Webform issue here. Please re-open if you need more help.

  • πŸ‡ΊπŸ‡ΈUnited States kwfinken Lansing, MI

    For those that may come across this issue, to repair:
    composer clearcache
    composer reinstall drupal/webform
    worked for me.

    If that does not work, try
    composer reinstall drupal/webform --prefer-dist.

    My guess is that the packaging script of drupal.org was messed up at some point, but that is only a conjecture. But this worked, no changes to composer.json nor composer.lock.

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024