TYPO3 Forge: Issueshttp://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692024-02-07T14:15:39ZTYPO3 Forge
Redmine TYPO3 Core - Task #103075 (New): Use full module paths in navigationComponenthttp://forge.typo3.org/issues/1030752024-02-07T14:15:39ZBenjamin Franzkeben@bnf.dev
<p>see <a class="external" href="https://review.typo3.org/c/Packages/TYPO3.CMS/+/81411/93#message-147d54d2d072d7baab287befc7c81a35c131c53e">https://review.typo3.org/c/Packages/TYPO3.CMS/+/81411/93#message-147d54d2d072d7baab287befc7c81a35c131c53e</a></p> TYPO3 Core - Task #102560 (Under Review): Enable TypeScript strictNullCheckshttp://forge.typo3.org/issues/1025602023-11-30T08:28:25ZBenjamin Franzkeben@bnf.dev
<p>This is to avoid bugs like <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: Backend Login Screen shows JS Error (Closed)" href="http://forge.typo3.org/issues/91913">#91913</a> or <a class="issue tracker-1 status-3 priority-4 priority-default closed" title="Bug: Page TSConfig crashes browser with T3Editor extension enabled (Resolved)" href="http://forge.typo3.org/issues/101893">#101893</a></p> TYPO3 Core - Bug #102375 (New): Data too long for column 'cookie' when inserting into index_stat_...http://forge.typo3.org/issues/1023752023-11-15T13:00:07ZAndreas Krämera.kraemer@i-group.de
<p>Hi there,</p>
<p>today I updated a website to TYPO3 ELTS 10.4.41 and now the indexed_search throws the following error when performing a search request:</p>
<pre>An exception occurred while executing 'INSERT INTO `index_stat_search` (`searchstring`, `searchoptions`, `feuser_id`, `cookie`, `IP`, `hits`, `tstamp`) VALUES (?, ?, ?, ?, ?, ?, ?)' with params ["...", "...", 123, "4acf8ddc34c4bd2f20fe09de9b95e1dd.a0434104194776105dcb902219b99f71af58d82724f5e7ea2eaac9d7e89d7ac3", "...", 4, 1700048704]: Data too long for column 'cookie' at row 1</pre>
<p>I guess it is a combination of MySQL strict mode and the cookie security fix: <a class="external" href="https://github.com/typo3/typo3/commit/8fdec56561">https://github.com/typo3/typo3/commit/8fdec56561</a><br />Most likely TYPO3 11.5.33 and 12.4.8 are also affected (not tested).</p>
Possible solutions:
<ul>
<li>Remove cookie column from index_stat_search (why is this stored anyway?)</li>
<li>Truncate cookie value after 32 chars</li>
<li>Increase size of cookie column</li>
</ul> TYPO3 Core - Task #101694 (Under Review): Streamline top frame detectionhttp://forge.typo3.org/issues/1016942023-08-16T05:31:25ZBenjamin Franzkeben@bnf.devTYPO3 Core - Bug #101684 (Under Review): <typo3-backend-icon> changed to inline element in TYPO3 v12http://forge.typo3.org/issues/1016842023-08-15T07:32:44ZBenjamin Franzkeben@bnf.dev
<p>Expect: <typo3-backend-icon> should render as in TYPO3 v11</p> TYPO3 Core - Task #101297 (Under Review): Render JavaScript modules as script tag if possiblehttp://forge.typo3.org/issues/1012972023-07-10T04:45:43ZBenjamin Franzkeben@bnf.dev
<p>Write something like<br /><pre>
<script type="module" src="/typo3/sysext/backend/Resources/Public/JavaScript/global-event-handler.js?bust=1688766145"></script>
</pre></p>
<p>instead of <br /><pre>
<script src="/typo3/sysext/core/Resources/Public/JavaScript/java-script-item-handler.js?1688764611">/* [{"type": "javaScriptModuleInstruction…
</pre></p>
<p>if possible as fastpath for fast native module loading.</p> TYPO3 Core - Bug #99396 (Accepted): cli command extension:activate is not listed in list of posst...http://forge.typo3.org/issues/993962022-12-20T09:27:48ZSybille Peterssypets@gmx.de
<p>See Slack: <a class="external" href="https://typo3.slack.com/archives/C025BQLFA/p1671087861055179">https://typo3.slack.com/archives/C025BQLFA/p1671087861055179</a></p>
<blockquote>
<p>seems we have a bug here..<br />It's still possible via<br />typo3/sysext/core/bin/typo3 extension:activate extensionkey<br />…but the command is missing in the help output.<br />(There is a condition to hide the command in composer mode, but that seems to be broken)</p>
</blockquote>
<p>Apparently, in non-Composer mode the command extension:activate is available (and works), but is not listed in list of commands.</p>
<a name="Reproduce"></a>
<h2 >Reproduce<a href="#Reproduce" class="wiki-anchor">¶</a></h2>
<p>Run command</p>
<ul>
<li>typo3/sysext/core/bin/typo3 in a non Composer TYPO3 installation.</li>
</ul>
<p>It lists the possible commands. It does not list extension:activate (and extension:deactivate).</p>
<p>It only lists these commands which start with extension:</p>
<pre><code>extension:list Shows the list of extensions available to the system<br /> extension:setup Set up extensions</code></pre>
<p>All system extension are activated except for:</p>
<ul>
<li>indexed_search</li>
<li>linkvalidator</li>
<li>opendocs</li>
<li>workspaces</li>
</ul>
<a name="System"></a>
<h2 >System<a href="#System" class="wiki-anchor">¶</a></h2>
<ul>
<li>reproduced with v11 (latest 11.5 branch) in non-Composer installation</li>
</ul>
<p>I don't know if this command should also be available in TYPO3 v12, but it is not shown there as well.</p> TYPO3 Core - Task #98481 (Under Review): Hash package version into public resource pathshttp://forge.typo3.org/issues/984812022-09-30T12:43:24ZBenjamin Franzkeben@bnf.dev
<p>This applies to installations in TYPO3 composer mode using<br />typo3/cms-composer-installers v4 where TYPO3 extensions<br />are stored in vendor/ and their public resources as linked<br />to public/_assets/.</p>
<p>The symlink name in public/_assets/ should be extended to be not<br />just a hash of the relative path to the vendor folder, but also<br />acts as a cacheHash, by including the package version into the<br />symlink name.</p>
<p>That means an extension update of packages/extensions<br />will trigger a new symlink name.<br />This has the drawback that that names in public/_assets/ are<br />no longer predictable, but brings the benifit that this will allow<br />TYPO3 to skip modification-timstamp-lookups in<br />GeneralUtility::createVersionNumberedFilename() and to generate<br />performant JavaScript importmaps via trailing slashes<sup><a href="#fn1">1</a></sup> syntax.</p> TYPO3 Core - Task #91237 (New): Symfony DI (dependency injection) for ClassAliasMap(s)http://forge.typo3.org/issues/912372020-04-29T17:30:23ZChristian Hackl
<p>Symfony DI (dependency injection) for ClassAliasMap(s)</p>
<p>For example dependency injection for "\TYPO3\CMS\Frontend\Page\PageRepository" via constructor didn't work.</p>
<pre>
// Classes/Controller/MyController.php
/**
* pagesRepository
*
* @var \TYPO3\CMS\Frontend\Page\PageRepository
*/
protected $pageRepository = null;
public function __construct(\TYPO3\CMS\Frontend\Page\PageRepository $pageRepository) {
$this->pageRepository = $pageRepository;
}
</pre>