#5488 - If something fails to compile (filesize 0), *_enforce should probably try re-compiling it once

  • By
  • Added
  • 5 views
Identifier #5488
Issue type Minor issue (breaks specific functionality)
Title If something fails to compile (filesize 0), *_enforce should probably try re-compiling it once
Status Closed (no changes needed)
Handling member Deleted
Addon General / Uncategorised
Description In css_enforce and javascript_enforce, if the "compiled" version of the file in templates_cached is 0 bytes, the function simply returns blank without trying anything. Instead, we should probably attempt to recompile the file once, and if it's still 0 bytes, we return blank at that point.
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated