TYPO3 Forge: Issueshttp://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692019-02-05T16:59:58ZTYPO3 Forge
Redmine 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 #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 #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 #81818 (Closed): Option additionalViewModelModules does not appendhttp://forge.typo3.org/issues/818182017-07-07T11:14:27ZManuel Selbachmanuel_selbach@yahoo.de
<p>The option `additionalViewModelModules` within the YAML configuration of ext:from <br />does not append if there are already models registered. They will be overridden, which could<br />lead to a not working extended formEditor.</p> 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 #79447 (Closed): Unify usage of fe_group in tables of TYPO3 corehttp://forge.typo3.org/issues/794472017-01-24T17:29:27ZManuel Selbachmanuel_selbach@yahoo.de
<p>The column "fe_group" is defined as varchar everywhere in the core except in table "sys_collection".<br />This will cause some problems with some DBMS (e.g. PostgreSQL) as the FrontendGroupRestriction::class will generate a query which will e.g. check against empty string.<br />Thus the column "fe_group" should be unified to varchar.</p>
<p>Example:<br />The following tests fail with the column "fe_group" defined as integer: <br />- RecordCollectionRepositoryTest::doesFindByUidReturnAnObjectInFrontendMode<br />- RecordCollectionRepositoryTest::doesFindByUidRespectEnableFieldsInFrontendMode</p> TYPO3 Core - Bug #79131 (Closed): Wrong type in PageRepository::getDomainStartPage for column fe_...http://forge.typo3.org/issues/791312017-01-02T15:10:32ZManuel Selbachmanuel_selbach@yahoo.de
<p>Use of incorrect type for column fe_group in the method PageRepository::getDomainStartPage.<br />If a DBMS with strict usage of types is used (e.g. Postgres), the method will throw an exception, as the 0 is of type integer and not of type string as the column is defined in the database and thus a comparison will fail.</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 #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 #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 #68857 (Closed): Openid login not working on current masterhttp://forge.typo3.org/issues/688572015-08-08T11:18:55ZManuel Selbachmanuel_selbach@yahoo.de
<p>After login via openid the redirect is broken.</p>
<p>Redirect target:<br /><pre>
http://typo3-core.dev/typo3/index.php?login_status=login&tx_openid_location=http%3A%2F%2Ftypo3-core.dev%2Ftypo3%2Findex.php%3FloginProvider%3D1433416748&tx_openid_location_signature=e1549ce9cfa8e6be55bee307a952851ee2409557&tx_openid_mode=finish&tx_openid_claimed=https%3A%2F%2Fme.yahoo.com%2Fa%2FMNzxCfkDu86cuiZg_VM_7K6BzRy1RdmvwFTN&tx_openid_signature=f6eb5cd3f85caf04c8434842e48783ec8e32bf1f&janrain_nonce=2015-08-08T08%3A56%3A35ZDHnikK&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.mode=id_res&openid.return_to=http%3A%2F%2Ftypo3-core.dev%2Ftypo3%2Findex.php%3Flogin_status%3Dlogin%26tx_openid_location%3Dhttp%253A%252F%252Ftypo3-core.dev%252Ftypo3%252Findex.php%253FloginProvider%253D1433416748%26tx_openid_location_signature%3De1549ce9cfa8e6be55bee307a952851ee2409557%26tx_openid_mode%3Dfinish%26tx_openid_claimed%3Dhttps%253A%252F%252Fme.yahoo.com%252Fa%252FMNzxCfkDu86cuiZg_VM_7K6BzRy1RdmvwFTN%26tx_openid_signature%3Df6eb5cd3f85caf04c8434842e48783ec8e32bf1f%26janrain_nonce%3D2015-08-08T08%253A56%253A35ZDHnikK&openid.claimed_id=https%3A%2F%2Fme.yahoo.com%2Fa%2FMNzxCfkDu86cuiZg_VM_7K6BzRy1RdmvwFTN%23715df&openid.identity=https%3A%2F%2Fme.yahoo.com%2Fa%2FMNzxCfkDu86cuiZg_VM_7K6BzRy1RdmvwFTN&openid.assoc_handle=uF_FEAFNu21dCt1wzt8Fq7oc3CQhf3zQkcRt9EPxtEXejHUWHEtUCrTMm_uja2Gdgy9UFuRZ8SuNAfW_O_fiAbe8cZJB2eOR9spKmMRi7ZAuUrGmTBe1fgjAiiVKSwMz.rxEJA--&openid.realm=http%3A%2F%2Ftypo3-core.dev%2F&openid.response_nonce=2015-08-08T08%3A56%3A30ZNx82ncvsLatHESKqZHq8YpTHe_7MkYz4aQ--&openid.signed=assoc_handle%2Cclaimed_id%2Cidentity%2Cmode%2Cns%2Cop_endpoint%2Cresponse_nonce%2Creturn_to%2Csigned%2Cpape.auth_level.nist&openid.op_endpoint=https%3A%2F%2Fopen.login.yahooapis.com%2Fopenid%2Fop%2Fauth&openid.pape.auth_level.nist=0&openid.sig=2MIUoHeWonfSxZ8FVeYpftVgtZs%3D
</pre></p>
<p>You stuck at the login screen without CSS etc. see screenshot attached.</p>