[TYPO3-core] RFC #12321: Frontend editing (standard and advanced) is broken
Xavier Perseguers
typo3 at perseguers.ch
Fri Oct 23 11:24:19 CEST 2009
Hi,
This is a SVN patch request.
Type: bugfix
Branches: trunk
Bugtracker references:
http://bugs.typo3.org/view.php?id=12321
http://bugs.typo3.org/view.php?id=11586 (RFC that introduced bug)
Problem:
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 RFC #11586 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.
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.
Cheers
--
Xavier Perseguers
http://xavier.perseguers.ch/en
One contribution a day keeps the fork away
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 12321.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091023/2a4f7063/attachment.txt>
More information about the TYPO3-team-core
mailing list