TYPO3 Forge: Issueshttp://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692019-04-04T17:55:10ZTYPO3 Forge
Redmine TYPO3 Core - Bug #88081 (Closed): Timestamp in replace dialog of file list is brokenhttp://forge.typo3.org/issues/880812019-04-04T17:55:10ZManuel Selbachmanuel_selbach@yahoo.de
<p>It turned out, that the timestamp in the replace dialog of a file shows incorrect information.</p>
<p><img src="http://forge.typo3.org/attachments/download/34223/replace_dialog.png" alt="" loading="lazy" /></p>
<p>This is also valid for version 9.5 LTS and 8.7 LTS.</p>
<p>How to reproduce:</p>
<p>- Upload a file via file module<br />- manipulate the file and drag&drop it to upload it again with the same file name<br />- the replace dialog should show wrong timestamp information</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 #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 #86966 (Closed): pages_language_overlay do not get the appendix from prependAtCo...http://forge.typo3.org/issues/869662018-11-21T16:23:39ZManuel Selbachmanuel_selbach@yahoo.de
<p>If a page is translated those records are not respected regarding the appendix from the "prependAtCopy" on the "label field" like it is done for pages during the copy process.</p>
<p>In combination of using e.g. realurl this could lead to serious problems, as it will create the same path for the page as for the original page and thus the original page doesn't get shown as there is a conflict regarding the path.</p>
<p><strong>Current behavior</strong></p>
<p>1. copy a page with some translations on<br />2. paste it via the page tree</p>
<p>Result:<br />1. page (default language, table "pages"): title gets the suffix that is written in "prependAtCopy" <br />2. translated pages (table "pages_language_overlay"): title is the same as on the original page</p>
<p><strong>Expected result</strong></p>
<p>Translated pages should also get the "suffix" written in $GLOBALS['TCA']['pages_language_overlay']['ctrl']['prependAtCopy'] during the copy process.</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 #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 #78925 (Closed): PageLayoutController::renderQuickEdit() will throw exception fo...http://forge.typo3.org/issues/789252016-12-08T23:05:57ZManuel Selbachmanuel_selbach@yahoo.de
<p>If there is an empty page (no content elements on it) the method PageLayoutController::renderQuickEdit() will throw an exception on certain DBMS (depends on it's configuration), as the parameter $this->eRParts<sup><a href="#fn1">1</a></sup> will hold e.g. /new/1 which will be use in the Query as integer to get a sys_history record. As it is a "new" element there couldn't be a history entry at all, so let's skip that Query if the parameter $this->eRParts<sup><a href="#fn1">1</a></sup> can not be interpreted as integer.</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 #68880 (Closed): Save, save & view, save & close not working in RTE Wizardhttp://forge.typo3.org/issues/688802015-08-09T11:04:46ZManuel Selbachmanuel_selbach@yahoo.de
<p>The button Save, save & view and save & close don´t work in the RTE wizard (Fullscreen Rich Text Editing).</p>
<p>JavaScript error appears:<br /><pre>
Uncaught TypeError: document.getElementsByName(...).submit is not a function
</pre></p>
<pre>
submitForm: function() {
if (TBE_EDITOR.doSaveFieldName) {
document[TBE_EDITOR.formname][TBE_EDITOR.doSaveFieldName].value=1;
}
// Set a short timeout to allow other JS processes to complete, in particular those from
// EXT:backend/Resources/Public/JavaScript/FormEngine.js (reference: http://forge.typo3.org/issues/58755).
// TODO: This should be solved in a better way when this script is refactored.
window.setTimeout(function() {
document.getElementsByName(TBE_EDITOR.formname).submit(); <----------------- here the error appears
}, 10);
},
</pre> TYPO3 Core - Bug #68860 (Closed): SelectImage Eventlistener throws execptionhttp://forge.typo3.org/issues/688602015-08-08T16:02:21ZManuel Selbachmanuel_selbach@yahoo.de