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.
Similar to #354719: Call to imageapi_get_available_toolkits() breaks install profiles :
The test for function_exists('imageapi_menu') fails when installing in a profile and thus breaks install profiles. It's not obvious to me how to fix this, I will work without this check for the time being...
Comment | File | Size | Author |
---|---|---|---|
#4 | 354724_remove_check.patch | 867 bytes | alex_b |
#4 | 354724_check_on_runtime.patch | 1.33 KB | alex_b |
Comments
Comment #1
drewish CreditAttribution: drewish commentedneed more info... where is this being called. a patch would be great.
Comment #2
alex_b CreditAttribution: alex_b commentedSorry, called in imagecache.install imagecache_requirements() when installed with an install profile:
I'd be happy to roll a patch but I am not quite sure what approach to take here. It's not clear to me why this test exists at all when imagecache depends on imageapi anyway (see .info file).
Comment #3
alex_b CreditAttribution: alex_b commentedI am going to roll 2 patches: one removes the check, the other one moves it to $phase == 'runtime'
Comment #4
alex_b CreditAttribution: alex_b commentedHere you go, both applicable to latest DRUPAL-5--2. Both address the problem that imagecache barfs on install profile installation.
Comment #5
alex_b CreditAttribution: alex_b commentedNeeds review.
Comment #6
drewish CreditAttribution: drewish commentedthanks, committed to DRUPAL-5--2.