[BUGFIX] Could not analyse class in TYPO3 CMS 7.3 12/43312/3
authorStanislas Rolland <typo3@sjbr.ca>
Mon, 14 Sep 2015 22:57:01 +0000 (18:57 -0400)
committerStanislas Rolland <typo3@sjbr.ca>
Mon, 14 Sep 2015 23:19:27 +0000 (01:19 +0200)
Problem: Could not analyse class
Tx_StaticInfoTables_Controller_ManagerController in TYPO3 CMS 7.3

Resolves: #67677
Change-Id: Ice43f0f153085d9959c0b75e80500176d27e551d
Reviewed-on: http://review.typo3.org/43312
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
ChangeLog
Classes/Controller/ManagerController.php
ext_emconf.php
ext_tables.php

index 5ff6444..26b645d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2015-09-14  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Resolves #67998: Increase maxitems for cn_country_zones in TCA
+       * Resolves #67677: Problems in Typo3 CMS 7.3
 
 2015-02-10  Oliver Klee <typo3-coding@oliverklee.de>
 
index 777006d..024c0c2 100644 (file)
@@ -1,13 +1,9 @@
 <?php
 namespace SJBR\StaticInfoTables\Controller;
-use \SJBR\StaticInfoTables\Domain\Model\Country;
-use \SJBR\StaticInfoTables\Domain\Model\CountryZone;
-use \SJBR\StaticInfoTables\Domain\Model\Language;
-use \TYPO3\CMS\Core\Utility\VersionNumberUtility;
 /***************************************************************
  *  Copyright notice
  *
- *  (c) 2013-2014 Stanislas Rolland <typo3@sjbr.ca>
+ *  (c) 2013-2015 Stanislas Rolland <typo3@sjbr.ca>
  *  All rights reserved
  *
  *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -29,10 +25,13 @@ use \TYPO3\CMS\Core\Utility\VersionNumberUtility;
  *
  *  This copyright notice MUST APPEAR in all copies of the script!
  ***************************************************************/
+
+use \SJBR\StaticInfoTables\Domain\Model\Country;
+use \SJBR\StaticInfoTables\Domain\Model\CountryZone;
+use \SJBR\StaticInfoTables\Domain\Model\Language;
+
 /**
  * Static Info Tables Manager controller
- *
- * @author Stanislas Rolland <typo3@sjbr.ca>
  */
 class ManagerController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionController {
 
@@ -117,26 +116,6 @@ class ManagerController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionControll
        }
 
        /**
-        * Creates a Message object and adds it to the FlashMessageQueue.
-        *
-        * @param string $messageBody The message
-        * @param string $messageTitle Optional message title
-        * @param integer $severity Optional severity, must be one of \TYPO3\CMS\Core\Messaging\FlashMessage constants
-        * @param boolean $storeInSession Optional, defines whether the message should be stored in the session (default) or not
-        * @return void
-        * @throws \InvalidArgumentException if the message body is no string
-        * @see \TYPO3\CMS\Core\Messaging\FlashMessage
-        * @api
-        */
-       public function addFlashMessage($messageBody, $messageTitle = '', $severity = \TYPO3\CMS\Core\Messaging\AbstractMessage::OK, $storeInSession = TRUE) {
-               if (VersionNumberUtility::convertVersionNumberToInteger(VersionNumberUtility::getNumericTypo3Version()) >= 6002000) {
-                       parent::addFlashMessage($messageBody, $messageTitle, $severity, $storeInSession);
-               } else {
-                       $this->flashMessageContainer->add($messageTitle, $messageBody, $severity);
-               }
-       }
-
-       /**
         * Display general information
         *
         * @return string An HTML display of data overview
@@ -322,6 +301,4 @@ class ManagerController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionControll
                return $language . ' (' . $locale . ')';
        }
 
-}
-class_alias('SJBR\StaticInfoTables\Controller\ManagerController', 'Tx_StaticInfoTables_Controller_ManagerController');
-?>
\ No newline at end of file
+}
\ No newline at end of file
index 490f3c9..ad681ab 100644 (file)
@@ -1,52 +1,35 @@
 <?php
-
 /***************************************************************
  * Extension Manager/Repository config file for ext "static_info_tables".
  *
- * Auto generated 26-03-2014 19:24
- *
  * Manual updates:
  * Only the data in the array - everything else is removed by next
  * writing. "version" and "dependencies" must not be touched!
  ***************************************************************/
 
-$EM_CONF[$_EXTKEY] = array (
+$EM_CONF[$_EXTKEY] = array(
        'title' => 'Static Info Tables',
        'description' => 'Data and API for countries, languages and currencies.',
        'category' => 'misc',
-       'shy' => 0,
        'version' => '6.2.1',
-       'priority' => '',
-       'loadOrder' => '',
-       'module' => '',
        'state' => 'stable',
-       'uploadfolder' => 0,
+       'uploadfolder' => FALSE,
        'createDirs' => '',
-       'modify_tables' => '',
-       'clearcacheonload' => 0,
-       'lockType' => '',
+       'clearcacheonload' => FALSE,
        'author' => 'Stanislas Rolland/RenĂ© Fritz',
        'author_email' => 'typo3@sjbr.ca',
        'author_company' => 'SJBR',
-       'CGLcompliance' => NULL,
-       'CGLcompliance_note' => NULL,
-       'constraints' => 
-       array (
-               'depends' => 
-               array (
-                       'typo3' => '6.2.0-7.1.99',
-                       'php' => '5.3.7-0.0.0',
+       'constraints' => array(
+               'depends' => array(
+                       'typo3' => '6.2.0-7.99.99',
+                       'php' => '5.3.7-0.0.0'
                ),
-               'conflicts' => 
-               array (
+               'conflicts' => array(
                        'sr_static_info' => '0.0.0-99.99.99',
                        'cc_infotablesmgm' => '0.0.0-99.99.99',
-                       'uncache' => '0.0.0-99.99.99',
+                       'uncache' => '0.0.0-99.99.99'
                ),
-               'suggests' => 
-               array (
-               ),
-       ),
-);
-
-?>
\ No newline at end of file
+               'suggests' => array(
+               )
+       )
+);
\ No newline at end of file
index d498692..da22e29 100644 (file)
@@ -10,7 +10,7 @@ if (TYPO3_MODE == 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
         */
        if ($GLOBALS['TYPO3_CONF_VARS']['EXTCONF'][$_EXTKEY]['enableManager']) {
                \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
-                       $_EXTKEY,
+                       'SJBR.' . $_EXTKEY,
                        // Make module a submodule of 'tools'
                        'tools',
                        // Submodule key