harish.04 β created an issue.
Thanks @driskell I will check on different options for overriding the File URL's.
Hi @driskell,
yeah they have mentioned hook_file_url_alter is restored in CDN 4.1.0 version but doesn't seem to be fixing our issue. In our case we are altering the file path in hook_file_url_alter in our custom module (basically stripping our sub domain prefix from base url) but it doesn't seem to be working.
It calls at the point that the CDN URL is generated rather than when the image is pulled from the CDN. - so the custom code written for hook_file_url_alter doesn't get called when image is pulled from the CDN.
Hi @driskell / @wim-leers,
Is there a separate ticket raised for tracking this issue ? we are facing similar issue with CDN recently, In our custom module we are using hook_file_url_alter for processing some of the file/Image urls for one of the sub site but recently we noticed that hook_file_url_alter function is not getting called when we render those images from CDN domain. I upgraded to CDN to 4.1.0 as well but still the issue seems to exist.
Any help would be appreciated.
Thanks,
Harish M.
Hi @driskell / @wim-leers,
Is there a separate ticket raised for tracking this issue ? we are facing similar issue with CDN recently, In our custom module we are using hook_file_url_alter for processing some of the file/Image urls for one of the sub site but recently we noticed that hook_file_url_alter function is not getting called when we render those images from CDN domain. I upgraded to CDN to 4.1.0 as well but still the issue seems to exist.
Any help would be appreciated.
Thanks,
Harish M.
Hi All,
In our case it was the Advanced Ban module which was throwing errors while Uninstalling modules. On disabling advban module the error is gone. Hope it helps someone.
Thanks,
Harish M.