[BUGFIX] Wrong exception msg after namespace change
authorGeorg Ringer <georg.ringer@gmail.com>
Thu, 20 Sep 2012 10:31:33 +0000 (12:31 +0200)
committerHelmut Hummel <helmut.hummel@typo3.org>
Thu, 20 Sep 2012 17:49:25 +0000 (19:49 +0200)
The stated interface got a different name and needs to
be changed

Change-Id: Ied9953580dced910b777d49cb465ceb1287b0062
Fixes: #41111
Releases: 6.0
Reviewed-on: http://review.typo3.org/14756
Reviewed-by: Wouter Wolters
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
typo3/sysext/backend/Classes/View/PageLayoutView.php

index f4f1c9e..7939ff6 100644 (file)
@@ -1200,7 +1200,7 @@ class PageLayoutView extends \TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRe
                        foreach ($drawItemHooks as $hookClass) {
                                $hookObject = \TYPO3\CMS\Core\Utility\GeneralUtility::getUserObj($hookClass);
                                if (!$hookObject instanceof \TYPO3\CMS\Backend\View\PageLayoutViewDrawItemHookInterface) {
-                                       throw new \UnexpectedValueException('$hookObject must implement interface TYPO3\\CMS\\Backend\\View\\PageLayoutView_tt_content_drawItemHook', 1218547409);
+                                       throw new \UnexpectedValueException('$hookObject must implement interface TYPO3\\CMS\\Backend\\View\\PageLayoutViewDrawItemHookInterface', 1218547409);
                                }
                                $hookObject->preProcess($this, $drawItem, $outHeader, $out, $row);
                        }