TYPO3 Forge: Issueshttp://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692023-03-02T13:17:17ZTYPO3 Forge
Redmine TYPO3 Core - Bug #100063 (New): l10n_display=hideDiff not working for pi_flexformhttp://forge.typo3.org/issues/1000632023-03-02T13:17:17ZChristian Toffolo
Setting pi_flexform:
<ul>
<li>l10n_display = hideDiff</li>
<li>l10n_mode = exclude</li>
</ul>
<p>still displays the pi_flexform fields.</p> TYPO3 Core - Bug #99819 (New): Missing page tree in direct link to CEhttp://forge.typo3.org/issues/998192023-02-04T08:37:59ZChristian Toffolo
<p>Browsing a direct links to specific content elements or refreshing while editing a CE doesn't display the page tree.</p>
<p>Reproduce:<br />1. edit a record<br />2. refresh the browser tab</p>
<p>Result: <br />The edit form is displayed with module icons on the left but it misses the page tree.</p> TYPO3 Core - Bug #99444 (New): Core: Exception handler (WEB: FE): Error, code #0, file TypoScript...http://forge.typo3.org/issues/994442023-01-02T09:44:20ZChristian Toffolo
<p>Generated by Googlebot visiting a translated page that is a shortcut to another page like:<br /><a class="external" href="http://domain.ext/es/soporte/">http://domain.ext/es/soporte/</a><br />that is a shortcut to page with uid=3</p>
<p>PHP error log:<br />Mon, 02 Jan 2023 08:38:14 +0100 [WARNING] request="31bc2c162961e" component="TYPO3.CMS.Core.Error.ErrorHandler": Core: Error handler (FE): PHP Warning: Undefined array key "uid" in typo3/sysext/core/Classes/Domain/Repository/PageRepository.php line 1101<br />Mon, 02 Jan 2023 08:38:14 +0100 [WARNING] request="31bc2c162961e" component="TYPO3.CMS.Core.Error.ErrorHandler": Core: Error handler (FE): PHP Warning: Undefined array key "uid" in typo3/sysext/core/Classes/Domain/Repository/PageRepository.php line 1112<br />Mon, 02 Jan 2023 08:38:14 +0100 [CRITICAL] request="31bc2c162961e" component="TYPO3.CMS.Core.Error.ProductionExceptionHandler": Core: Exception handler (WEB: FE): Error, code #0, file typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php, line 2099: Attempt to assign property "rootLine" on null - {"mode":"WEB","application_mode":"FE","exception_class":"Error","exception_code":0,"file":"typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php","line":2099,"message":"Attempt to assign property \"rootLine\" on null","request_url":"https://domain.ext/es/soporte/","exception":null}</p> TYPO3 Core - Bug #98506 (New): typolink can't generate link to translated shortcut page while it ...http://forge.typo3.org/issues/985062022-10-03T09:48:01ZChristian Toffolo
<p>Steps to reproduce:<br />1. have a page (uid=123) doktype=4, shortcut_mode=0, shortcut=124<br />2. have a target page (uid=124) for page with uid=123<br />3. have another page (uid=125)<br />4. translate this page with uid=125, this translation has uid=126<br />5. translate page of point 1 (page with uid=123), this translation has uid=127 and is set: doktype=4, shortcut_mode=0, shortcut=125</p>
<p>In other words:</p>
<p>123/ shortcut to 124 in default translation; has translation uid=127 with shortcut to 125<br />├─ 124/<br />├─ 125/ has translation uid=126</p>
<p>With this page setup, try to generate a typolink of page 123 in translated language.<pre>
typolink {
parameter = 123
useCacheHash = 1
returnLast = url
}
</pre><br />This typolink will return the correct url of page with uid=124 in default language, but will not return the url of page with uid=125 in translated language. Instead it will return the title of page with uid=127 causing a 404.</p>
<p>So there are two problems here:<br />1. typolink doesn't generate a URL while it should<br />2. typolink returns a page title as a URL and, AFAIK, it's not possible to disable this behaviour and simply not generate the URL.</p>
<p>As far as I debugged, problem 1 is caused because \TYPO3\CMS\Frontend\Typolink\PageLinkBuilder::build tries to get the page overlay of the shortcut of default language of page 123, that is page 124, instead of the overlay of the shortcut of the translation of page 123, that is page 127, so the overlay should be the one of page 125.</p> TYPO3 Core - Bug #98505 (New): Impossible to edit "Page translation" records as other type of rec...http://forge.typo3.org/issues/985052022-10-03T08:42:26ZChristian Toffolo
<p>Reproduce:<br />1. have a page with translations<br />2. go to BE List module<br />3. select some fields with "Show columns" button, eg: Description<br />4. try to edit the Description field of all page's translations</p>
<p>Result:<br />can't edit the Description field of all page's translations as I can edit fields in other records type eg: tt_content</p> TYPO3 Core - Bug #98457 (New): Processed file doesn't existhttp://forge.typo3.org/issues/984572022-09-28T09:30:55ZChristian Toffolo
<p>Use case: configure TYPO3 so that f:uri.image generated files are created inside typo3temp instead of fileadmin folder.</p>
<p>Steps to reproduce:<br />1. have 'fileadmin/ (auto-created)' storage with uid=1<br />2. have 'typo3temp' storage with uid=2<br />3. setting <code>processingfolder</code> field of 'fileadmin/ (auto-created)' storage to '2:assets/_processed_'</p>
<p>This setup results in f:uri.image renders the correct path (eg: /typo3temp/assets/_processed_/e/6/959161_10151652466566963_1259477499_o_5a95879fc3.jpg) but the file doesn't exist.</p> TYPO3 Core - Bug #98436 (New): Can't edit record (stuck) if hideDeleteIcon is set.http://forge.typo3.org/issues/984362022-09-26T10:04:41ZChristian Toffolo
<p>JS console error:<br /><code>Uncaught TypeError: Cannot read properties of null (reading 'classList')</code></p>
<p>Step to reproduce:<br />- just add <code>'hideDeleteIcon' => true</code> to, by example, field shortcut of pages TCA<br />- try to edit a Page record of type shortcut<br />- check the JS console</p> TYPO3 Core - Bug #96431 (New): Redirect to 404 if entry point is fully qualified domainhttp://forge.typo3.org/issues/964312021-12-24T15:44:58ZChristian Toffolo
<p>Suppose we have a website address <a class="external" href="https://www.example.com">https://www.example.com</a></p>
To reproduce:
<ul>
<li>have a Site Configuration with a language set with <br /><pre>
base: 'https://www.example.es/'
</pre></li>
<li>translate a page with title "test-default" with that language</li>
<li>change the title of the translated page "test-es"</li>
</ul>
<p>Result:<br />a new sys_redirect record is created with source_host <a class="external" href="http://www.example.com">www.example.com</a> instead of <a class="external" href="http://www.example.es">www.example.es</a>.<br />So when an user browses the default language of this translated page:<pre>https://www.example.com/test-default</pre>is redirected to:<pre>https://www.example.com/test-es</pre>that doesn't exist and throws a 404.</p>
<p>Correct redirect link should be:<br /><pre>https://www.example.es/test-es</pre></p> TYPO3 Core - Bug #95714 (New): Omit attributes with blank values for additionalAttributes in Vide...http://forge.typo3.org/issues/957142021-10-20T09:51:44ZChristian Toffolo
<p>VideoTagRenderer.php implodes attributes with <code>$dontOmitBlankAttribs = true</code>.</p>
<pre><code class="php syntaxhl" data-language="php"><span class="nv">$attributes</span><span class="p">[]</span> <span class="o">=</span> <span class="nc">GeneralUtility</span><span class="o">::</span><span class="nf">implodeAttributes</span><span class="p">(</span><span class="nv">$options</span><span class="p">[</span><span class="s1">'additionalAttributes'</span><span class="p">],</span> <span class="kc">true</span><span class="p">,</span> <span class="kc">true</span><span class="p">);</span>
</code></pre>
<p>This could create problems like in this use case:</p>
<p>Example:<br /><pre><f:media ... additionalAttributes="{poster: '{v:media.exists(file: \'fileadmin/test.jpg\', then: \'/fileadmin/test.jpg\')}', no-cookie: 1, relatedVideos: 0, color: 'white', playsinline: '1'}" /></pre></p>
<p>In this case, AFAIK, it's not possible to omit the attribute 'poster' in Fluid. So, if file doesn't exist the attribute will still be present with an empty value but the use case wants that if a poster is not available for the video then the attribute must not be present.</p>
<p>I don't know if there are use cases that needs <code>$dontOmitBlankAttribs = true</code> but I think that it should be false.</p> TYPO3 Core - Bug #95049 (New): Wrong default values of excluded localized fieldshttp://forge.typo3.org/issues/950492021-08-31T09:29:56ZChristian Toffolo
<p>If a BE user doesn't have access to a field in a localized record, this field gets the default value upon save instead of the parent record value.</p>
<p>Use case:<br />Default language is Italian and a BE user must only translate (edit) secondary language Spanish. We want to simplify the experience of this user so we only display the title (header) and text (bodytext) fields of tt_content. With this bug instead is mandatory to enable all fields in "Allowed excludefields".</p>
<p>Step to reproduce:<br />1. BE user can't edit tt_content.header_layout of a localized tt_content record because is not selected in "Allowed excludefields".<br />2. tt_content.header_layout value in parent record is <code>5</code>.<br />3. BE user saves the localized tt_content record</p>
<p>Result:<br />Localized tt_content record have now value <code>2</code> (default value for header_layout) instead of parent record value <code>5</code>.</p> TYPO3 Core - Bug #94700 (New): Runtime Exception on back from addRecord in IRREhttp://forge.typo3.org/issues/947002021-08-03T16:50:01ZChristian Toffolo
<p>When adding a new related IRRE record a runtime exception is thrown after closing the related record:<br /><pre>
(1/1) #1489751361 RuntimeException
Empty context string given
</pre></p>
<p>Supposing we have a relation between athletes (parent table) and competitions (child table) that is the results (MM table).<br />To reproduce:</p>
<p>1) use this TCA in a field of the parent record (athlete):<br /><pre>
'results' => [
'config' => [
'type' => 'inline',
'foreign_table' => 'tx_iantest_domain_model_result',
'foreign_field' => 'athlete',
'foreign_sortby' => 'sorting',
],
],
</pre></p>
<p>2) use this TCA in the field of the MM record (result):<br /><pre>
'competition' => [
'config' => [
'type' => 'group',
'internal_type' => 'db',
'allowed' => 'tx_iantest_domain_model_competition',
'foreign_table' => 'tx_iantest_domain_model_competition',
'size' => 1,
'maxitems' => 1,
'minitems' => 0,
'hideDeleteIcon' => true,
'fieldControl' => [
'elementBrowser' => [
'disabled' => true,
],
'addRecord' => [
'disabled' => false,
'options' => [
'pid' => $settings->getCompetitionsPid(),
],
],
'editPopup' => [
'disabled' => false,
],
],
]
],
</pre></p>
<p>3) Edit the parent record (athlete) and click the button to create a new IRRE</p>
<p>4) In the IRRE row click on [+] button to create a new child record (competition).</p>
<p>5) Now, since the parent record has been modified, TYPO3 asks the editor what to do:<br />[continue editing], [discard changes], [save and close]<br />and the only way to go to the add record form is to choose [discard changes]</p>
<p>6) The add record (competition) appears, edit it and save & close</p>
<p>7) At this point the exception is thrown.</p>
<p>Practically, this exception is thrown only if the parent record has been modified.</p> TYPO3 Core - Bug #94327 (New): TCA type=inline and l10n_mode=exclude doesn't respect hidden fieldhttp://forge.typo3.org/issues/943272021-06-12T17:26:19ZChristian Toffolo
<p>In TYPO3 10.4 LTS, having a TCA column of a type=inline configured with l10n_mode=exclude doesn't respect hidden field of default language record.</p>
<p>Example:</p>
<p>Having a site configured with fallbackType=fallback and having a product model with images.</p>
<p>There's a product record:<br />- Product1 (default language)<br /> - image1 (hidden=0)<br /> - image2 (hidden=1)</p>
<p>In the FE:<br />- in the default language page only image1 is shown (correct)<br />- in the translated page both image1 and image2 are shown</p>
<p>Other things like sorting of images work.</p> TYPO3 Core - Bug #93972 (New): Files with "+" in filename can't be replacedhttp://forge.typo3.org/issues/939722021-04-22T16:06:36ZChristian Toffolo
<p>In TYPO3 10 LTS, files with "+" in filename can't be replaced using the replace tool in Filelist module.<br />Instead, the new file is uploaded but it doesn't replace the old one.</p> TYPO3 Core - Bug #93087 (New): Page Module "Translate" button not available if user can't edit de...http://forge.typo3.org/issues/930872020-12-16T12:11:28ZChristian Toffolo
<p>If a BE user must be limited to only edit a not default language (s)he can't use the Page Module "Translate" button because (s)he doesn't have default language edit permission [allowed_languages].</p> TYPO3 Core - Bug #92545 (New): Clicking BE module should not re-open page treehttp://forge.typo3.org/issues/925452020-10-12T13:26:06ZChristian Toffolo
<p>If BE user collapse the page tree column and click a module icon, then the page tree column expands while it should remain collapsed.</p>