TYPO3 Forge: Issueshttp://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692022-09-27T19:45:51ZTYPO3 Forge
Redmine TYPO3 Core - Feature #98454 (Under Review): Allow language parameter for 404 handlinghttp://forge.typo3.org/issues/984542022-09-27T19:45:51ZGuido Schmechel
<p>Some context: We have defined three languages for one client. The first language is for support only, has ID 0 and is disabled. One requirement is that no matter what language B is used as the 404 page. One requirement was that there is no root page with / but only /isocode. This means that all general routes (sitemap.xml and so on) now end up in the language 0. Instead of a 404, we get an exception.</p>
<p>Yes, the construct is unfortunately intentional...</p>
<p>It would help us if we could specify a language parameter in the 404 handling for the page that is used in these exceptional cases.</p> TYPO3 Core - Feature #97477 (New): Event for QueryGenerator getTreeList query builderhttp://forge.typo3.org/issues/974772022-04-26T12:18:46ZGuido Schmechel
<p>We would like to manipulate the QueryBuilder in getTreeList so that we can adjust the sort order and more.</p>
<p>Probably uid is used for performance reasons instead of the TCA sortby field of pages. We could keep it that way as well.</p> TYPO3 Core - Feature #95113 (Closed): Exclude file extensions from filelist zip downloadhttp://forge.typo3.org/issues/951132021-09-05T11:03:51ZGuido Schmechel
<p>Version: Current master: 11.4.dev</p>
<p>As an integrator, I would like to be able to control which file extensions should be excluded in the zip download (filelist).</p>
<p>Example: The download of youtube or vimeo files is rather not interesting.</p> TYPO3 Core - Feature #93264 (Closed): Add webp checkhttp://forge.typo3.org/issues/932642021-01-11T15:04:55ZGuido Schmechel
<p>Since version 10.3, webp can also be used as a variant: <a class="external" href="https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/10.3/Feature-90416-SpecificTargetFileExtensionInImage-relatedViewHelpers.html">https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/10.3/Feature-90416-SpecificTargetFileExtensionInImage-relatedViewHelpers.html</a></p>
<p>The install tool should add another test that checks for webp generation.</p> TYPO3 Core - Task #89921 (Under Review): Check transport_spool_filepath in the install toolhttp://forge.typo3.org/issues/899212019-12-11T17:56:41ZGuido Schmechel
<p>You can set a custom folder via $GLOBALS['TYPO3_CONF_VARS']['MAIL']['transport_spool_filepath']. The Directory Status could check if the folder is writable</p> TYPO3 Core - Task #89563 (New): Add redirect typeshttp://forge.typo3.org/issues/895632019-10-31T16:57:44ZGuido Schmechel
<p>Compared to the extension yoast premium, there are still two types of HTTP missing:</p>
<p>410 Content deleted<br />451 Unavilable for legal reasons</p> TYPO3 Core - Bug #89328 (Closed): Auto redirect does not respect language hosthttp://forge.typo3.org/issues/893282019-10-01T21:35:04ZGuido Schmechel
<p>Source host doesnt use language detection: <a class="external" href="https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/redirects/Classes/Service/SlugService.php#L171">https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/redirects/Classes/Service/SlugService.php#L171</a></p>
<p>Should be similar to: <a class="external" href="https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/redirects/Classes/Service/SlugService.php#L157">https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/redirects/Classes/Service/SlugService.php#L157</a></p> TYPO3 Core - Bug #89327 (Closed): Auto redirect: Could not resolve target pagehttp://forge.typo3.org/issues/893272019-10-01T21:10:55ZGuido Schmechel
<p><strong>Scenario:</strong><br />I change a slug in the page properties. Example: "test1" (source) to "test2" (target). The redirect has been added.</p>
<p><strong>Problem:</strong><br />If i call "https://example.com/test1" i got this message "The page did not exist or was inaccessible. Reason: The requested page does not exist" The target has been added as value "/test2" and not as "t3://page?uid=3"</p>
<p><strong>Error message in target field</strong><br />"not implemented type unknown"</p>
<p><strong>Possible solution</strong><br />Maybe its a better way to use the page id?<br />Code: <a class="external" href="https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/redirects/Classes/Service/SlugService.php#L155">https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/redirects/Classes/Service/SlugService.php#L155</a></p> TYPO3 Core - Bug #88939 (Closed): Custom CacheAction cannot send success state and custom flash m...http://forge.typo3.org/issues/889392019-08-08T17:44:30ZGuido Schmechel
<p>Content:<br />Add a cacheAction via $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['additionalBackendItems']['cacheActions']. Everything is fine and the cache icon is displayed in the topbar. Sending a JsonResponse via interface:</p>
<pre><code class="php syntaxhl" data-language="php"> <span class="cd">/**
* @param ServerRequestInterface $request
* @return ResponseInterface
*/</span>
<span class="k">public</span> <span class="k">function</span> <span class="n">flush</span><span class="p">(</span><span class="kt">ServerRequestInterface</span> <span class="nv">$request</span><span class="p">):</span> <span class="kt">ResponseInterface</span>
<span class="p">{</span>
<span class="k">return</span> <span class="k">new</span> <span class="nc">JsonResponse</span><span class="p">([</span><span class="s1">'success'</span> <span class="o">=></span> <span class="kc">true</span><span class="p">]);</span>
<span class="p">}</span>
</code></pre>
<p>We get a red FlashMessage with the hardcoded "An error occurred while clearing the cache. It is likely not all caches were cleared as expected." text.</p>
<p>The message is thrown from <a class="external" href="https://github.com/TYPO3/TYPO3.CMS/blob/master/Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Toolbar/ClearCacheMenu.ts#L72">https://github.com/TYPO3/TYPO3.CMS/blob/master/Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Toolbar/ClearCacheMenu.ts#L72</a> because we have a response. It does not matter what is inside, as you can see.</p>
<p>Solution:<br />We need a proper solution for this typescript case. Luckily we have a similar solution here: <a class="external" href="https://github.com/TYPO3/TYPO3.CMS/blob/master/Build/Sources/TypeScript/recordlist/Resources/Public/TypeScript/ClearCache.ts#L67">https://github.com/TYPO3/TYPO3.CMS/blob/master/Build/Sources/TypeScript/recordlist/Resources/Public/TypeScript/ClearCache.ts#L67</a></p> TYPO3 Core - Task #88722 (Closed): Extended field length of header_positionhttp://forge.typo3.org/issues/887222019-07-11T12:09:40ZGuido Schmechel
<p>Current situation:<br />Length of field header_position is set to 6, because of the three values "center", "left", and "right"</p>
<p>Problem:<br />If you add a new field via TCEForm long values cutted.</p>
<pre><code class="php syntaxhl" data-language="php"><span class="no">TCEFORM</span><span class="mf">.</span><span class="n">tt_content</span><span class="mf">.</span><span class="n">header_position</span><span class="mf">.</span><span class="n">addItems</span> <span class="p">{</span>
<span class="n">u</span><span class="o">-</span><span class="n">txt</span><span class="o">-</span><span class="n">center</span> <span class="o">=</span> <span class="nc">Centered</span>
<span class="p">}</span>
</code></pre>
<p>Possible solution:<br />Extend field length to Varchar(255)</p> TYPO3 Core - Bug #87337 (Closed): ExtbasePluginEnhancer does not use a custom controller configur...http://forge.typo3.org/issues/873372019-01-05T19:25:17ZGuido Schmechel
<p><strong>Context</strong><br />I have a standard extbase plugin. Actions are list, detail and city.</p>
<p><strong>Problem</strong><br />If defaultController and _controller do not match from a route, the URL will not build up cleanly. In my case, he always uses "list" to generate the URL.</p>
<p><strong>Solution</strong><br />When verifying each configuration in the ExtbasePluginEnhancer, the controller will not overwrite the current configuration. Only the default controller is used.</p>
<pre><code class="php syntaxhl" data-language="php"><span class="k">if</span> <span class="p">(</span><span class="o">!</span><span class="k">empty</span><span class="p">(</span><span class="nv">$configuration</span><span class="p">[</span><span class="s1">'_controller'</span><span class="p">]))</span> <span class="p">{</span>
<span class="nv">$this</span><span class="o">-></span><span class="nf">applyControllerActionValues</span><span class="p">(</span>
<span class="nv">$configuration</span><span class="p">[</span><span class="s1">'_controller'</span><span class="p">],</span>
<span class="nv">$originalParameters</span><span class="p">[</span><span class="nv">$this</span><span class="o">-></span><span class="n">namespace</span><span class="p">]</span>
<span class="p">);</span>
<span class="p">}</span>
</code></pre>
<p><strong>Route Enhancer config</strong></p>
<pre><code class="php syntaxhl" data-language="php"><span class="n">routeEnhancers</span><span class="o">:</span>
<span class="nc">DetailPoi</span><span class="o">:</span>
<span class="n">type</span><span class="o">:</span> <span class="nc">Extbase</span>
<span class="n">extension</span><span class="o">:</span> <span class="nc">AyacooPoi</span>
<span class="n">plugin</span><span class="o">:</span> <span class="nc">Poi</span>
<span class="n">routes</span><span class="o">:</span>
<span class="o">-</span> <span class="p">{</span> <span class="n">routePath</span><span class="o">:</span> <span class="s1">'restaurant/{slug}'</span><span class="p">,</span> <span class="n">_controller</span><span class="o">:</span> <span class="s1">'Poi::detail'</span><span class="p">,</span> <span class="n">_arguments</span><span class="o">:</span> <span class="p">{</span><span class="s1">'slug'</span> <span class="o">:</span> <span class="s1">'poi'</span><span class="p">}</span> <span class="p">}</span>
<span class="o">-</span> <span class="p">{</span> <span class="n">routePath</span><span class="o">:</span> <span class="s1">'stadt/{cityTitle}'</span><span class="p">,</span> <span class="n">_controller</span><span class="o">:</span> <span class="s1">'Poi::city'</span><span class="p">,</span> <span class="n">_arguments</span><span class="o">:</span> <span class="p">{</span><span class="s1">'cityTitle'</span> <span class="o">:</span> <span class="s1">'city'</span><span class="p">}</span> <span class="p">}</span>
<span class="n">defaultController</span><span class="o">:</span> <span class="s1">'Poi::list'</span>
<span class="n">requirements</span><span class="o">:</span>
<span class="n">poi</span><span class="o">:</span> <span class="s1">'\d+'</span>
<span class="n">city</span><span class="o">:</span> <span class="s1">'\d+'</span>
<span class="n">aspects</span><span class="o">:</span>
<span class="n">slug</span><span class="o">:</span>
<span class="n">type</span><span class="o">:</span> <span class="nc">PersistedAliasMapper</span>
<span class="n">tableName</span><span class="o">:</span> <span class="s1">'tx_ayacoopoi_domain_model_poi'</span>
<span class="n">routeFieldName</span><span class="o">:</span> <span class="s1">'slug'</span>
<span class="n">cityTitle</span><span class="o">:</span>
<span class="n">type</span><span class="o">:</span> <span class="nc">PersistedAliasMapper</span>
<span class="n">tableName</span><span class="o">:</span> <span class="s1">'tx_ayacoopoi_domain_model_poi'</span>
<span class="n">routeFieldName</span><span class="o">:</span> <span class="s1">'city'</span>
</code></pre> TYPO3 Core - Feature #87112 (Closed): enableMultiSelectFilterTextfield for a few system tableshttp://forge.typo3.org/issues/871122018-12-09T21:22:01ZGuido Schmechel
<p>Context: The editor needs for every select (type selectMultipleSideBySide) the option enableMultiSelectFilterTextfield.</p>
<p>Affected tables: be_groups, be_users, pages</p> TYPO3 Core - Bug #86277 (Closed): Editlock blocks edit button also for adminhttp://forge.typo3.org/issues/862772018-09-16T19:38:48ZGuido Schmechel
<p>Affected version<br />9.5-dev</p>
Steps to reproduce:
<ul>
<li>Edit page properties</li>
<li>Set editlock to true</li>
<li>Save</li>
</ul>
<p>Now the edit button is hidden because of the editlock property.</p> TYPO3 Core - Bug #85425 (Closed): Check the copy permissions correctlyhttp://forge.typo3.org/issues/854252018-06-28T21:28:58ZGuido Schmechel
<p>Given:<br />User with folder and file permissions. Just "read" and "add"</p>
<p>Problem: <br />Copy Icon is shown in context menu and button in file list.</p> TYPO3 Core - Bug #84838 (Rejected): Empty AdditionalConfiguration.php breaks install toolhttp://forge.typo3.org/issues/848382018-04-22T19:09:18ZGuido Schmechel
<p>If you add an "empty" AdditionalConfiguration.php with only one line, "<?php" the install tool isn't callable.</p>
<p>/install.php?install[controller]=layout&install[context]=backend&install[action]=executeSilentConfigurationUpdate&_=1524415847672 add this one line to the JsonResponse. Backend response "Something went wrong. Please use Check for broken extensions to see if a loaded extension breaks this part of the install tool and unload it." in the view.</p>