[+BUGFIX] Removed dependency to TYPO3 4.3 (t3lib_div::makeInstance()) which caused...
authorjocrau <jocrau@735d13b6-9817-0410-8766-e36946ffe9aa>
Wed, 26 Aug 2009 11:39:20 +0000 (11:39 +0000)
committerBastian Bringenberg <spam@bastian-bringenberg.de>
Thu, 4 Dec 2014 23:56:06 +0000 (00:56 +0100)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/contagged/trunk@23669 735d13b6-9817-0410-8766-e36946ffe9aa

ChangeLog
class.tx_contagged.php
ext_emconf.php
model/class.tx_contagged_model_terms.php

index fa63d85..cebe277 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+v1.2.0 2009-08-26 Jochen Rau <jochen.rau@typoplanet.de>
+
+       [+BUGFIX] Removed dependency to TYPO3 4.3 (t3lib_div::makeInstance()) which caused a Fatal error: Uncaught exception 'RuntimeException' with message 'No 
+configuration. Please include the static template.'
+
 v1.1.0 2009-08-14 Jochen Rau <jochen.rau@typoplanet.de>
 
        [~TASK] Deployed contagged to TER.
index 9c893fc..56e1712 100644 (file)
@@ -68,7 +68,8 @@ class tx_contagged extends tslib_pibase {
                $this->typesArray = $this->conf['types.'];
 
                // get the model (an associated array of terms)
-               $model = t3lib_div::makeInstance('tx_contagged_model_terms', $this);
+               $modelClassName = t3lib_div::makeInstanceClassName('tx_contagged_model_terms');
+               $model = new $modelClassName($this);
                $this->termsArray = $model->findAllTerms();
                $sortedTerms = array();
                foreach ($this->termsArray as $termKey => $termArray) {
index 1a9a84f..758aa2d 100644 (file)
@@ -3,7 +3,7 @@
 ########################################################################
 # Extension Manager/Repository config file for ext: "contagged"
 #
-# Auto generated 14-08-2009 17:28
+# Auto generated 26-08-2009 13:37
 #
 # Manual updates:
 # Only the data in the array - anything else is removed by next write.
@@ -15,7 +15,7 @@ $EM_CONF[$_EXTKEY] = array(
        'description' => 'This extension parses your content to tag, replace and link specific terms. It is useful to auto-generate a glossary - but not only. See \'ChangeLog\' and WiKi (\'http://wiki.typo3.org/index.php/Contagged\').',
        'category' => 'fe',
        'shy' => 0,
-       'version' => '1.1.0',
+       'version' => '1.2.0',
        'dependencies' => '',
        'conflicts' => '',
        'priority' => '',
@@ -40,7 +40,7 @@ $EM_CONF[$_EXTKEY] = array(
                'suggests' => array(
                ),
        ),
-       '_md5_values_when_last_written' => 'a:31:{s:9:"ChangeLog";s:4:"366b";s:10:"README.txt";s:4:"72b7";s:22:"class.tx_contagged.php";s:4:"fca5";s:21:"ext_conf_template.txt";s:4:"3d40";s:12:"ext_icon.gif";s:4:"50a3";s:17:"ext_localconf.php";s:4:"f640";s:14:"ext_tables.php";s:4:"7a50";s:14:"ext_tables.sql";s:4:"0afa";s:27:"icon_tx_contagged_terms.gif";s:4:"50a3";s:16:"locallang_db.xml";s:4:"0305";s:7:"tca.php";s:4:"7ed7";s:23:"doc/cooluri_example.xml";s:4:"3b41";s:14:"doc/manual.sxw";s:4:"0774";s:23:"doc/realurl_example.php";s:4:"7bac";s:55:"extensions/contagged/class.tx_rtehtmlarea_contagged.php";s:4:"6e77";s:34:"extensions/contagged/locallang.xml";s:4:"9489";s:38:"extensions/contagged/skin/htmlarea.css";s:4:"5e97";s:46:"extensions/contagged/skin/images/contagged.gif";s:4:"50a3";s:46:"extensions/contagged/skin/images/contagged.png";s:4:"63d3";s:39:"htmlarea/plugins/contagged/contagged.js";s:4:"41da";s:40:"htmlarea/plugins/contagged/locallang.xml";s:4:"e333";s:16:"js/selecttext.js";s:4:"1179";s:41:"model/class.tx_contagged_model_mapper.php";s:4:"f4f8";s:40:"model/class.tx_contagged_model_terms.php";s:4:"96bd";s:30:"pi1/class.tx_contagged_pi1.php";s:4:"3eca";s:18:"pi1/contagged.tmpl";s:4:"55bf";s:17:"pi1/locallang.xml";s:4:"bcfe";s:20:"static/constants.txt";s:4:"8fa5";s:16:"static/setup.txt";s:4:"06a5";s:20:"static/css/setup.txt";s:4:"bfc8";s:25:"static/examples/setup.txt";s:4:"7887";}',
+       '_md5_values_when_last_written' => 'a:31:{s:9:"ChangeLog";s:4:"0a0f";s:10:"README.txt";s:4:"72b7";s:22:"class.tx_contagged.php";s:4:"4c28";s:21:"ext_conf_template.txt";s:4:"3d40";s:12:"ext_icon.gif";s:4:"50a3";s:17:"ext_localconf.php";s:4:"f640";s:14:"ext_tables.php";s:4:"7a50";s:14:"ext_tables.sql";s:4:"0afa";s:27:"icon_tx_contagged_terms.gif";s:4:"50a3";s:16:"locallang_db.xml";s:4:"0305";s:7:"tca.php";s:4:"7ed7";s:23:"doc/cooluri_example.xml";s:4:"3b41";s:14:"doc/manual.sxw";s:4:"0774";s:23:"doc/realurl_example.php";s:4:"7bac";s:55:"extensions/contagged/class.tx_rtehtmlarea_contagged.php";s:4:"6e77";s:34:"extensions/contagged/locallang.xml";s:4:"9489";s:38:"extensions/contagged/skin/htmlarea.css";s:4:"5e97";s:46:"extensions/contagged/skin/images/contagged.gif";s:4:"50a3";s:46:"extensions/contagged/skin/images/contagged.png";s:4:"63d3";s:39:"htmlarea/plugins/contagged/contagged.js";s:4:"41da";s:40:"htmlarea/plugins/contagged/locallang.xml";s:4:"e333";s:16:"js/selecttext.js";s:4:"1179";s:41:"model/class.tx_contagged_model_mapper.php";s:4:"f4f8";s:40:"model/class.tx_contagged_model_terms.php";s:4:"8c3d";s:30:"pi1/class.tx_contagged_pi1.php";s:4:"3eca";s:18:"pi1/contagged.tmpl";s:4:"55bf";s:17:"pi1/locallang.xml";s:4:"bcfe";s:20:"static/constants.txt";s:4:"8fa5";s:16:"static/setup.txt";s:4:"06a5";s:20:"static/css/setup.txt";s:4:"bfc8";s:25:"static/examples/setup.txt";s:4:"7887";}',
        'suggests' => array(
        ),
 );
index c6657d7..5311c58 100644 (file)
@@ -43,7 +43,8 @@ class tx_contagged_model_terms {
                $this->conf = $controller->conf;
                $this->cObj = $controller->cObj;
 
-               $this->mapper = t3lib_div::makeInstance('tx_contagged_model_mapper', $this->controller);
+               $mapperClassName = t3lib_div::makeInstanceClassName('tx_contagged_model_mapper');
+               $this->mapper = new $mapperClassName($this->controller);
 
                // build an array of tables in the database
                $tablesResult = mysql_list_tables(TYPO3_db);