Issue Bug Closed

#21344Frontend editing (standard and advanced) is broken

Xavier Perseguers 10/23/09, 11:18 updated 08/06/10, 13:30

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.