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
Currently the advagg installer advagg_install()
throws exceptions when re-installing a site / the module.
The function creates the folders public://css
and public://js
without checking first if the folders already exists. This can cause exceptions which can interrupt the installation.
Proposed resolution
Check if the folders exists before trying to create them.
Remaining tasks
Reviews needed.
Comment | File | Size | Author |
---|---|---|---|
advagg-make-installer-more-defensive.patch | 971 bytes | das-peter | |
Comments
Comment #3
das-peter CreditAttribution: das-peter at Cando commentedRunning re-test - that fail looks random.
Comment #4
NickDickinsonWildeAll the tests on 8.4.x are failing, I'll look into that later, but for now tests fine on 8.2 (and looks fine for everything).
Applied, thanks.