Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if the cached js file exists #8714

Merged
merged 2 commits into from
Mar 7, 2018
Merged

Check if the cached js file exists #8714

merged 2 commits into from
Mar 7, 2018

Conversation

rullzer
Copy link
Member

@rullzer rullzer commented Mar 7, 2018

Fixes #8705

If the file does not exist (for whatever reason). It is never cached. No
matter what the depscache etc tell you.

@MorrisJobke please double check but I think this should do the trick.

Fixes #8705

If the file does not exist (for whatever reason). It is never cached. No
matter what the depscache etc tell you.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Copy link
Member

@skjnldsv skjnldsv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I had issues with this before!

Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works 👍

@MorrisJobke
Copy link
Member

Tests fail.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
@codecov
Copy link

codecov bot commented Mar 7, 2018

Codecov Report

Merging #8714 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #8714      +/-   ##
============================================
- Coverage     51.87%   51.87%   -0.01%     
- Complexity    25367    25368       +1     
============================================
  Files          1607     1607              
  Lines         95154    95157       +3     
  Branches       1379     1379              
============================================
  Hits          49362    49362              
- Misses        45792    45795       +3
Impacted Files Coverage Δ Complexity Δ
lib/private/Template/JSCombiner.php 87.5% <100%> (-1.61%) 31 <0> (+1)
lib/private/Files/Cache/Propagator.php 94.93% <0%> (-1.27%) 16% <0%> (ø)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants