[TYPO3-core] RFC #7753: EM warns No XCLASS inclusion code found if you use $GLOBALS['TYPO3_CONF_VARS']

Franz Holzinger franz at ttproducts.de
Sat May 1 08:55:45 CEST 2010


Hello,

This is an SVN patch request.

Type: Bugfix

Branch: 4.2,4.3,trunk

Bugtracker references:
http://bugs.typo3.org/view.php?id=7753

Problem:
The EM always gives a red lined error message if you use
$GLOBALS['TYPO3_CONF_VARS'] instead of $TYPO3_CONF_VARS. This makes many
users think that this is a bug inside of the extension. So many of them
will continue to send emails to the extension authors, if you do not fix
this in TYPO3. This is very annoying to extension developers!
Wrong file names and paths used in the EM should be reported. Do not
keep quiet in the EM!

Solution:
Enhance the checking procudure to also allow the global $GLOBALS for
XCLASS. Add debug error messages to make an easy debugging possible and
to not worry normal users.

How To Reproduce:

Install static_info_tables and see the EM page of it.

-- Franz Holzinger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch2-7753.diff
Type: application/pgp-keys
Size: 3520 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100501/8148fca9/attachment.key>


More information about the TYPO3-team-core mailing list