Project

General

Profile

Actions

Bug #46486

closed

ResourceCompressor: Cleanly handle/log non-existing files

Added by Stefan Neufeind about 11 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2013-03-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Log-module in BE shows:

Core: Error handler (BE): PHP Warning: filesize() [<a href='function.filesize'>function.filesize</a>]: stat failed for /home/.../typo3conf/ext/gridelements/res/js/dbNewContentElWizardFixDTM.js in /home/.../typo3_src-6.0.4/typo3/sysext/core/Classes/Resource/ResourceCompressor.php line 304

Core: Error handler (BE): PHP Warning: filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for /home/.../typo3conf/ext/gridelements/res/js/dbNewContentElWizardFixDTM.js in /home/.../typo3_src-6.0.4/typo3/sysext/core/Classes/Resource/ResourceCompressor.php line 304

I checked that the file really does not exist here (which is an error in that checkout of gridelements). But we should handle such errors more gracefully / cleanly log them instead of throwing PHP warnings.

Steffen Ritter mentioned a similar case today, which I wasn't able to reproduce but is the "same" error:
Core: Error handler (BE): PHP Warning: filesize(): stat failed for /var/www/typo3temp/sprites/zextensions.css in typo3/sysext/core/Classes/Resource/ResourceCompressor.php line 364

Actions #1

Updated by Mathias Schreiber over 9 years ago

  • Target version set to 7.4 (Backend)
  • Is Regression set to No
Actions #2

Updated by Susanne Moog almost 9 years ago

  • Target version changed from 7.4 (Backend) to 7.5
Actions #3

Updated by Benni Mack over 8 years ago

  • Target version changed from 7.5 to 7 LTS
Actions #4

Updated by Christian Kuhn over 8 years ago

  • Status changed from New to Closed

unable to reproduce anymore.

Actions

Also available in: Atom PDF