TYPO3 Forge: Issueshttp://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692022-12-06T07:36:21ZTYPO3 Forge
Redmine TYPO3 Core - Bug #99282 (Closed): Re loading frontend without cache keeps loading cached TypoScripthttp://forge.typo3.org/issues/992822022-12-06T07:36:21ZDaniel Siepmanncoding@daniel-siepmann.de
<ol>
<li>Setup TypoScript rendering<pre>page >
page = PAGE
page.10 = TEXT
page.10.value = test
</pre> </li>
<li>Log in to the TYPO3 backend</li>
<li>Load a frontend page</li>
<li>Change TypoScript, e.g.<pre>page.10.value = test new</pre></li>
<li>re load frontend page without cache, e.g. by pressing CTRL+SHIFT+r on Linux</li>
</ol>
<p>This should load the frontend without caches which worked fine in 11.5 and older versions.<br />But this does no longer work in current main, the TypoScript seems to be loaded from cache.<br />Adjusting TypoScript setup inside the filesystem only takes effect after clearing the cache e.g. via install tool, Maintenance Module, "Flush frontend cache", "Flush all caches".</p> TYPO3 Core - Bug #99278 (Closed): TYPO3 says one should create a file within typo3conf which no l...http://forge.typo3.org/issues/992782022-12-05T16:35:54ZDaniel Siepmanncoding@daniel-siepmann.de
<p>Opening the Install Tool on a v12 displays a messages:</p>
<blockquote>
<p>The Install Tool is locked</p>
<p>To enable the Install Tool, the file ENABLE_INSTALL_TOOL must be created in the directory typo3conf/. The file must be writable by the web server user. The filename is case-sensitive but the file itself can be empty.</p>
<p>Security note: When you are finished with the Install Tool, you should rename or delete this file. It will automatically be deleted if you log out of the Install Tool or if the file is older than one hour.</p>
</blockquote>
<p>But there is no more typo3conf/ within the installation. The code also still points to the folder: <a class="external" href="https://github.com/TYPO3/typo3/blob/main/typo3/sysext/install/Classes/Service/EnableFileService.php#L30">https://github.com/TYPO3/typo3/blob/main/typo3/sysext/install/Classes/Service/EnableFileService.php#L30</a></p>
<p>One can create the folder with file within `public/` but I don't think that's how it should be.</p> TYPO3 Core - Bug #94919 (Closed): PHP Warning: Invalid argument supplied for foreach() in /sysext...http://forge.typo3.org/issues/949192021-08-18T05:55:52ZDaniel Siepmanncoding@daniel-siepmann.de
<p>There is a warning in current master due to <em>$parts</em> being <em>false</em> instead of an array.<br />Accordingly, to <em>preg_split</em> docs, that means there was an actual error, not that it didn't match. So an easy type cast might be wrong here. Instead we should find the cause of the error.</p>
<p>The issue is caused by <em>./vendor/bin/typo3 referenceindex:update</em> with following content:</p>
<pre>
<p>Nice to have:</p>
<ol> <li>Add further tests</li> <li>Check out <a href="{softref:5ab0deeea5faa1691e4d2b36b61a6105}">https://github.com/benjaminkott/syntax</a> and add proper syntax highlighting with defined code language to CKEditor. Just keep rendering via Server.<br /> pre tag parsing, add language, e.g. as attribute in RTE, extract and use it as config</li> <li>Add <s>link list to</s>
YouTube videos somewhere (new page)<br /> https://www.youtube.com/playlist?list=PLDXiDr43HScExqOdpcQbCTmxfdBtIn63O<br /> Add as blog posts with categories?</li> <li>Add page with projects<br /> /projects/sublime-text/fluid-snippets/</li> <li>Proper TYPO3 cache handling<br /> <a href="{softref:bca09d3af089eabda3a6232ba21f72c2}">https://forge.typo3.org/issues/63821?issue_count=1&amp;issue_position=1</a></li> <li>Add own link type "Twitter user"</li> <li>Colors for code highlighting (Improve span amount and recognition)<br /> Add TypoScript</li>
<li>no bootstrap (issue with pre and with)</li> <li>Add light mode support (css): <a href="{softref:217011bfd99088a721fbb8aa06ef54df}">https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme</a></li> </ol>
</pre>
<p>And it looks like the issue was introduced in one of these commits: <a class="external" href="https://github.com/TYPO3-CMS/core/compare/293fa45605a994be4e83a6a509046a18e9582c44...7909d6d3109d0b7c5caaaf7a80c61ca20ba6c4b7">https://github.com/TYPO3-CMS/core/compare/293fa45605a994be4e83a6a509046a18e9582c44...7909d6d3109d0b7c5caaaf7a80c61ca20ba6c4b7</a>, most probably: <a class="external" href="https://github.com/TYPO3-CMS/core/commit/608498f7c02550b0c37888ce43a76cd72d5198a0">https://github.com/TYPO3-CMS/core/commit/608498f7c02550b0c37888ce43a76cd72d5198a0</a>.</p>
<p>But I can't find a difference in the code.</p> TYPO3 Core - Bug #94709 (Closed): TypeError for SQLite in DB Comparehttp://forge.typo3.org/issues/947092021-08-04T12:02:12ZDaniel Siepmanncoding@daniel-siepmann.de
<p>The following error id displayed to the user within Backend Maintenance module when doing a DB compare with sqlite database. I've an old v10 updated to current master and trying to execute db compare.<br /><pre>
(1/1) TypeError
Argument 2 passed to Doctrine\DBAL\Connection::handleExceptionDuringQuery() must be of the type string, array given, called in /home/daniels/Projects/own/website-typo3/project/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php on line 1524
</pre></p>
<p>The issue seems to be within <em>TYPO3\CMS\Core\Database\Schema\SchemaMigrator::migrate</em> which generates arrays instead of strings of SQL for SQLite.</p>
<pre>
$updateSuggestionsPerConnection = array_merge_recursive(
$this->getUpdateSuggestions($statements),
$this->getUpdateSuggestions($statements, true)
);
</pre><br />Contains the issue, some SQL exists in both and is combined as new array containing duplicates.
<pre>
at Doctrine\DBAL\Connection->handleExceptionDuringQuery()
in /home/daniels/Projects/own/website-typo3/project/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 1524
$result = $connection->exec($sql);
}
} catch (Throwable $e) {
$this->handleExceptionDuringQuery(
$e,
$sql,
$params,
$types
);
at Doctrine\DBAL\Connection->executeStatement()
in /home/daniels/Projects/own/website-typo3/project/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 1473
'https://github.com/doctrine/dbal/pull/4163',
'Connection::executeUpdate() is deprecated, use Connection::executeStatement() instead.'
);
return $this->executeStatement($sql, $params, $types);
}
/**
* Executes an SQL statement with the given parameters and returns the number of affected rows.
at Doctrine\DBAL\Connection->executeUpdate()
in /home/daniels/Projects/own/website-typo3/project/public/typo3/sysext/core/Classes/Database/Schema/SchemaMigrator.php line 142
$connection = $connectionPool->getConnectionByName($connectionName);
foreach ($statementsToExecute as $hash => $statement) {
try {
$connection->executeUpdate($statement);
} catch (DBALException $e) {
$result[$hash] = $e->getPrevious()->getMessage();
}
}
</pre> TYPO3 Core - Bug #94698 (Closed): LinkAnalyzerResult no longer compatible with SQLitehttp://forge.typo3.org/issues/946982021-08-03T14:29:39ZDaniel Siepmanncoding@daniel-siepmann.de
<p>The code was changed and does pass db results to further APIs.<br />Those expect integer, but doctrine still does not convert db results and just returns strings, that will break.</p>
<p>Two issues exist:</p>
<pre>
Uncaught TYPO3 Exception Argument 1 passed to TYPO3\CMS\Core\Site\SiteFinder::getSiteByPageId() must be of the type int, string given, called in /home/daniels/Projects/own/website-typo3/project/pu
blic/typo3/sysext/linkvalidator/Classes/Result/LinkAnalyzerResult.php on line 257
thrown in file /home/daniels/Projects/own/website-typo3/project/public/typo3/sysext/core/Classes/Site/SiteFinder.php
in line 114
</pre>
<pre>
Uncaught TYPO3 Exception Argument 1 passed to TYPO3\CMS\Core\Site\Entity\Site::getLanguageById() must be of the type int, string given, called in /home/daniels/Projects/own/website-typo3/project/public/typo3/sysext/linkvalidator/Classes/Result/LinkAnalyzerResult.php on line 258
thrown in file /home/daniels/Projects/own/website-typo3/project/public/typo3/sysext/core/Classes/Site/Entity/Site.php
in line 241
</pre>
<p>Those will be triggered by scheduler task.</p> TYPO3 Core - Bug #94154 (Closed): TypeError for missing transOrigPointerField fieldhttp://forge.typo3.org/issues/941542021-05-18T21:07:44ZDaniel Siepmanncoding@daniel-siepmann.de
<p>A TypeError is thrown when accessing the list module with records that have a TCA entry with configured ctrl.languageField but without ctrl.transOrigPointerField.</p>
<pre>
(1/1) TypeError
Argument 1 passed to TYPO3\CMS\Core\Database\Query\Expression\ExpressionBuilder::eq() must be of the type string, null given, called in /typo3/sysext/backend/Classes/Utility/BackendUtility.php on line 3207
in /typo3/sysext/core/Classes/Database/Query/Expression/ExpressionBuilder.php line 110
* @param mixed $value The value. No automatic quoting/escaping is done.
*
* @return string
*/
public function eq(string $fieldName, $value): string
{
return $this->comparison($this->connection->quoteIdentifier($fieldName), static::EQ, $value);
}
at TYPO3\CMS\Core\Database\Query\Expression\ExpressionBuilder->eq()
in /typo3/sysext/backend/Classes/Utility/BackendUtility.php line 3207
->from($table)
->where(
$queryBuilder->expr()->eq(
$GLOBALS['TCA'][$table]['ctrl']['transOrigPointerField'],
$queryBuilder->createNamedParameter($ref, \PDO::PARAM_INT)
),
$queryBuilder->expr()->neq(
$GLOBALS['TCA'][$table]['ctrl']['languageField'],
$queryBuilder->createNamedParameter(0, \PDO::PARAM_INT)
</pre>
<p>Looks like the if condition doesn't work as expected:</p>
<pre>
if ($GLOBALS['TCA'][$table]['ctrl']['languageField'] ?? null
&& $GLOBALS['TCA'][$table]['ctrl']['transOrigPointerField'] ?? null
) {
</pre> TYPO3 Core - Bug #90770 (Closed): Show newest rss entries firsthttp://forge.typo3.org/issues/907702020-03-17T13:32:18ZDaniel Siepmanncoding@daniel-siepmann.de
<p>The RSS Widgets do not sort items.<br />In case an RSS feed provides newest entries last, they won't show up.</p>
<p>Therefore it might be an option to sort feeds by their pubDate before storing to cache.</p> TYPO3 Core - Bug #90660 (Closed): Allow creation of Widgets through API using only configurationhttp://forge.typo3.org/issues/906602020-03-06T12:25:17ZDaniel Siepmanncoding@daniel-siepmann.de
<p>It should be possible to create widgets only with configuration.<br />Therefore EXT:dashboard should deliver implementations for widgets, e.g. for an RssWidget. This can be configured from outside.<br />The idea is to not provide abstract widget classes, but concrete classes that will be instantiated multiple times with different options.</p> TYPO3 Core - Bug #90638 (Closed): Doughnout widget broken with to big legend on mobilehttp://forge.typo3.org/issues/906382020-03-04T13:46:20ZDaniel Siepmanncoding@daniel-siepmann.de
<p>See screenshot for result.</p>
<p>Richard told me there is a max height or something like that for widgets, which might be removed on mobile devices.</p> TYPO3 Core - Bug #90546 (Closed): Charts won't render from time to timehttp://forge.typo3.org/issues/905462020-02-27T07:44:55ZDaniel Siepmanncoding@daniel-siepmann.de
<p>From time to time while loading the dashboard I receive the following error in Browser Console:<br /><pre>
Error: Module name "TYPO3/CMS/Dashboard/Contrib/chartjs" has not been loaded yet for context: _
https://requirejs.org/docs/errors.html#notloaded
</pre></p>
<p>Whenever this error occurs, the charts are not rendered. I guess because the chartjs module is missing ;)</p>
<p>I've no clue yet what's causing this issue, or how to reproduce.</p>
<p>Used browser: Firefox "73.0.1 (64-bit)" on ubuntu.</p> TYPO3 Core - Bug #90454 (Closed): Don't break dashboard if widget is no longer availablehttp://forge.typo3.org/issues/904542020-02-20T22:04:12ZDaniel Siepmanncoding@daniel-siepmann.de
<p>If a PHP Class for a widget does no longer exist, the whole dashboard breaks.<br />An example would be:</p>
<pre>
( ! ) Fatal error: Class 'TYPO3\CMS\Dashboard\Widgets\AbstractDoughnutChartWidget' not found in htdocs/typo3conf/ext/styleguide/Classes/Widgets/Pages.php on line 32
</pre>
<p>This widget extends the AbstractDoughnutChartWidget, which no longer exists, as I've removed the cherry picked patch. I guess the same behaviour would happen once an extension is removed from the system, which provided a widget that was added to a dashboard.</p> TYPO3 Core - Task #75955 (Closed): Doctrine: migrate ext:tstemplate/TypoScriptTemplateModuleContr...http://forge.typo3.org/issues/759552016-04-27T21:27:15ZDaniel Siepmanncoding@daniel-siepmann.deTYPO3 Core - Bug #70391 (Closed): Update record icon on hide/unhidehttp://forge.typo3.org/issues/703912015-10-05T17:12:02ZDaniel Siepmanncoding@daniel-siepmann.de
<p>As soon as you update the hide / unhide state of a record in list view, the "action button" is updated, while the record icon is not.<br />It would be nice to also update the record item to reflect the change.</p> TYPO3 Core - Bug #55642 (Closed): Page tree filter can't filter for id or title anymore.http://forge.typo3.org/issues/556422014-02-04T09:26:24ZDaniel Siepmanncoding@daniel-siepmann.de
<p>Ernesto figured out it was <a class="external" href="https://review.typo3.org/#/c/26740/">https://review.typo3.org/#/c/26740/</a> that introduced this bug.</p> TYPO3 Core - Bug #55517 (Closed): ClassLoader not working with NullBackend for legacy classes http://forge.typo3.org/issues/555172014-01-31T14:58:05ZDaniel Siepmanncoding@daniel-siepmann.de
<p>Setting <em>cache_core</em> to <em>NullBackend</em><br /><pre>
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_core']['backend'] = '\TYPO3\CMS\Core\Cache\Backend\NullBackend';
</pre> <br />creates Fatal Errors for calls to old class names like <em>t3lib_extMgm</em>.<br />You can reproduce it e.g. with a call to the <em>t3lib_extMgm</em> class inside <em>ext_tables.php</em> of an extension.</p>
<p>This error is not catched using the <em>Install Tool</em> <em>Check for broken extensions</em> option.</p>