TYPO3 Forge: Issueshttp://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692023-04-26T15:53:13ZTYPO3 Forge
Redmine TYPO3 Core - Bug #100767 (Closed): typo3-console setup fails with EXT:workspaceshttp://forge.typo3.org/issues/1007672023-04-26T15:53:13ZDavid Bruchmanndavid.bruchmann@gmail.com
<p>EXT:workspaces seems to be responsible for setup-error, so the cli-setup with "typo install:setup" fails.<br />It's difficult to find the reason for it, so the cause isn't know yet.</p> TYPO3 Core - Bug #98323 (Rejected): auto creation of table isn't done if options never fit exact ...http://forge.typo3.org/issues/983232022-09-10T11:19:15ZDavid Bruchmanndavid.bruchmann@gmail.com
<p>Having a configuration like this:<br /><pre>
'related_posts' => [
'exclude' => true,
'label' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xlf:tx_blogexample_domain_model_post.related',
'config' => [
'type' => 'select',
'renderType' => 'selectMultipleSideBySide',
'size' => 10,
'autoSizeMax' => 30,
'multiple' => 0,
'foreign_table' => 'tx_blogexample_domain_model_post',
'foreign_table_where' => 'AND ###THIS_UID### != tx_blogexample_domain_model_post.uid',
'MM' => 'tx_blogexample_post_post_mm',
'MM_opposite_field' => 'related_posts',
],
],
</pre><br />the table isn't created.<br />The culprit here is the option 'MM_opposite_field', removing it, it works like expected.</p> TYPO3 Core - Bug #94701 (Closed): Dashboard breaks if Guzzle Middleware is usedhttp://forge.typo3.org/issues/947012021-08-03T17:12:21ZDavid Bruchmanndavid.bruchmann@gmail.com
<p>If a Guzzle Middleware is used the Dashboard modules "TYPO3 news" and "TYPO3 security advisories" do not work anymore.</p>
<p>Related to that might be that $GLOBALS['TYPO3_CONF_VARS']['HTTP']['handler'] is handled somehow strange, the values are not visible always and in the backend Configuration Module it looks always empty.</p> TYPO3 Core - Bug #94015 (Closed): GeneralUtility::xml2array() can't be used in Guzzle middlewarehttp://forge.typo3.org/issues/940152021-04-29T10:39:30ZDavid Bruchmanndavid.bruchmann@gmail.com
<p>Using a middleware like this:</p>
<pre>
# Add custom middleware to default Guzzle handler stack
$GLOBALS['TYPO3_CONF_VARS']['HTTP']['handler'][] =
(\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\ACME\Middleware\Guzzle\CustomMiddleware::class))->handler();
</pre>
<p>it's not possible to use xml2array, instead an error-message is thrown:</p>
<pre>
[CRITICAL] request="c379d512eb551" component="TYPO3.CMS.Core.Error.ProductionExceptionHandler": Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1549446998: TYPO3\CMS\Core\Cache\CacheManager can not be injected/instantiated during ext_localconf.php loading. Use lazy loading instead. | LogicException thrown in file typo3/sysext/core/Classes/ServiceProvider.php in line 97.
</pre> TYPO3 Core - Bug #92508 (Closed): hook filterMenuPages never has access to confighttp://forge.typo3.org/issues/925082020-10-07T17:38:21ZDavid Bruchmanndavid.bruchmann@gmail.com
<p>Hooking functions created with<br />$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/tslib/class.tslib_menu.php']['filterMenuPages'][]<br />(defined in TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject)</p>
<p>never have access to the capsulated configuration as there isn't any function to expose the values.<br />For a bit more complicated challenges this hook is therefore useless.</p>
<p>The ugly but possible alternative is an XCLASS.</p>
<p>EDIT:<br />-----</p>
<p>More detailed, using the hook the following interface is mandatory:<br /><pre>
/**
* interface for classes which hook into AbstractMenuContentObject
*/
interface AbstractMenuFilterPagesHookInterface
{
/**
* Checks if a page is OK to include in the final menu item array.
*
* @param array $data Array of menu items
* @param array $banUidArray Array of page uids which are to be excluded
* @param bool $spacer If set, then the page is a spacer.
* @param \TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject $obj The menu object
* @return bool Returns TRUE if the page can be safely included.
*/
public function processFilter(array &$data, array $banUidArray, $spacer, AbstractMenuContentObject $obj);
}
</pre></p>
<p>All the parameters of processFilter() are filled with values, but most of them can't be accessed because the are protected and never have getter-methods.</p> TYPO3 Core - Bug #87084 (Closed): Typo in InstallTool -> check for broken Extensionshttp://forge.typo3.org/issues/870842018-12-05T09:13:14ZDavid Bruchmanndavid.bruchmann@gmail.com
<p>There is a hint shown (not always):<br /><pre>
... it may also help to manually increase debugging output in typo3conf/LocalConfiguration.php:['BE']['debug'] => true, ['SYS']['devIPmask'] => '*', ['SYS']['displayErrors'] => 1,['SYS]['systemLogLevel'] => 0, ['SYS']['exceptionalErrors'] => 12290</pre></p>
<p>There is one single quote missing in <pre>['SYS]['systemLogLevel']</pre></p> TYPO3 Core - Bug #85440 (Closed): UI: Scan extension files: Misleading Button-texthttp://forge.typo3.org/issues/854402018-06-30T10:54:12ZDavid Bruchmanndavid.bruchmann@gmail.com
<p>See attached Screenshot, currently there is nothing "Scanning ...".</p> TYPO3 Core - Bug #81983 (Closed): JStop() in FormResultCompiler handles Stylesheets but not JavaS...http://forge.typo3.org/issues/819832017-07-26T22:43:28ZDavid Bruchmanndavid.bruchmann@gmail.com
<p>The function is remarkable wrong and noted like this:<br /><pre>
/**
* JavaScript code added BEFORE the form is drawn:
*
* @return string A <script></script> section with JavaScript.
*/
public function JStop()
{
$stylesheetHtml = [];
foreach ($this->stylesheetFiles as $stylesheetFile) {
$stylesheetHtml[] = '<link rel="stylesheet" type="text/css" href="' . $stylesheetFile . '" />';
}
return implode(LF, $stylesheetHtml);
}
</pre></p> TYPO3 Core - Bug #61494 (Closed): LegacyClassesForIde not loaded?http://forge.typo3.org/issues/614942014-09-10T03:52:16ZDavid Bruchmanndavid.bruchmann@gmail.com
<p>calling the class t3lib_arrayBrowser (by realUrl) I get the error <pre>Fatal error: Class 't3lib_arrayBrowser' not found in /var/www/typo3_src-6.2.4/typo3/sysext/core/Classes/Utility/GeneralUtility.php on line 4364</pre><br />I think the class still should be loaded by the script LegacyClassesForIde.php where it's written <pre>
/**
* @deprecated since 6.0 will be removed in 7.0
*/
class t3lib_arrayBrowser extends \TYPO3\CMS\Lowlevel\Utility\ArrayBrowser {}</pre><br />In this case the class is called by the realUrl-Info-modul, that's the way how to reproduce.</p>
<p>related to #61493</p> TYPO3 Core - Bug #60006 (Rejected): flooding of MySQL-Loghttp://forge.typo3.org/issues/600062014-06-30T17:19:45ZDavid Bruchmanndavid.bruchmann@gmail.com
<p>Version 6.2.3 is flooding the sql-log with this Error (11GB in max 5 min. !!!):</p>
<pre>
140630 22:06:00 InnoDB: Error: trying to access tablespace 574324073 page no. 976826416,
InnoDB: but the tablespace does not exist or is just being dropped.
140630 22:06:00 InnoDB: Error: trying to access tablespace 574324073 page no. 976826416,
InnoDB: but the tablespace does not exist or is just being dropped.
</pre>
<p>I don't know where it's coming from.<br />I just called the Install-tool and instead showing the content, the page is busy till my hdd-partition is full.<br />Common usage (page-creation, etc.) flooded the log-file yesterday too till nothing worked anymore but I've no editor that accepts large files like that, so I couldn't look up and I deleted the file.</p>
<p>Operating System: Windows Vista</p> TYPO3 Core - Feature #56953 (Closed): custom locallang.xmlhttp://forge.typo3.org/issues/569532014-03-16T08:09:33ZDavid Bruchmanndavid.bruchmann@gmail.com
<p>Using a custom locallang.xml with any extension on the first view looks like a feature-request.<br />As some translations maybe required but not present it's more than that: it's a bug.</p>
<p>Ok, what it is about now in detail?<br />For an extension (news) even already translated in many languages I need another translation and I never get it running without changing the locallang.xml in the extension itself.<br />I know, there must be a way how to do it without changes at extension or extbase but that's still not the issue.</p>
<p>The Issue is that the path to the default locallang.xml always is hardcoded and can't be overriden by configuration. So any other translation file will overwrite the values, it won't be loaded instead but additionally.</p>
<pre>
static protected function initializeLocalization($extensionName) {
if (isset(self::$LOCAL_LANG[$extensionName])) {
return;
}
$locallangPathAndFilename = 'EXT:' . t3lib_div::camelCaseToLowerCaseUnderscored($extensionName) . '/' . self::$locallangPath . 'locallang.xml';
...
</pre>
<p>I wish a solution by configuration:</p>
<pre>
if (!$someConfigPath){
$locallangPathAndFilename = 'EXT:' . t3lib_div::camelCaseToLowerCaseUnderscored($extensionName) . '/' . self::$locallangPath . 'locallang.xml';
} else {
$locallangPathAndFilename = $someConfigPath.'locallang.xml'; // i.e. fileadmin/whatever/locallang.xml
}
</pre> TYPO3 Core - Bug #23507 (Closed): IRRE: Connecting data is only possible with new datahttp://forge.typo3.org/issues/235072010-09-05T20:48:18ZDavid Bruchmanndavid.bruchmann@gmail.com
<p>Having a record with IRRE-Options there is only an icon for new records.<br />It's unimpossible without direct access to database to connect existing records to the current one. Icon and function to connect existing records are required.</p>
<p>It should be configurable in TCA if the connected data have to be unique or if one record can be assigned to different parent records.<br />(issue imported from #M15647)</p> TYPO3 Core - Feature #23472 (Closed): Introducing t3lib_div::getObjectEnv($input) and t3lib_div::...http://forge.typo3.org/issues/234722010-08-28T12:42:08ZDavid Bruchmanndavid.bruchmann@gmail.com
<p>Hi,</p>
<p>I'd like to add two new methods to t3lib_div.<br />Due to some planned changes I need them and think they are useful in global scope.</p>
<p>t3lib_div::getType($input) returns type-information about a variable because it's not very smooth to do it each required case inline somewhere ...</p>
<p>t3lib_div::getObjectEnv($input) returns the enviroment of an object. It uses all available, concerning functions of PHP to build an array with information about the object.</p>
<p>Furthermore each method is integrated in a new section.</p>
<pre><code>/*************************
*
* TYPE FUNCTIONS
<strong><br /> *</strong><b>*<strong></b></strong>****************/</code></pre>
<pre><code>/**
* Returns the type-information for $input.
*
* @param mixed input to test for type
* @return string type of input as string<br /> */<br /> public static function getType ($input) { <br /> $type = 'string';<br /> if (is_array($input)) $type = 'array';<br /> elseif (is_object($input)) $type = 'object';<br /> elseif (is_resource($input)) $type = 'resource';<br /> elseif (is_int($input)) $type = 'int';<br /> elseif (is_float($input)) $type = 'float';<br /> elseif (is_bool($input)) $type = 'bool';<br /> return $type;<br /> }</code></pre>
<pre><code>/*************************
*
* OBJECT-FUNCTIONS
<strong><br /> *</strong><b>*<strong></b></strong>****************/</code></pre>
<pre><code>/**
* Returns an Array with Information about an Object.
* For Details look at the Function below and the used PHP-Functions in the PHP-Manual.
*
* @param mixed Should be of Type Object but can be of any Type.
* @return array Object-Information or empty if $input is no Object<br /> */<br /> public static function getObjectEnv($input) {<br /> $obj = array();<br /> if (is_object($input)) {<br /> $class = get_class($input);<br /> $obj = array(<br /> 'Type' => 'object',<br /> 'Classname' => $class,<br /> 'Parent Class' => get_parent_class($class),<br /> 'Methods' => get_class_methods($class),<br /> 'Class Variables' => get_class_vars($class),<br /> 'Object Variables' => get_object_vars($input),<br /> 'Implemented Interfaces' => class_implements($class)<br /> );<br /> }<br /> return $obj;<br /> }<br />(issue imported from #M15585)</code></pre> TYPO3 Core - Bug #21926 (Closed): t3lib_befunc::getFlexFormDS fails because of wrong inquirieshttp://forge.typo3.org/issues/219262010-01-08T11:17:48ZDavid Bruchmanndavid.bruchmann@gmail.com
<p>The incoming parameter $conf[ds] always has a syntax like<br /> $conf[ds][ MODUL,TYPE] = VALUE;<br />Example:<br /> $conf[ds][tt_address_pi1,list] = 'FILE:EXT:tt_address/pi1/flexform.xml';<br />The array $conf[ds] is mapped to $ds_array.</p>
<p>The incoming parameter $conf['ds_pointerField'] always has the syntax<br /> $conf['ds_pointerField'] = 'FIELD1,FIELD2';</p>
<p>This Value is exploded in $pointerFields for WRONG usage:</p>
<p>1: if(count($pointerFields) == 2) {<br />2: if($ds_array[$row[$pointerFields<sup><a href="#fn0">0</a></sup>].','.$row[$pointerFields<sup><a href="#fn1">1</a></sup>]]) {<br />3: $srcPointer = $row[$pointerFields<sup><a href="#fn0">0</a></sup>].','.$row[$pointerFields<sup><a href="#fn1">1</a></sup>];<br />4: }</p>
<p>Whats Wrong?<br />the inquiry in line 2 always fails because the assumed syntax is wrong. The right syntax for a key in $conf[ds] is 'MODUL,TYPE' but the inquiry expects 'FIELD1,FIELD2'. Following Inquiries are wrong too.<br />So most Modules get the value "default" for $srcPointer which may work in most cases but not always.</p>
<p>(issue imported from #M13176)</p> TYPO3 Core - Bug #20892 (Closed): SELECT_mm_query for dbal/adodbhttp://forge.typo3.org/issues/208922009-08-15T20:04:32ZDavid Bruchmanndavid.bruchmann@gmail.com
<p>Due to <a class="external" href="http://bugs.typo3.org/view.php?id=9620">http://bugs.typo3.org/view.php?id=9620</a> SELECT_mm_query and perhaps (don't know) exec_SELECT_mm_query have to be integrated in dbal/adodb</p>
<p>(issue imported from #M11729)</p>