Project

General

Profile

Actions

Bug #21344

closed

Frontend editing (standard and advanced) is broken

Added by Xavier Perseguers about 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Must have
Category:
Communication
Target version:
-
Start date:
2009-10-23
Due date:
% Done:

0%

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

Description

Using feedit with beta2 leads to this error:

PHP Fatal error: Cannot access protected property t3lib_frontendedit::$TSFE_EDIT in .../typo3_src-4.3.0beta2/typo3/sysext/feedit/view/class.tx_feedit_editpanel.php on line 80

Using feediadvanced with beta2 leads to this error:

Fatal error: Cannot access protected property tx_templavoila_frontendedit::$TSFE_EDIT

Fix of #20785 introduced a new class member TSFE_EDIT which is defined as protected. However both extensions feedit and feeditadvanced need to access this property from outside. Before they accessed an undeclared member which had been initialized, now they cannot access it anymore.

Problem: field was made protected whereas it should be made public if one does not want to go through all Core to use a getter instead.

Solution:
Make this member public instead.
(issue imported from #M12321)


Files

12321.diff (338 Bytes) 12321.diff Administrator Admin, 2009-10-23 11:19

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #20785: Potential SQL injection in class.t3lib_tsfebeuserauth.phpClosedErnesto Baschny2009-07-27

Actions
Actions #1

Updated by Staffan Ericsson about 15 years ago

can add that the patch work and the problem is real

Actions #2

Updated by Ernesto Baschny about 15 years ago

Commited to trunk, rev. 6274

Actions

Also available in: Atom PDF