[TYPO3-workspace] FYI24: #10819 - viewOnClick causes error if frontendpreview is disabled

Tolleiv.Nietsch info at tolleiv.de
Mon Nov 15 20:59:19 CET 2010


This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://forge.typo3.org/issues/10819

Branches:
trunk

Problem:
If FrontEndPreview is disabled and this user is within a workspace the 
registered hook (see http://bugs.typo3.org/view.php?id=13610) causes 
Exceptions during the Dependency Injection of Extbase.

Solution:
The attached patch avoids that the "initializeObjects" method is 
triggered if the preview-controller is instanciated within the befunc-hook.


Additional information:
This is how it already worked within the Git-Repository for some reason 
the meaning of the constructor parameter was switched.

If nobody objects this will be committed after 24hrs.

Cheers,
Tolleiv
-- 
Tolleiv Nietsch
www.tolleiv.de - www.aoemedia.de
Twitter: http://www.twitter.com/tolleiv
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: v1.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-workspace/attachments/20101115/c18482ae/attachment.txt>


More information about the TYPO3-team-workspace mailing list