TYPO3 Forge: Issueshttp://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692024-03-04T14:34:59ZTYPO3 Forge
Redmine TYPO3 Core - Task #103270 (Under Review): Import fluid namespace where missinghttp://forge.typo3.org/issues/1032702024-03-04T14:34:59ZSimon SchaufelbergerTYPO3 Core - Task #103240 (Resolved): Format fluid format tags consistentlyhttp://forge.typo3.org/issues/1032402024-03-01T12:34:32ZSimon SchaufelbergerTYPO3 Core - Bug #103203 (Needs Feedback): If there is an exception in the extension configuratio...http://forge.typo3.org/issues/1032032024-02-26T12:00:01ZSimon Schaufelberger
<p><img src="http://forge.typo3.org/attachments/download/38278/Bildschirmfoto.png" alt="" loading="lazy" /></p> TYPO3 Core - Task #103196 (Under Review): Make duplicateExceptionCodeCheck.sh warning freehttp://forge.typo3.org/issues/1031962024-02-25T20:35:16ZSimon SchaufelbergerTYPO3 Core - Bug #103025 (Resolved): Undefined array index for TCA without ctrlhttp://forge.typo3.org/issues/1030252024-02-02T18:39:15ZSimon Schaufelberger
<p>I have an extension that uses a TCA configuration without the ctrl part because I don't need it. In my specific case I created a TCA configuration for the table "sys_registry":</p>
<pre><code class="php syntaxhl" data-language="php"><span class="cp"><?php</span>
<span class="k">declare</span><span class="p">(</span><span class="n">strict_types</span><span class="o">=</span><span class="mi">1</span><span class="p">);</span>
<span class="k">return</span> <span class="p">[</span>
<span class="s1">'columns'</span> <span class="o">=></span> <span class="p">[</span>
<span class="s1">'entry_namespace'</span> <span class="o">=></span> <span class="p">[</span>
<span class="s1">'label'</span> <span class="o">=></span> <span class="s1">'LLL:EXT:registry_editor/Resources/Private/Language/locallang_tca.xlf:sys_registry.entry_namespace'</span><span class="p">,</span>
<span class="s1">'config'</span> <span class="o">=></span> <span class="p">[</span>
<span class="s1">'type'</span> <span class="o">=></span> <span class="s1">'input'</span><span class="p">,</span>
<span class="s1">'size'</span> <span class="o">=></span> <span class="mi">50</span><span class="p">,</span>
<span class="s1">'max'</span> <span class="o">=></span> <span class="mi">128</span><span class="p">,</span>
<span class="p">],</span>
<span class="p">],</span>
<span class="s1">'entry_key'</span> <span class="o">=></span> <span class="p">[</span>
<span class="s1">'label'</span> <span class="o">=></span> <span class="s1">'LLL:EXT:registry_editor/Resources/Private/Language/locallang_tca.xlf:sys_registry.entry_key'</span><span class="p">,</span>
<span class="s1">'config'</span> <span class="o">=></span> <span class="p">[</span>
<span class="s1">'type'</span> <span class="o">=></span> <span class="s1">'input'</span><span class="p">,</span>
<span class="s1">'size'</span> <span class="o">=></span> <span class="mi">50</span><span class="p">,</span>
<span class="s1">'max'</span> <span class="o">=></span> <span class="mi">128</span><span class="p">,</span>
<span class="p">],</span>
<span class="p">],</span>
<span class="s1">'entry_value'</span> <span class="o">=></span> <span class="p">[</span>
<span class="s1">'label'</span> <span class="o">=></span> <span class="s1">'LLL:EXT:registry_editor/Resources/Private/Language/locallang_tca.xlf:sys_registry.entry_value'</span><span class="p">,</span>
<span class="s1">'config'</span> <span class="o">=></span> <span class="p">[</span>
<span class="s1">'type'</span> <span class="o">=></span> <span class="s1">'passthrough'</span><span class="p">,</span>
<span class="p">],</span>
<span class="p">],</span>
<span class="p">],</span>
<span class="p">];</span>
</code></pre>
<p>that I need to access the database via extbase but nothing more as the table should not be listed in the backend list view.</p>
<p>If I add:</p>
<pre><code class="php syntaxhl" data-language="php"> <span class="s1">'ctrl'</span> <span class="o">=></span> <span class="p">[],</span>
</code></pre>
<p>my code breaks because then the core tries to add a "pid" to the query but that table doeesn't have a "pid".</p> TYPO3 Core - Task #102957 (Closed): Use full width for TypoScript textfieldshttp://forge.typo3.org/issues/1029572024-01-27T15:56:14ZSimon SchaufelbergerTYPO3 Core - Bug #100034 (Under Review): Start dragging Content Object selects title in Firefoxhttp://forge.typo3.org/issues/1000342023-02-26T07:04:32ZSimon Schaufelberger
<p>Start dragging a content object also automatically selects the title. This bug only occurs in Firefox and cannot be reproduced in Chrome for some reason.</p>
<p><img src="http://forge.typo3.org/attachments/download/37432/Bildschirmfoto-2023-02-26-20-00-25.png" alt="" loading="lazy" /></p> TYPO3 Core - Bug #98094 (Closed): Abort commit if commit message does not fulfill all requirementshttp://forge.typo3.org/issues/980942022-08-06T00:52:18ZSimon Schaufelberger
<p>Currently there is only an output message but the commit still goes through.</p> TYPO3 Core - Bug #98005 (Closed): Use sanitized filename as source identifier when replacing an i...http://forge.typo3.org/issues/980052022-07-22T20:29:28ZSimon Schaufelberger
<p><strong>Steps to reproduce:</strong></p>
<ul>
<li>upload an image with a name like: "straße.txt" </li>
<li>file will be stored as "strasse.txt" </li>
<li>open context menu and rename file to "straße.txt" </li>
<li>choose "overwrite" in the modal window</li>
</ul>
<p>result:</p>
<p>503<br />Oops, an error occurred!<br />File /user_upload/straße.txt does not exist.</p>
<p><strong>Expected:</strong></p>
<p>Flash message:</p>
<p><code>File "strasse.txt" was not renamed. (Same name as before)</code></p> TYPO3 Core - Bug #95475 (Closed): Duplicated id in Scheduler edit task templatehttp://forge.typo3.org/issues/954752021-10-05T12:48:29ZSimon SchaufelbergerTYPO3 Core - Bug #95451 (Closed): Date picker icon height doesn't match with input fieldhttp://forge.typo3.org/issues/954512021-10-03T00:18:50ZSimon Schaufelberger
<p>This can be seen on the <strong>Administration log</strong> but also on other modules probably.</p>
<p>Google Chrome on Ubuntu</p> TYPO3 Core - Bug #95450 (Closed): Header bar doesn't match exactly with page tree headerhttp://forge.typo3.org/issues/954502021-10-03T00:15:48ZSimon Schaufelberger
<p>Google Chrome on ubuntu, latest git master branch shows an about 1px difference in the height between the page tree header and the main backend module header bar</p> TYPO3 Core - Feature #95307 (Closed): Allow glob imports in site configuration yaml fileshttp://forge.typo3.org/issues/953072021-09-21T20:45:30ZSimon Schaufelberger
<p>I have several websites in one installation which share all the same routes so I extracted them into a separate yaml file like this:</p>
<pre><code class="yaml syntaxhl" data-language="yaml"><span class="na">imports</span><span class="pi">:</span>
<span class="pi">-</span> <span class="pi">{</span> <span class="nv">resource</span><span class="pi">:</span> <span class="s1">'</span><span class="s">../../shared/Index.yaml'</span> <span class="pi">}</span>
<span class="na">base</span><span class="pi">:</span> <span class="s1">'</span><span class="s">https://www.example.de/'</span>
<span class="c1">#...</span>
</code></pre>
<p>The Index.yaml file currently looks like this:</p>
<pre><code class="yaml syntaxhl" data-language="yaml"><span class="na">imports</span><span class="pi">:</span>
<span class="pi">-</span> <span class="pi">{</span> <span class="nv">resource</span><span class="pi">:</span> <span class="s1">'</span><span class="s">routeEnhancers/Plugin1.yaml'</span> <span class="pi">}</span>
<span class="pi">-</span> <span class="pi">{</span> <span class="nv">resource</span><span class="pi">:</span> <span class="s1">'</span><span class="s">routeEnhancers/Plugin2.yaml'</span> <span class="pi">}</span>
<span class="pi">-</span> <span class="pi">{</span> <span class="nv">resource</span><span class="pi">:</span> <span class="s1">'</span><span class="s">routeEnhancers/Plugin3.yaml'</span> <span class="pi">}</span>
<span class="pi">-</span> <span class="pi">{</span> <span class="nv">resource</span><span class="pi">:</span> <span class="s1">'</span><span class="s">routeEnhancers/FeLogin.yaml'</span> <span class="pi">}</span>
<span class="pi">-</span> <span class="pi">{</span> <span class="nv">resource</span><span class="pi">:</span> <span class="s1">'</span><span class="s">routeEnhancers/FormFormframework.yml'</span> <span class="pi">}</span>
<span class="pi">-</span> <span class="pi">{</span> <span class="nv">resource</span><span class="pi">:</span> <span class="s1">'</span><span class="s">routeEnhancers/PageTypeSuffix.yaml'</span> <span class="pi">}</span>
</code></pre>
<p>but it would be great if i could reduce it to just 1 line:</p>
<pre><code class="yaml syntaxhl" data-language="yaml"><span class="na">imports</span><span class="pi">:</span>
<span class="pi">-</span> <span class="pi">{</span> <span class="nv">resource</span><span class="pi">:</span> <span class="s1">'</span><span class="s">routeEnhancers/*.yaml'</span><span class="pi">}</span>
</code></pre>
<p>I thought that the same yaml file importer like the one from symfony is in use but TYPO3 has it's own implementation. See <a class="external" href="https://symfony.com/blog/new-in-symfony-3-3-import-config-files-with-glob-patterns">https://symfony.com/blog/new-in-symfony-3-3-import-config-files-with-glob-patterns</a> and <code>typo3/sysext/core/Classes/Configuration/Loader/YamlFileLoader.php</code> in comparison with <code>vendor/symfony/dependency-injection/Loader/YamlFileLoader.php</code> which i though is more or less the same but the code is very different.</p> TYPO3 Core - Feature #93112 (Closed): Import whole directories in sites yaml fileshttp://forge.typo3.org/issues/931122020-12-18T23:03:45ZSimon Schaufelberger
<p>Symfony itself supports importing whole folders with this syntax: <a class="external" href="https://symfony.com/blog/new-in-symfony-3-3-import-config-files-with-glob-patterns">https://symfony.com/blog/new-in-symfony-3-3-import-config-files-with-glob-patterns</a></p>
<p>but since TYPO3 has its own implementation around it in \TYPO3\CMS\Core\Configuration\Loader\YamlFileLoader::loadAndParse, this is not supported.</p>
<p>This would be super helpful in multisite environments with shared configs with having multiple route enhancers that are automatically imported when adding a new one instead of defining them all manually like so:</p>
<pre>
config
- shared
- routeEnhancers
- routerEnhancer1.yaml
- routerEnhancer2.yaml
- routerEnhancer2.yaml
- index.yaml (imports: 'routeEnhancers/')
- sites
- website1
- config.yaml (imports: '../../shared/Index.yaml')
</pre> TYPO3 Core - Bug #81202 (Closed): linkToTop in css_styled_content broken in TYPO3 7http://forge.typo3.org/issues/812022017-05-11T23:10:04ZSimon Schaufelberger
<p>Since config.prefixLocalAnchors was removed from the core with <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: Move prefixLocalAnchors to compatibility6 (Closed)" href="http://forge.typo3.org/issues/65934">#65934</a> and outsourced into compatibility6 extension, all linkToTops are not working any more if realurl is used.</p>
<p>Testcase:<br /><pre>
config {
prefixLocalAnchors = all
baseURL = http://www.example.com
}
page = PAGE
page {
1 < styles.content.get
}
</pre></p>
<p>Add a new content element and check the checkbox "Append with Link to Top of Page" in Access tab.</p>
<p>This is the broken typoscript setup in css_styled_content:</p>
<p><a class="external" href="https://git.typo3.org/Packages/TYPO3.CMS.git/blob/9219e4fa9af5e4bd2ea1f208056cb396667cce45:/typo3/sysext/css_styled_content/static/setup.txt#l537">https://git.typo3.org/Packages/TYPO3.CMS.git/blob/9219e4fa9af5e4bd2ea1f208056cb396667cce45:/typo3/sysext/css_styled_content/static/setup.txt#l537</a></p>
<p>Expected:<br /><pre>
<a href="path/to/page.html#">Link to top</a>
</pre></p>
<p>Actual Output:<br /><pre>
<a href="#">Link to top</a>
</pre></p>
<p>with a baseurl set links to the root page.</p>