info.yml file does not include the version number

Created on 7 July 2023, over 1 year ago

Problem/Motivation

When upgrading Focal Point via composer, it requires JQuery UI Draggable > version 2.0 (also installed via composer). With the current 2.0 installed, update.php thinks the right version of UI Draggable is not installed - it doesn't detect a version number for the module.

I was able to work around this by downloading the .tar.gz for manual install, which includes the following lines added by Drupal's packaging script:

# Information added by Drupal.org packaging script on 2022-12-12
version: '2.0.0'
project: 'jquery_ui_draggable'
datestamp: 1670871520

Those lines are not present in the info.yml downloaded via composer, thus causing the update process to think that you don't have the right version installed.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024