Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
BEF version 5 added dependencies on several jQuery UI related modules because Drupal 9 no longer contains these in core. When updating a site from version 4, these dependencies should be enabled by an update hook.
Steps to reproduce
- Install version 4 on a site
- Update to version 5
- Notice that Drupal will complain about the module requiring jQuery UI, jQuery UI Slider, jQuery UI Touch Punch and jQuery UI Datepicker
Proposed resolution
Create an update hook that enables the required modules
Remaining tasks
- Create patch
- Review
- Commit
User interface changes
None.
API changes
None.
Data model changes
None.
Comment | File | Size | Author |
---|---|---|---|
#5 | enable_dependencies-3193305-5.patch | 1.33 KB | Supreetam09 |
Comments
Comment #2
brulain CreditAttribution: brulain commented+1
Comment #3
eelkeblokComment #4
jcnventura CreditAttribution: jcnventura at 1xINTERNET commentedThis is a bit more than 'Normal'.. Upgrading to bef 5 should really enable these modules.
Comment #5
Supreetam09 CreditAttribution: Supreetam09 commentedAdding this patch to enable dependant modules if they aren't enabled already when module is upgraded from version 4 to 5.
Comment #6
jcnventura CreditAttribution: jcnventura at 1xINTERNET commentedNice, @Supreetam09
Comment #7
Neslee Canil PintoOkay, this needs to go into the 5.x branch, looks like a must need a fix. Reviewed/tested it and works as expected. Thanks
Comment #9
Neslee Canil Pinto