- πͺπΈSpain jonhattan Plasencia
Already fixed by committing other pending issues. Thanks!
Automatically closed - issue fixed for 2 weeks with no activity.
1. The asset_type in MissingAsset.php is only working for css.
2. Warning: Undefined variable $result in optimized_assets_proxy_restore_file() (line 48 of /modules/contrib/optimized_assets_proxy/optimized_assets_proxy.module)
3. Only .gz files are generated, styles remain broken.
Install on Drupal site, manually delete an aggregated js file, and try to reload a page that uses it. Js is not regenerated.
1. The asset_type in MissingAsset.php is set to $matches[1] from the regex, but that will always return the first capture group, which is css. Js asset types need to use $matches[2].
2. Defined $result
3. This one I'm not entirely sure about, but the module didn't work without this change. Updated optimized_assets_proxy_restore_file to only create a .css.gz or .js.gz file if that is the extension of the missing file, otherwise create a .css or .js file.
Patch attached with all of the noted changes.
Fixed
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Already fixed by committing other pending issues. Thanks!
Automatically closed - issue fixed for 2 weeks with no activity.