Project

General

Profile

Actions

Bug #19078

closed

When using ZendPlatform no RTE is loaded

Added by Peter Beernink over 16 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-07-09
Due date:
% Done:

0%

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

Description

When using ZendPlatform (3.6.2) no RTE is loaded when editing a record.
After some debugging, it turned out that the function t3lib_befunc::getSpecConfParts returns invalid values with the ZendPlatform enabled.
I've been able to reproduce this problem on various version from Typo3 3.8 trough Typo3 4.2.

Apperently ZendPlatform doesn't handle the unset and setting of variables in an array which is currently beeing looped correctly (or at least not the sameway as it is done without ZendPlatform).

I've attached a patch against Typo3 4.2.1, but it can also be applied manually against older versions.

(issue imported from #M8930)


Files

class_t3lib_befunc.php.diff (559 Bytes) class_t3lib_befunc.php.diff Administrator Admin, 2008-07-09 16:04
Actions #1

Updated by Martin Kutschker over 16 years ago

AFAIK alterations on an array within a foreach are forbidden and the behaviour of this is undefined (see php docs). Can you a verify my statement (find the php docs section) and provide a patch?

Actions #2

Updated by Alexander Opitz over 11 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)

The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?

Actions #3

Updated by Peter Beernink over 11 years ago

As I don't use ZendPlatform by default, I created a temporary installation to test this behaviour. It seems the issue is gone, so it can be closed.

Actions #4

Updated by Thorsten Kahler over 11 years ago

  • Status changed from Needs Feedback to Closed

Closed on author request.

Actions

Also available in: Atom PDF