-
-
Notifications
You must be signed in to change notification settings - Fork 436
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
An Exception is thrown and logged if file is not found while merging #2445
Conversation
What i have to do, to trigger this error? I've eanbled css/js-merging, deleted a few files (that should be merged?!?), cleared cache ... |
I don't know, I've just put that issue into code 😅 |
@sreichel I tested it, if a file is not found the error is caught and logged to |
Co-authored-by: Mohamed ELIDRISSI <[email protected]>
Lately there are more and more tests that fail for PHP Stan - .github/phpstan.neon. For this PR the error is the following
Is it a problem that we merged it without fixing this error? |
Already fixed in another pending PR. |
found it now :-) |
If css/js merging is enabled but one of the files doesn't exist on the file system, the merging was re-done at every request, as explained in #874
This should be avoided and an exception should be logged.
On line 837 of app/code/core/Mage/Core/Helper/Data.php all the exceptions are logged and I've added that message (with the comment above) to be consistent with the rest of the code.