TYPO3 Forge: Issueshttp://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692023-06-23T10:37:11ZTYPO3 Forge
Redmine TYPO3 Core - Feature #101161 (New): New access right: Show if not logged inhttp://forge.typo3.org/issues/1011612023-06-23T10:37:11ZChristian Toffolo
<p>Use case: I want to hide a page only from users in a specific user group (e.g. SpecialUsers). So the page should still be visible if a user is not logged in.</p>
<p>AFAIK, at the moment, there's no way to do this in TYPO3.</p>
I think the best solution to this problem is to implement a new default access right: "Show if not logged in" <br />This way I can put all users who are not SpecialUsers in a group "No SpecialUsers".<br />Then I will set the access right to the page as:
<ul>
<li>"Show if not logged in" </li>
<li>"No SpecialUsers"</li>
</ul>
<p>This way the page will be visible if a user is not logged in and if a user is in the "No SpecialUsers" group (i.e.: users not in the "SpecialUsers" group).</p>
<p>Another solution could be to split the access right field in two:<br />- Visible to<br />- Hidden to<br />But that is probably too complicated.</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 - Feature #99204 (New): Display record title in breadcrumb of edit formhttp://forge.typo3.org/issues/992042022-11-26T15:24:46ZChristian Toffolo
<p>When editing a record, it is missing a reference of which record is been edited after scrolling down (record title disappear after scrolling).</p>
<p>The (cropped) title of the record should be visible at the end of the breadcrumb (Path:).</p>
<p><img src="http://forge.typo3.org/attachments/download/37227/qr4p5y4f.png" alt="" loading="lazy" /></p> TYPO3 Core - Feature #99043 (New): List Module: Remember sorting per tablehttp://forge.typo3.org/issues/990432022-11-10T10:45:19ZChristian Toffolo
<p>Steps to reproduce:<br />1. go List module<br />2. sort table (e.g.: tt_address) by tstamp: records are sorted old first<br />3. click again to sort by new records first<br />4. navigate away (e.g.: click another page)<br />5. already here, table has lost the previously set sorting (tstamp from new to old) and it back to default (very annoying with many records)</p>
<p>Expected behavior:<br />Sorting per table is remembered by TYPO3</p> TYPO3 Core - Task #98998 (New): Make edit buttons of not hidden CEs in Page module always opaquehttp://forge.typo3.org/issues/989982022-11-04T12:12:20ZChristian Toffolo
<p>A small improvement in Page module could be to make the edit buttons of a CE always full opaque, not only on rollover.</p>
<p>Actually the problem is that, while semi-transparent and in a page with a lot of CE and trying to hide/unhide CEs, it's confusing and hard to find those hidden and those not hidden.</p> TYPO3 Core - Feature #98953 (New): "Go to list module" hint in not folder pageshttp://forge.typo3.org/issues/989532022-10-29T09:40:06ZChristian Toffolo
<p>Make it possible to configure a page that's not a sysfolder to display the "Go to list module" hint in Page module.</p>
<p>The hint description should be a bit different:<br />"The current page could contain records only visible in List module."</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 - Feature #97671 (New): File versioning in query stringhttp://forge.typo3.org/issues/976712022-05-22T07:05:36ZChristian Toffolo
<a name="File-versioning-in-query-string"></a>
<h1 >File versioning in query string<a href="#File-versioning-in-query-string" class="wiki-anchor">¶</a></h1>
<p>If configured, automatically add a query string parameter to files URI in HTML. The string could be an MD5 hash generated from file content.<br />Example: <a class="external" href="https://domain.ext/fileadmin/logo.svg?4857383">https://domain.ext/fileadmin/logo.svg?4857383</a></p>
<a name="Purpose-of-this-feature"></a>
<h2 >Purpose of this feature<a href="#Purpose-of-this-feature" class="wiki-anchor">¶</a></h2>
<p>TLDR: improve SEO and browser's cache control.</p>
It's good practice to serve resources that don't change often with a far-future expiration date.<br />Examples:
<ul>
<li>ExpiresByType text/css "access plus 1 year" </li>
<li>ExpiresByType text/javascript "access plus 1 year" </li>
<li>ExpiresByType image/jpeg "access plus 1 month" </li>
<li>ExpiresByType image/svg+xml "access plus 1 month" </li>
<li>ExpiresByType image/webp "access plus 1 month" </li>
<li>ExpiresByType font/woff2 "access plus 1 month"</li>
</ul>
<p>If these resources change and we want that visitors' browsers get the new version, we have to manually change the file name.</p>
<p>TYPO3 processed files will automatically use a filename based on the file hash and configuration.<br />This current feature solves the browser cache problem but doesn't work for static files or files that are not processed like SVG.</p>
<p>Also, about SEO, if a search engine indexes a processed image like logo_86ebcdde02.jpg and this image changes, this old image's URI becomes 404. Instead, if the image is indexes with a URI like logo.jpg?123456, the old image URI is still 200.</p>
<a name="References"></a>
<h3 >References<a href="#References" class="wiki-anchor">¶</a></h3>
<p><a class="external" href="https://simonhearne.com/2022/caching-header-best-practices/">https://simonhearne.com/2022/caching-header-best-practices/</a><br /><a class="external" href="https://web.dev/http-cache/">https://web.dev/http-cache/</a><br /><a class="external" href="https://developer.mozilla.org/en-US/docs/Learn/Server-side/Apache_Configuration_htaccess#cache_expiration">https://developer.mozilla.org/en-US/docs/Learn/Server-side/Apache_Configuration_htaccess#cache_expiration</a></p> TYPO3 Core - Feature #97629 (New): Display TCA palette as modalhttp://forge.typo3.org/issues/976292022-05-14T06:15:24ZChristian Toffolo
<p>Have the possibility to set a TCA palette as modal.</p>
<p>This functionality can be useful, for example, to separate content fields from appearance fields, maintaining the correlation between the two types.<br />Nowadays, the appearance fields can become many as different devices requires different appearance. For example, I might want a title aligned to the left if displayed on a large screen and instead aligned centrally if displayed on a small screen.</p>
<p>Use case:<br />Display a 'Title' field with a button to its right<br /><img src="http://forge.typo3.org/attachments/download/36903/modal_palette.PNG" alt="" loading="lazy" /></p>
<p>When this button is clicked, display a modal with the title's appearance fields (vertical alignment; horizontal alignment; size; color; etc.)<br /><img src="http://forge.typo3.org/attachments/download/36904/modal_palette2.PNG" alt="" loading="lazy" /></p> TYPO3 Core - Feature #97555 (New): Add helper button to generate title from filenamehttp://forge.typo3.org/issues/975552022-05-05T07:55:13ZChristian Toffolo
<p>In Filelist module, when editing metadata of a file, have an helper button to generate title from filename.<br />Pressing this button, it fills the title field with the name of the file without extension and replacing underscores/hyphens with spaces.<br />If the title field is not empty then the button is disabled.</p>