[TYPO3-core] RFC #12321: Frontend editing (standard and advanced) is broken

Ernesto Baschny [cron IT] ernst at cron-it.de
Sat Oct 24 13:43:53 CEST 2009


Xavier Perseguers schrieb:

> 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.

Commited to trunk, rev.6274. Added some comment about why that member is
public to the phpdoc.

Cheers and thanks Xavier,
Ernesto


More information about the TYPO3-team-core mailing list