Project

General

Profile

Actions

Bug #46161

closed

Empty extTables script wrongly detected

Added by Francois Suter about 11 years ago. Updated over 6 years ago.

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

100%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
5.3
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:

Description

In #45122 a check was added to avoid detecting the "TYPO3_extTableDef_script" script when it does not exist. The test uses file_exists(). This will fail if "TYPO3_extTableDef_script" is defined but empty, as file_exists() will then correctly match "typo3conf/" and try to include it, resulting in a PHP warning.

The test must be complemented by a is_file() check.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #45122: Addition extTables script might not existsClosedPhilipp Gampe2013-02-03

Actions
Actions #1

Updated by Gerrit Code Review about 11 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18828

Actions #2

Updated by Gerrit Code Review about 11 years ago

Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/18829

Actions #3

Updated by Gerrit Code Review about 11 years ago

Patch set 2 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/18829

Actions #4

Updated by Francois Suter about 11 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF