[BUGFIX] Adjust category exception message to namespaces 27/19727/2
authorBenjamin Mack <benni@typo3.org>
Sun, 7 Apr 2013 09:33:40 +0000 (11:33 +0200)
committerBenjamin Mack <benni@typo3.org>
Sun, 7 Apr 2013 09:46:14 +0000 (11:46 +0200)
The exception message in ExtensionManagementUtility::makeCategorizable
now refers to namespaces instead of t3lib.

Fixes: #42996
Releases: 6.1, 6.0

Change-Id: Ifd52a2fb96335fa9bde6ec98b6ddcf8dd4c6bf74
Reviewed-on: https://review.typo3.org/16451
Reviewed-by: Steffen Ritter
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
Reviewed-on: https://review.typo3.org/19727

typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php

index 553e10e..343c3b0 100644 (file)
@@ -1998,7 +1998,7 @@ tt_content.' . $key . $prefix . ' {
                // Update the category registry
                $result = \TYPO3\CMS\Core\Category\CategoryRegistry::getInstance()->add($extensionKey, $tableName, $fieldName);
                if ($result === FALSE) {
-                       $message = 't3lib_categoryRegistry: no category registered for table "%s". Double check if there is a TCA configured';
+                       $message = '\TYPO3\CMS\Core\Category\CategoryRegistry: no category registered for table "%s". Double check if there is a TCA configured';
                        \TYPO3\CMS\Core\Utility\GeneralUtility::devLog(sprintf($message, $tableName), 'Core', 2);
                }
                // Makes sure to add more TCA to an existing structure