- Status changed to Needs review
almost 2 years ago 10:00am 28 January 2023 - 🇩🇪Germany IT-Cru Munich
@Odai Atieh: The problem with module weight of the Image Style Warmer module should be already solved in the 8.x-1.2-rc1. Maybe you could double check with this RC1 if some of your problems are already solved.
Set to needs review to see what happens during PHP unit testing when crop module is not enabled.
- Status changed to Needs work
almost 2 years ago 10:39am 28 January 2023 - 🇮🇹Italy gambry Milan
Adding the correct tag got Drupal Global Contribution Weekend 2023.
- last update
over 1 year ago 7 pass, 1 fail - last update
over 1 year ago 7 pass, 1 fail - last update
over 1 year ago 7 pass, 1 fail - 🇯🇴Jordan Qusai Taha Amman
Re-roll Patch to be working with the latest version
- last update
about 1 year ago 12 pass - last update
about 1 year ago 12 pass - last update
about 1 year ago 12 pass - 🇩🇪Germany IT-Cru Munich
We should add testing of Image Style Warmer with enabled Crop API contrib module.
Steps to do:
- Add drupal/crop as dev reequirement to composer.json
- Clone existing related tests with enabled crop module
- last update
about 1 year ago 12 pass - First commit to issue fork.
- Merge request !19Issue #3319380: Warmer should not run multiple times for the same image → (Open) created by sokru
- last update
6 months ago 12 pass - 🇫🇮Finland sokru
I think there is something wrong with tests, because the patch/MR has this:
/** * Implements hook_ENTITY_update() for crop entity. */ function image_style_warmer_entity_update(EntityInterface $entity) { if (!\Drupal::service('module_handler')->moduleExists('crop')) { return; } ... \Drupal::service('image_style_warmer.warmer')->warmUp()
so when crop module is not installed
\Drupal::service('image_style_warmer.warmer')->warmUp()
is never called and image styles should not be generated. The tests should catch this. - last update
6 months ago run-tests.sh fatal error - 🇫🇮Finland sokru
Created a test that catches the hook implementation issue I mentioned on #17. The test code itself is not very clean and repeats large parts from
ImageStyleWarmerTestBase
. - 🇩🇪Germany Anybody Porta Westfalica
Thanks, I think this is indeed an important issue to fix!