Project

General

Profile

Actions

Bug #24210

closed

PHP notices from XCLASS inclusions

Added by Susanne Moog almost 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2010-11-26
Due date:
% Done:

0%

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

Description

The default XCLASS inclusion generates PHP notices as it uses $TYPO3_CONF_VARS and tries to access undefined array indexes.

Fix by using $GLOBALS['TYPO3_CONF_VARS'] and isset()

(issue imported from #M16574)


Files

16574_v1.diff (364 KB) 16574_v1.diff Administrator Admin, 2010-11-26 12:54

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #23394: XCLASS Code looks ugly and could get a faceliftClosed2010-08-18

Actions
Related to TYPO3 Core - Bug #24291: PHP notices from XCLASS inclusionsClosedXavier Perseguers2010-12-05

Actions
Actions #1

Updated by Popy no-lastname-given almost 14 years ago

I suggested something like that : #23394
maybe "cleaner" ?

Actions #2

Updated by Steffen Gebert almost 14 years ago

committed to trunk rev. 9758
workspaces rev. 3301/3302
issue in pagetree tracker:
http://forge.typo3.org/issues/11289
issue in dbal tracker:
http://bugs.typo3.org/view.php?id=16677

Actions #3

Updated by Susanne Moog over 13 years ago

  • Target version deleted (4.5.0)
Actions

Also available in: Atom PDF