Problem/Motivation

The JS Cookie dependency added in 4.0.1 does not get enabled after running `update.php`.

Steps to reproduce

  • composer require drupal/fpa:4.0.0
    drush pm:enabe fpa -y
    composer require drupal/fpa:4.0.1
    drush updb -y
    drush pm:list --filter js_cookie
    
  • Observe that the dependency is not enabled.
  • Proposed resolution

    It seems the `update.php` process does not ensure newly added dependencies are enabled.

    Implement a hook_update_N() to ensure this dependency is enabled.

Issue fork fpa-3541877

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jcandan created an issue. See original summary.

astonvictor made their first commit to this issue’s fork.

astonvictor’s picture

Status: Active » Needs review

Hi there,

Implemented a simple update hook to force enable the module.
Thanks in advance

vinodhini.e’s picture

Hi,
Tested the module on Drupal 10.5.1.
Followed the steps mentioned in the issue but could not reproduce the problem.
The JS Cookie dependency added in 4.0.1 was installed and enabled successfully after running update.php (or drush updb) without applying the merge request.

Steps followed:

composer require drupal/fpa:4.0.0
drush pm:enable fpa -y
composer require drupal/fpa:4.0.1
drush updb -y
drush pm:list --filter js_cookie

Thanks.

astonvictor’s picture

Status: Needs review » Fixed

thanks
fixed in the dev version

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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