TYPO3 Forge: Issueshttp://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692022-09-10T11:19:15ZTYPO3 Forge
Redmine 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 #98322 (Rejected): IRRE fields have limited TCA-options concerning mm-tableshttp://forge.typo3.org/issues/983222022-09-10T10:25:47ZDavid Bruchmanndavid.bruchmann@gmail.com
<p>This code (of EXT:blog_example, table tx_blogexample_domain_model_person) should autocreate an mm-table with the field `fieldname` but it doesn't. The table is created but without that field.</p>
<pre>
'tags' => [
'label' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xlf:tx_blogexample_domain_model_person.tags',
'config' => [
'type' => 'inline',
'foreign_table' => 'tx_blogexample_domain_model_tag', // needed by Extbase
'MM' => 'tx_blogexample_domain_model_tag_mm',
'MM_match_fields' => [
'fieldname' => 'tags',
],
'appearance' => [
'useCombination' => 1,
'useSortable' => 1,
'collapseAll' => 1,
'expandSingle' => 1,
],
],
],
'tags_special' => [
'exclude' => true,
'label' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xlf:tx_blogexample_domain_model_person.tags_special',
'config' => [
'type' => 'inline',
'foreign_table' => 'tx_blogexample_domain_model_tag', // needed by Extbase
'MM' => 'tx_blogexample_domain_model_tag_mm',
'MM_match_fields' => [
'fieldname' => 'tags_special',
],
'appearance' => [
'useCombination' => 1,
'useSortable' => 1,
'collapseAll' => 1,
'expandSingle' => 1,
],
],
],
</pre> 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 #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 - 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 - 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 - Feature #21892 (Closed): Substitution of default markers is not available as single ...http://forge.typo3.org/issues/218922009-12-29T00:50:15ZDavid Bruchmanndavid.bruchmann@gmail.com
<p>in the function t3lib_befunc::exec_foreign_table_where_query a lot of default markers (like CURRENT_PID, etc.) are replaced.<br />It would be useful to have this substitution available as single function, so that it can be called without extecuting some query.<br />Furthermore the function for substitution should be integrated in t3lib_div because it's a very basic purpose and hasn't logically to be restricetd to backend.</p>
<p>(issue imported from #M13114)</p> TYPO3 Core - Bug #21046 (Closed): browse_links.php?mode=file : Disabling of Thumbnails is not pos...http://forge.typo3.org/issues/210462009-09-13T13:07:18ZDavid Bruchmanndavid.bruchmann@gmail.com
<p>When you've chosen to display thumbnails and want to deactivate it again by the corresponding checkbox the window reloads but with enabled checkbox and with displaying thumbs.</p>
<p>(issue imported from #M11941)</p> TYPO3 Core - Bug #21043 (Closed): itemsProcFunc for Radio-Buttons doesn't work correctlyhttp://forge.typo3.org/issues/210432009-09-12T19:35:21ZDavid Bruchmanndavid.bruchmann@gmail.com
<p>itemsProcFunc for Radio-Buttons should work as the same function for select-fields. The difference is that for Radio-Buttons the same amount of dummy-arrays as estimated items has to be noted.</p>
<p>At first a working example for select:</p>
<p>$tempColumns = array (<br /> FIELDNAME => array(<br /> 'exclude' => 1,<br /> 'label' => LABEL,<br /> 'config' => array (<br /> 'type' => 'select',<br /> 'items' => Array(<br /> array('', 0),<br /> ),<br /> 'itemsProcFunc' => CLASS->FUNCTION,<br /> 'default' => 0,<br /> ),<br /> ),<br />);</p>
<p>For Radio-Buttons the same Array has to be noted like that:</p>
<p>$tempColumns = array (<br /> FIELDNAME => array(<br /> 'exclude' => 1,<br /> 'label' => LABEL,<br /> 'config' => array (<br /> 'type' => 'radio',<br /> 'items' => Array(<br /> array('', 0),<br /> array('', 1),<br /> array('', 2),<br /> ....<br /> ),<br /> 'itemsProcFunc' => CLASS->FUNCTION,<br /> 'default' => 0,<br /> ),<br /> ),<br />);</p>
<p>So the amount of estimated items has to be verified earlier which requires to include another function with the same requests two times.</p>
<p>(issue imported from #M11935)</p> TYPO3 Core - Bug #20893 (Closed): function sql($db,$query) should be wrapper only because it's an...http://forge.typo3.org/issues/208932009-08-15T20:45:48ZDavid Bruchmanndavid.bruchmann@gmail.com
<p>function sql($db,$query) {<br /> return $this->sql_query($db,$query);<br />}</p>
<p>instead of full copy of sql_query($db,$query)</p>
<p>(issue imported from #M11730)</p>