TYPO3 Forge: Issueshttp://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692019-03-16T22:12:38ZTYPO3 Forge
Redmine TYPO3 Core - Bug #87938 (Closed): Avoid superfluous cast and creation of instances DocumentTypeEx...http://forge.typo3.org/issues/879382019-03-16T22:12:38ZManuel Selbachmanuel_selbach@yahoo.de
<p>It turned out, that the implementation uses multiple cast to integer and multiple instances of DocumentTypeExclusionRestriction are created.</p> TYPO3 Core - Bug #87768 (Closed): Missing language in DocHeader in document edit modehttp://forge.typo3.org/issues/877682019-02-21T21:57:50ZManuel Selbachmanuel_selbach@yahoo.de
<p>If a document e.g. a textmedia element gets edited by a user that has a limited access to some languages, the select in the DocHeader shows the wrong languages, if the language overlay is hidden.</p> TYPO3 Core - Bug #87658 (Rejected): Admin panel simulate date / time broken under some circumstanceshttp://forge.typo3.org/issues/876582019-02-05T16:59:58ZManuel Selbachmanuel_selbach@yahoo.de
<p>The feature to simulate a date / time with the admin panel is broken under some circumstances.</p>
<p>This happens, as the "hidden" and the field that only "displays" the date / time have the same name but for the "display" field appended with "_hr".<br />You end up with:</p>
<p>hidden field name:<br /><pre>
TSFE_ADMIN_PANEL[preview_simulateDate]
</pre></p>
<p>field name that just displays the date / time<br /><pre>
TSFE_ADMIN_PANEL[preview_simulateDate]_hr
</pre></p>
<p>In some environments (combination of webserver, security modules, reverse proxy for caching, etc.) those parameters are combined in the request or modified in a way, that the value of "TSFE_ADMIN_PANEL[preview_simulateDate]" is the value from the "display field", which leads to be broken system in the frontend. As those settings are stored in the backend user profile in the database, the only way to fix is to reset the user settings, otherwise the frontend will be broken with the logged in user in the backend.</p> TYPO3 Core - Bug #87041 (Closed): CType in TCA[ctrl][label] leads to strange behaviorhttp://forge.typo3.org/issues/870412018-11-29T16:20:32ZManuel Selbachmanuel_selbach@yahoo.de
<p>It has turned out, that if you use CType as label for the copy process will be "broken".<br />If this is the case, the text in prependAtCopy will be used and appended to the CType, which then is a none registered CType.</p>
<p>Steps to reproduce:</p>
<ul>
<li>change the label for tt_content to CType</li>
<li>flush caches</li>
<li>create an element</li>
<li>copy and paste it within the same language</li>
</ul>
<p>result:</p>
<ul>
<li>have a look at DataHandler in line 3509 the method getCopyHeader() will be called for field CType</li>
</ul>
<p>e.g.<br />CType = text<br />prependAtCopy = (copy %s)</p>
<p>after getCopyHeader() has been called this will result in: text (copy 1)</p>
<p><img src="http://forge.typo3.org/attachments/download/33965/ctype-copy-1.png" alt="" loading="lazy" /></p>
<p>This also applies to 8.7 LTS</p>
<p>PS: If you have e.g. EXT:content_defender in place, this will prevent you even from pasting the element.</p> TYPO3 Core - Bug #85912 (Closed): Button "Paste after this record" or "Paste into this column" is...http://forge.typo3.org/issues/859122018-08-20T18:57:24ZManuel Selbachmanuel_selbach@yahoo.de
<p>If a content element get's copied and tried to insert directly via the buttons defined in the subject, nothing happens.</p>
<p>How to reproduce:</p>
<p>- Open a page in the page module with some content on it<br />- Copy a content element<br />- try to paste it via the button "Paste after this record" or "Paste into this column"</p>
<p>Result:<br />- Nothing happens</p>
<p>This issue seems to be located in the DragDrop.js or in Paste.js</p> TYPO3 Core - Bug #85911 (Closed): Not working "Paste after this record" buttonhttp://forge.typo3.org/issues/859112018-08-20T18:25:13ZManuel Selbachmanuel_selbach@yahoo.de
<p>NOTICE: Parent issue has to be fixed before</p>
<p>In mode "languages" of the page module, the button "Paster after this record" is broken.</p>
<p>How to reproduce:</p>
<p>- Open a page with some content on it in the page module<br />- Choose "Languages" in the top selection<br />- Copy a content element<br />- Paste it somewhere between some content elements with the button "Paste after this record"</p>
<p>Result: The pasted content element will be at the top of all content elements in the specific column.</p>
<p>This needs also to be fixed in TYPO3 8.7</p> TYPO3 Core - Bug #84588 (Closed): Int values for field will be converted to unix timestamp in mod...http://forge.typo3.org/issues/845882018-04-03T18:55:42ZManuel Selbachmanuel_selbach@yahoo.de
<p>With the change in <a class="external" href="https://forge.typo3.org/issues/83675">https://forge.typo3.org/issues/83675</a> every value will be converted into a unix timestamp even if you specify e.g. a UID or PID.</p>
<p>Example:</p>
<p>PID: 5134</p>
<p>This will bring back 99854182152 and the if condition is true in the introduced code:</p>
<pre><code class="php syntaxhl" data-language="php"><span class="k">if</span> <span class="p">(</span><span class="nb">strtotime</span><span class="p">(</span><span class="nv">$conf</span><span class="p">[</span><span class="s1">'inputValue'</span><span class="p">]))</span> <span class="p">{</span>
<span class="nv">$conf</span><span class="p">[</span><span class="s1">'inputValue'</span><span class="p">]</span> <span class="o">=</span> <span class="nb">strtotime</span><span class="p">(</span><span class="nv">$conf</span><span class="p">[</span><span class="s1">'inputValue'</span><span class="p">]);</span>
<span class="k">if</span> <span class="p">(</span><span class="nv">$conf</span><span class="p">[</span><span class="s1">'inputValue1'</span><span class="p">]</span> <span class="o">&&</span> <span class="nb">strtotime</span><span class="p">(</span><span class="nv">$conf</span><span class="p">[</span><span class="s1">'inputValue1'</span><span class="p">]))</span> <span class="p">{</span>
<span class="nv">$conf</span><span class="p">[</span><span class="s1">'inputValue1'</span><span class="p">]</span> <span class="o">=</span> <span class="nb">strtotime</span><span class="p">(</span><span class="nv">$conf</span><span class="p">[</span><span class="s1">'inputValue1'</span><span class="p">]);</span>
<span class="p">}</span>
<span class="p">}</span>
</code></pre> TYPO3 Core - Bug #84071 (Closed): Exception Call to a member function getTreeList() on nullhttp://forge.typo3.org/issues/840712018-02-27T18:15:48ZManuel Selbachmanuel_selbach@yahoo.de
<p>If there is a DataProcessor used in a FLUIDTEMPLATE object which tries to resolve storagePids from the configuration with recursion set,<br />the following exception occurs:</p>
<pre><code class="text syntaxhl" data-language="text">Call to a member function getTreeList() on null
Error thrown in file
typo3/cms/typo3/sysext/extbase/Classes/Configuration/FrontendConfigurationManager.php in line 258.
30 TYPO3\CMS\Extbase\Configuration\FrontendConfigurationManager::getRecursiveStoragePids("-8", 3)
typo3/cms/typo3/sysext/extbase/Classes/Configuration/AbstractConfigurationManager.php:
00198: $frameworkConfiguration['persistence']['storagePid'] = $this->getRecursiveStoragePids(
00199: implode(',', $storagePids),
00200: (int)$frameworkConfiguration['persistence']['recursive']
00201: );
00202: }
</code></pre>
<p>This is, because the running order has changed with this change <a class="external" href="https://github.com/TYPO3/TYPO3.CMS/commit/5c048a4c8017e4d50ab5f2343970a0fd33e4aaed">https://github.com/TYPO3/TYPO3.CMS/commit/5c048a4c8017e4d50ab5f2343970a0fd33e4aaed</a> in TYPO3\CMS\Frontend\ContentObject\FluidTemplateContentObject::render.</p>
<p>If you follow into TYPO3\CMS\Fluid\View\StandaloneView::construct (which was previously executed before the execution of dataProcessors were called) the method TYPO3\CMS\Extbase\Configuration\ConfigurationManager::setContentObject is called.</p>
<p>As this is not valid now, the method TYPO3\CMS\Extbase\Configuration\FrontendConfigurationManager::getRecursiveStoragePids tries to retrieve data from "null" which throws the mentioned exception.</p> TYPO3 Core - Bug #83585 (Closed): "New" page tree broken in Safari Version 11.0.2http://forge.typo3.org/issues/835852018-01-16T19:02:53ZManuel Selbachmanuel_selbach@yahoo.de
<p>The new page tree displays an arrow always, even if there is no subpage or subtree (see screenshot).</p>
<p><strong>Expected:</strong><br />The arrow should only be displayed if there is a subpage or subtree.</p>
<p>Used Safari Version 11.0.2 on macOS High Sierra 10.13.2</p>
<p><strong>Screenshots:</strong></p>
<p><img src="http://forge.typo3.org/attachments/download/33031/Bildschirmfoto2018-01-16-1.png" alt="" loading="lazy" /></p>
<p><img src="http://forge.typo3.org/attachments/download/33032/Bildschirmfoto2018-01-16-2.png" alt="" loading="lazy" /></p> TYPO3 Core - Bug #83339 (Rejected): Method TYPO3\CMS\Core\Preparations\TcaPreparation::prepareQuo...http://forge.typo3.org/issues/833392017-12-15T11:23:38ZManuel Selbachmanuel_selbach@yahoo.de
<p>If you try to set a variable via TYPO3 console like `vendor/bin/typo3cms configuration:set DB/Connections/Default/driver`<br />the new method TYPO3\CMS\Core\Preparations\TcaPreparation::prepareQuotingOfTableNamesAndColumnNames will be triggered which leads to have a database connection established already to quote the identifier correctly.</p>
<p>As we try to set the database parameter at this point, this fail with an exception:</p>
<pre><code class="bash syntaxhl" data-language="bash"><span class="o">[</span> TypeError <span class="o">]</span>
strpos<span class="o">()</span> expects parameter 1 to be string, null given
thrown <span class="k">in </span>file typo3/sysext/core/Classes/Database/ConnectionPool.php
<span class="k">in </span>line 152
Exception trace:
<span class="c">#0 strpos()</span>
typo3/sysext/core/Classes/Database/ConnectionPool.php:152
<span class="c">#1 TYPO3\CMS\Core\Database\ConnectionPool::getDatabaseConnection()</span>
typo3/sysext/core/Classes/Database/ConnectionPool.php:132
<span class="c">#2 TYPO3\CMS\Core\Database\ConnectionPool::getConnectionByName()</span>
typo3/sysext/core/Classes/Database/ConnectionPool.php:83
<span class="c">#3 TYPO3\CMS\Core\Database\ConnectionPool::getConnectionForTable()</span>
typo3/sysext/core/Classes/Preparations/TcaPreparation.php:79
<span class="c">#4 TYPO3\CMS\Core\Preparations\TcaPreparation::prepareQuotingOfTableNamesAndColumnNames()</span>
typo3/sysext/core/Classes/Preparations/TcaPreparation.php:45
<span class="c">#5 TYPO3\CMS\Core\Preparations\TcaPreparation::prepare()</span>
typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php:1789
<span class="c">#6 TYPO3\CMS\Core\Utility\ExtensionManagementUtility::buildBaseTcaFromSingleFiles()</span>
typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php:1709
<span class="c">#7 TYPO3\CMS\Core\Utility\ExtensionManagementUtility::loadBaseTca()</span>
vendor/helhum/typo3-console/Classes/Core/ConsoleBootstrap.php:386
<span class="c">#8 Helhum\Typo3Console\Core\ConsoleBootstrap::loadTcaOnly()</span>
vendor/helhum/typo3-console/Classes/Core/Booting/Scripts.php:155
<span class="c">#9 Helhum\Typo3Console\Core\Booting\Scripts::initializeExtensionConfiguration()</span>
<span class="c">#10 call_user_func()</span>
vendor/helhum/typo3-console/Classes/Core/Booting/Step.php:53
<span class="c">#11 Helhum\Typo3Console\Core\Booting\Step::__invoke()</span>
vendor/helhum/typo3-console/Classes/Core/Booting/Sequence.php:108
<span class="c">#12 Helhum\Typo3Console\Core\Booting\Sequence::invokeStep()</span>
vendor/helhum/typo3-console/Classes/Core/Booting/Sequence.php:92
<span class="c">#13 Helhum\Typo3Console\Core\Booting\Sequence::invoke()</span>
vendor/helhum/typo3-console/Classes/Mvc/Cli/RequestHandler.php:92
<span class="c">#14 Helhum\Typo3Console\Mvc\Cli\RequestHandler::boot()</span>
vendor/helhum/typo3-console/Classes/Mvc/Cli/RequestHandler.php:77
<span class="c">#15 Helhum\Typo3Console\Mvc\Cli\RequestHandler::handleRequest()</span>
vendor/helhum/typo3-console/Classes/Core/ConsoleBootstrap.php:111
<span class="c">#16 Helhum\Typo3Console\Core\ConsoleBootstrap::run()</span>
vendor/helhum/typo3-console/Scripts/typo3cms.php:65
<span class="c">#17 {closure}()</span>
vendor/helhum/typo3-console/Scripts/typo3cms.php:66
<span class="c">#18 require()</span>
vendor/helhum/typo3-console/Scripts/typo3cms:4
</code></pre> TYPO3 Core - Bug #81374 (Rejected): Default charset utf8 for database driver will fail on Microso...http://forge.typo3.org/issues/813742017-05-29T21:33:00ZManuel Selbachmanuel_selbach@yahoo.de
<p>The default charset for the database driver <code>utf8</code> will fail for Microsoft SQL Server.</p>
<p>To avoid that the default charset should be set to <code>utf-8</code>.</p> TYPO3 Core - Bug #77811 (Closed): Doctrine: wrong array key access in SchemaColumnDefinitionListe...http://forge.typo3.org/issues/778112016-09-02T22:42:15ZManuel Selbachmanuel_selbach@yahoo.de
<p>Generalize the access to the column type key</p> TYPO3 Core - Bug #76513 (Rejected): diff-view not working for categories if default changeshttp://forge.typo3.org/issues/765132016-06-08T09:10:41ZManuel Selbachmanuel_selbach@yahoo.de
<p>Hi,</p>
<p>the diff-view of a translated record shows "N/A" if there are changes made to the default language.</p> TYPO3 Core - Bug #69702 (Rejected): FAL does not work in section of FlexFormshttp://forge.typo3.org/issues/697022015-09-11T17:32:36ZManuel Selbachmanuel_selbach@yahoo.de
<p>If I create a new element on the page, then I get the error message: <br />"Wrong configuration in table xxxxxxx"</p>
<p>The foreign_match_fields fieldname is changed to the field name of element.</p>
<p>When I save and edit the element, I can change the file.</p>
<p>If I add a new element the same issues appear.<br />When I save and edit it again it´s possible to choose a new file.</p>
<p>After saving the element the last selected file is in every element.</p>
<p>So I think there is no relation to each "dynamic" element in the section.</p>
<p>Example flex form:</p>
<pre>
<dynamic_col type="array">
<section>1</section>
<title>Column</title>
<type>array</type>
<el type="array">
<container type="array">
<type>array</type>
<el type="array">
<image type="array">
<TCEforms type="array">
<label>image</label>
<config>
<type>inline</type>
<foreign_table>sys_file_reference</foreign_table>
<foreign_field>uid_foreign</foreign_field>
<foreign_sortby>sorting_foreign</foreign_sortby>
<foreign_table_field>tablenames</foreign_table_field>
<foreign_match_fields type="array">
<fieldname>image</fieldname>
</foreign_match_fields>
<foreign_label>uid_local</foreign_label>
<foreign_selector>uid_local</foreign_selector>
<foreign_selector_fieldTcaOverride type="array">
<config>
<appearance>
<elementBrowserType>file</elementBrowserType>
<elementBrowserAllowed>jpg,png</elementBrowserAllowed>
</appearance>
</config>
</foreign_selector_fieldTcaOverride>
<foreign_types type="array">
<numIndex index="2" type="array">
<showitem>&#x2D;-palette&#x2D;-;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,&#x2D;-palette&#x2D;-;;filePalette</showitem>
</numIndex>
</foreign_types>
<maxitems>1</maxitems>
<appearance type="array">
<headerThumbnail>
<field>uid_local</field>
<width>64</width>
<height>64</height>
</headerThumbnail>
<createNewRelationLinkTitle>Add new Image</createNewRelationLinkTitle>
<showPossibleLocalizationRecords>TRUE</showPossibleLocalizationRecords>
<showRemovedLocalizationRecords>TRUE</showRemovedLocalizationRecords>
<showSynchronizationLink>TRUE</showSynchronizationLink>
<enabledControls type="array">
<info>TRUE</info>
<delete>TRUE</delete>
<localize>TRUE</localize>
</enabledControls>
<levelLinksPosition>both</levelLinksPosition>
</appearance>
<behaviour>
<localizationMode>select</localizationMode>
<localizeChildrenAtParentLocalization>TRUE</localizeChildrenAtParentLocalization>
</behaviour>
</config>
</TCEforms>
</image>
</el>
</container>
</el>
</dynamic_col>
</pre> TYPO3 Core - Bug #68911 (Closed): Checkbox "Display thumbnails" does not work in filebrowserhttp://forge.typo3.org/issues/689112015-08-10T19:37:51ZManuel Selbachmanuel_selbach@yahoo.de
<p>The checkbox "Display thumbnails" (see screenshot attached) in the file browser throws an Exception:</p>
<p>Invalid request for route "/wizard/record/browse".</p>