[TYPO3-core] RFC #14500: Bug: Unit test failures in t3lib_matchCondition_backend_testcase
Oliver Klee
typo3-german-02 at oliverklee.de
Fri Dec 17 16:08:08 CET 2010
This is an SVN patch request.
Type: Bugfix
Bugtracker references:
http://bugs.typo3.org/view.php?id=14500
Branches:
trunk, TYPO3_4-4, TYPO3_4-3
Problem:
Some test fail in t3lib_matchCondition_backend_testcase.
This has to do with the way callbacks and references work in PHP 5.3.
Solution:
Drop the & modifier in the callback function declaration (which we don't
need anyway because the parameter does not get modified anyway):
public function determinePageIdByRecordDatabaseFetchCallback(&$resource) {
Notes:
I don't know whether this is a bug in PHP 5.3 or just expected behavior.
Does anyone know more?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 14500_43.diff
Type: text/x-diff
Size: 717 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101217/91cd91ba/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 14500_44.diff
Type: text/x-diff
Size: 702 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101217/91cd91ba/attachment-0001.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 14500_trunk.diff
Type: text/x-diff
Size: 702 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101217/91cd91ba/attachment-0002.diff>
More information about the TYPO3-team-core
mailing list