Latest update breaks the gallery

Created on 26 May 2022, over 2 years ago
Updated 3 March 2023, over 1 year ago

Problem/Motivation

After updating this module my gallery was broken. I had a couple errors about missing Javascript files and after digging around for a bit, i've figured the gallery was missing. As stated in the install instruction, you need to install the gallery manually. I don't really understand why? Since it this project does nothing more then adding support for Lightgallery, shouldn't it be a dependency of this project?

Edit:

I've investigated a bit further. The latest version is actually removing the lightgallery dependency for me. I've reverted what happend during the latest update and tried to rerun it. This is what composer does:

I am simply doing: composer update

  - Removing sachinchoolur/lightgallery (1.6.12)
  - Upgrading doctrine/cache (1.12.1 => 1.13.0)
  - Upgrading drupal/core (9.3.12 => 9.3.14)
  - Upgrading drupal/core-composer-scaffold (9.3.12 => 9.3.14)
  - Upgrading drupal/core-recommended (9.3.12 => 9.3.14)
  - Upgrading drupal/environment_indicator (4.0.5 => 4.0.6)
  - Upgrading drupal/lightgallery (1.2.0 => 1.3.0)
  - Upgrading drupal/pathauto (1.9.0 => 1.10.0)
  - Upgrading fileeye/mimemap (1.2.1 => 1.2.2)
  - Upgrading guzzlehttp/guzzle (6.5.5 => 6.5.6)
  - Upgrading symfony/config (v4.4.37 => v4.4.41)
  - Upgrading symfony/finder (v4.4.37 => v4.4.41)

Steps to reproduce

Have drupal/lightgallery 1.2.0 installed and update to 1.3.0.

Proposed resolution

Add "sachinchoolur/lightgallery" as a dependency in composer.json

🐛 Bug report
Status

Fixed

Version

1.3

Component

Code

Created by

Live updates comments and jobs are added and updated live.
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