[TYPO3-core] FYI: backend.php now prepared for access check on toolbar items, interface changed !

Ingo Renner ingo at typo3.org
Thu Feb 21 14:18:23 CET 2008


anther FYI:

unfortunately this change made it impossible to have AJAX response 
methods in the same class as the toolbar item rendering functions as 
when calling the AJAX responders a backend reference is not available 
and thus a fatal error is thrown when instantiating the class.

the solution is quite pragmatic by making the backend reference as 
constructor parameter optional through the interface with a default 
value of null.

please see the attached patch.


all the best
Ingo

-- 
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fixed toolbaritem interface.diff
Type: text/x-diff
Size: 4196 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080221/1489f2c9/attachment.diff 


More information about the TYPO3-team-core mailing list