Project

General

Profile

Actions

Bug #28255

closed

Warning in log when displaying report

Added by Daniel Minder over 12 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Linkvalidator
Target version:
Start date:
2011-07-16
Due date:
% Done:

100%

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

Description

When displaying the report the TYPO3 log is filled with warnings like:
Core: Error handler (BE): PHP Warning: filesize(): stat failed for /var/www/conet/htdocs/typo3/atibility.js in /var/www/conet/htdocs/typo3_src-4.5.2/t3lib/class.t3lib_compressor.php line 341

I described this earlier in #25303 but assumed that this is an error in the template class. Investigating this again, I found out that it's actually an error in linkvalidator.

modfuncreport/class.tx_linkvalidator_modfuncreport.php creates a template object in line 295. In the next line, setModuleTemplate is called which internally adds the js/iecompatiblity.js to the renderer. To do this properly, it needs the backPath. BUT the backPath of the template object is set only one line later.

So, the solution is to swap lines 296 and 297, thus setting the backPath immediately after the creating of the template object.


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #25303: js/iecompatibility.js inclusion triggers compressor bugClosed2011-03-10

Actions
Actions #1

Updated by Mr. Hudson over 12 years ago

Patch set 1 of change Ia5a4c332ef50785150b58e2e4d7deff0a9544e26 has been pushed to the review server.
It is available at http://review.typo3.org/3377

Actions #2

Updated by Mr. Hudson over 12 years ago

Patch set 1 of change I24bee765b97074817cc2914f9d1ad174d656cf0e has been pushed to the review server.
It is available at http://review.typo3.org/3382

Actions #3

Updated by Stefan Neufeind over 12 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset commit:73570b348ff7a124faa7c717a996319e10230cf9.

Actions #4

Updated by Chris topher over 12 years ago

  • Target version set to 4.5.4
Actions #5

Updated by Chris topher about 12 years ago

  • Status changed from Resolved to Closed
Actions #6

Updated by Michael Stucki over 10 years ago

  • Category set to Linkvalidator
Actions #7

Updated by Michael Stucki over 10 years ago

  • Project changed from 1510 to TYPO3 Core
  • Category changed from Linkvalidator to Linkvalidator
Actions

Also available in: Atom PDF