[BUGFIX] Adjust category exception message to namespaces 51/16451/4
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:45:10 +0000 (11:45 +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
typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php

index de40d64..d1a0908 100644 (file)
@@ -2118,7 +2118,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