- ๐จ๐ฆCanada nicole.harnish Halifax
This wont work as "Because patching occurs after Composer calculates dependencies and installs packages, changes to an underlying dependencyโs composer.json file introduced in a patch will have no effect on installed packages."
- ๐จ๐ฆCanada alienzed
A bit confused, as I seem to be blocked from upgrading. How is this marked as compatible with D10 if I cannot effectively install it's dependencies using composer?
- ๐บ๐ธUnited States inversed
For anyone having trouble getting to 6.0.3, this is the command I used. Essentially, I needed to update the out of date supporting jquery_ui dependencies at the same time as BEF.
composer require drupal/better_exposed_filters:^6.0.3 drupal/jquery_ui_datepicker:^2.0 drupal/jquery_ui_slider:^2.0 -W
Otherwise, I kept ending up on BEF 6.0.2 which does not include the fix from this issue. I had those packages required specifically so they were locked and composer was not able to update BEF, even when specifying the with-all-dependencies argument.
- ๐จ๐ฆCanada awasson
Thanks @inversed #21 ๐ Drupal 10 compatibility Fixed ,
Perhaps a maintainer can post that suggestion to the module page under preparing for Drupal 10 to save time and frustration for those running into this issue.
I too have run into it multiple times in the last weeks while preparing sites for upgrading D9 -> D10
I've been editing composer.json manually for:
"drupal/better_exposed_filters": "^6.0.3", "drupal/jquery_ui_datepicker": "^2.0",
Then
composer update
.I think your method is a cleaner way to do it.
Cheers,
Andrew - ๐ฌ๐งUnited Kingdom joehuggans Harrogate, UK
#21 - legendary, thank you!
- ๐ต๐ฐPakistan adilsarwar1
I was trying to update to Drupal 10. but the issue was of BEF and jQuery UI Slider compatibility. I manually updated the following lines in composer file and then run the composer update command.
- "drupal/better_exposed_filters": "^6.0.3"
- "drupal/jquery_ui_datepicker": "^2.0"
- "drupal/jquery_ui_slider": "^2.0"after running composer update command both the modules updated successfully.