TYPO3 Forge: Issueshttp://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692023-09-05T09:38:24ZTYPO3 Forge
Redmine TYPO3 Core - Bug #101848 (Resolved): PHP 8 warning in EXT:Backend\FrontendBackendUserAuthenticati...http://forge.typo3.org/issues/1018482023-09-05T09:38:24ZChristian Toffolo
<p><a class="external" href="https://github.com/TYPO3/typo3/blob/d8c1b99a34aa4d27922a66822e5c114fc5f52e12/typo3/sysext/backend/Classes/FrontendBackendUserAuthentication.php#L181">https://github.com/TYPO3/typo3/blob/d8c1b99a34aa4d27922a66822e5c114fc5f52e12/typo3/sysext/backend/Classes/FrontendBackendUserAuthentication.php#L181</a><br /><pre>
if (!$conf['onlyCurrentPid'] || $pid == $GLOBALS['TSFE']->id) {
</pre><br />should be<br /><pre>
if (!($conf['onlyCurrentPid'] ?? false) || $pid == $GLOBALS['TSFE']->id) {
</pre></p> TYPO3 Core - Bug #101847 (Resolved): PHP 8 warning in EXT:Backend\FrontendBackendUserAuthenticati...http://forge.typo3.org/issues/1018472023-09-05T09:32:39ZChristian Toffolo
<p><a class="external" href="https://github.com/TYPO3/typo3/blob/d8c1b99a34aa4d27922a66822e5c114fc5f52e12/typo3/sysext/backend/Classes/FrontendBackendUserAuthentication.php#L111">https://github.com/TYPO3/typo3/blob/d8c1b99a34aa4d27922a66822e5c114fc5f52e12/typo3/sysext/backend/Classes/FrontendBackendUserAuthentication.php#L111</a><br /><pre>
} elseif ($GLOBALS['TCA'][$table]['ctrl']['languageField']) {
</pre><br />should be<br /><pre>
} elseif ($GLOBALS['TCA'][$table]['ctrl']['languageField'] ?? false) {
</pre></p> TYPO3 Core - Bug #101602 (Resolved): PHP 8 warning in ContentObjectRenderer::editIconshttp://forge.typo3.org/issues/1016022023-08-06T10:09:26ZChristian Toffolo
<p><a class="external" href="https://github.com/TYPO3/typo3/blob/879ef42aaa4e63447a3cda37b033fd25dc6f0116/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php#L6687C9-L6687C12">https://github.com/TYPO3/typo3/blob/879ef42aaa4e63447a3cda37b033fd25dc6f0116/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php#L6687C9-L6687C12</a><br /><code>$editUid = $dataArray['_LOCALIZED_UID'] ?: $currentRecordUID;</code><br />should be<br /><code>$editUid = $dataArray['_LOCALIZED_UID'] ?? $currentRecordUID;</code></p> TYPO3 Core - Bug #101319 (Closed): Impossible to not display controls in videohttp://forge.typo3.org/issues/1013192023-07-11T13:46:57ZChristian Toffolo
<p>The simplest way to not display controls in HTML5 video it to not add the "controls" attribute at all to the video element.</p>
<p>\TYPO3\CMS\Core\Resource\Rendering\VideoTagRenderer renders the "controls" attribute in any case, making it harder to not display controls.</p> 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 #99180 (Closed): Cropped jquery minicolors panelhttp://forge.typo3.org/issues/991802022-11-24T12:39:19ZChristian Toffolo
<p>The minicolors panel is cropped if its tab panel is too low (eg. IRRE element with few field).<br /><img src="http://forge.typo3.org/attachments/download/37223/ponpygbm.png" alt="" loading="lazy" /></p> TYPO3 Core - Bug #99089 (Closed): Pagetree tooltips don't disappear if scrolling with mouse wheelhttp://forge.typo3.org/issues/990892022-11-15T08:18:45ZChristian Toffolo
<p>The title says all. Easy to reproduce:<br />1. Mouse pointer on one icon of a page in the pagetree<br />2. Scroll with the mouse wheel</p>
<p>Result:<br />All the icon that the mouse pointer overs while scrolling will display a permanent tooltip (see attached image)</p> TYPO3 Core - Bug #99073 (Closed): PHP Warning: Uninitialized string offset 0 in /typo3/sysext/fro...http://forge.typo3.org/issues/990732022-11-12T17:22:40ZChristian Toffolo
<p>With PHP 8.1, the method<br /><code>\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::_parseFunc</code><br />produce a <br /><code>PHP Warning: Uninitialized string offset 0 in /typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 3691</code> <br />with a $theValue like<br /><code>> > > CLICK HERE < < <</code></p>
<p>The value arrives from the bodytext field of a tx_news_domain_model_news record.</p> TYPO3 Core - Bug #98995 (Closed): Undefined array key "SYS_LASTCHANGED" in ContentObjectRenderer....http://forge.typo3.org/issues/989952022-11-03T18:45:36ZChristian Toffolo
<p><a href="https://github.com/TYPO3/typo3/blob/e3bbf6c93e9c77cf4e88b8dd3584d736b7ba8cb3/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php#L1087" class="external">Here in method 'lastChanged'</a></p>
<p><code>(int)$tsfe->register['SYS_LASTCHANGED'])</code><br />should be:<br /><code>(int)($tsfe->register['SYS_LASTCHANGED'] ?? 0)</code><br />?</p> TYPO3 Core - Bug #98947 (Closed): TCEMAIN.clearCacheCmd = cacheTag not workinghttp://forge.typo3.org/issues/989472022-10-28T10:30:22ZChristian Toffolo
<p>I'm trying to make a configuration like this to work for my own Extbase extension:<br />1) TCEMAIN.clearCacheCmd = cacheTag:tx_iantest</p>
<p>Testing it, it doesn't clear the pages cache with tags like tx_iantest_123.</p>
<p>Instead this one works for tags like tx_news_123:<br />2) TCEMAIN.clearCacheCmd = cacheTag:tx_news</p>
<p>Even if I placed both config 1 & 2 in the Page TSconfig of the page with news records, where the config number 2 works, the config number 1 doesn't seem to have effect. By example: it doesn't delete records LIKE 'tx_iantest' in cache_pages_tags while config number 2 does delete records LIKE 'tx_news'.</p> TYPO3 Core - Bug #98927 (Under Review): JS async option of includeJS broke by file in includeJSFo...http://forge.typo3.org/issues/989272022-10-26T11:18:03ZChristian Toffolo
<p>To reproduce, have a Typoscript like:</p>
<pre>
page {
includeJS {
headerJSfile = EXT:example/Resources/Public/JavaScript/headerJSfile.js
headerJSfile.async = 1
}
includeJSFooter {
footerJSfile = EXT:example/Resources/Public/JavaScript/footerJSfile.js
}
}
</pre>
<p>Expected behavior it a HTML code like:<br /><code><script src="/typo3temp/assets/compressed/merged-e942e6f0ca1ee79f54a389342a8850b9-78533bc4645ca634f7c62a6bbc42edef.js?1665838235" async="async"></script></code><br />Instead <code>async="async"</code> is not present because of the file configured in includeJSFooter.</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>