TYPO3 Forge: Issueshttp://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692023-08-30T11:27:43ZTYPO3 Forge
Redmine TYPO3 Core - Bug #101798 (New): Prevent saving unchanged inline records to save performancehttp://forge.typo3.org/issues/1017982023-08-30T11:27:43ZSebastian Michaelsenmichaelsen@t3seo.de
<p><strong>Problem</strong></p>
<p>When you have a record, which has 10 inline items and the record is translated (along with the inline items) into 10 languages, then saving the record even with no changes to the inline items causes the DataHandler to save 110 database records which can take some 30 seconds.</p>
<p><strong>Why is that?</strong></p>
<p>The inline records have toggles to hide/unhide them (unless the table does no support that), which means when saving the record there will be a `someid => ['hidden' => '0']` entry for each inline item, which causes DataHandler to save that inline item, which then also triggers saving of its translations.</p>
<p><strong>Solution(?)</strong></p>
<p>It could be solved in backend JavaScript, so that the inline `hidden` form fields are only included in the request when their value was changed.</p>
<p><strong>Workaround</strong></p>
<p>For our project I created a backend middleware, that intercepts the `data` when a record is saved and removes any entries, that have just the hidden field and it is unchanged. (Yes, I create a database request for each of those entries but it's still <em>way</em> faster than before)</p> TYPO3 Core - Bug #95368 (Closed): Passing an eID array URL parameter logs into the TYPO3 error loghttp://forge.typo3.org/issues/953682021-09-27T10:31:17ZSebastian Michaelsenmichaelsen@t3seo.de
<p>Calling <a class="external" href="https://www.example.com/index.php?eID[]=">https://www.example.com/index.php?eID[]=</a> produces an entry like this in the <code>sys_log</code>:</p>
<pre>
Core: Error handler (FE): PHP Warning: Illegal offset type in /path/to/project/typo3/sysext/frontend/Classes/Middleware/EidHandler.php line 70
</pre>
<p>This is the case for TYPO3 v10.4 and from looking at the code also at master.</p> TYPO3 Core - Bug #93480 (New): PDF Cropping configuration is not possible for editorshttp://forge.typo3.org/issues/934802021-02-10T09:42:03ZSebastian Michaelsenmichaelsen@t3seo.de
<p>TYPO3 can create images from PDFs and can also crop them. But for editors it's not possible to set that cropping, because the cropping wizard doesn't work for PDFs.</p> TYPO3 Core - Bug #93469 (Closed): Editing file metadata in a workspace takes immediate effect on ...http://forge.typo3.org/issues/934692021-02-09T08:09:54ZSebastian Michaelsenmichaelsen@t3seo.de
<p>Steps to reproduce:</p>
<ul>
<li>Switch into a Workspace</li>
<li>Open the File module and edit a file</li>
<li>Fill out or change the title and save</li>
<li>Switch into the LIVE environment again</li>
<li>Edit the same file again<br />=> There are your Workspace changes, immediately applied to the LIVE record.</li>
</ul>
<p>As an editor I must be sure that my workspace changes can not alter the current LIVE website. Otherwise I will lose trust into the whole workspace feature.</p> TYPO3 Core - Bug #93433 (New): TCA placeholder __row|field doesn't translate related recordshttp://forge.typo3.org/issues/934332021-02-04T11:40:41ZSebastian Michaelsenmichaelsen@t3seo.de
<p>When using the __row|field syntax in placeholders, the related row is not overlaid with its translation.</p>
<p>example TCA for a tt_content field:<br /><pre>
'tx_myext_teaser_title' => [
'label' => $lll . '.tx_myext_teaser_title',
'config' => [
'type' => 'input',
'placeholder' => '__row|tx_myext_teaser_page|title',
],
],
</pre></p>
<p>For a translated content element, the placeholder should be filled with the value from the translated page record.</p> TYPO3 Core - Bug #93098 (Closed): Missing 'depends' section in ext_emconf.php leads to errorhttp://forge.typo3.org/issues/930982020-12-17T13:04:57ZSebastian Michaelsenmichaelsen@t3seo.de
<p>If an extension has no <code>'depends'</code> section in <code>ext_emconf.php</code>, but requires packages via <code>composer.json</code>, then during <code>install:generatepackagestates</code> an error is raised:</p>
<p>The package "myext" depends on "my/composer-package" which is not present in the system.</p>
<p>When putting <code>'constraints' => ['depends' => []],</code> into <code>ext_emconf.php</code> it works fine.</p>
<p>Especially for project specific local extensions you may not have any dependencies specified. When it works with the empty depends array, it should also be possible to leave it out entirely.</p> TYPO3 Core - Bug #93024 (Closed): PDF download from private storage yields thumbnailhttp://forge.typo3.org/issues/930242020-12-08T07:50:01ZSebastian Michaelsenmichaelsen@t3seo.de
<p>If a TYPO3 installation is capable (ImageMagick + configuration) of creating thumbnails of PDFs, the eID download of PDFs will always output an image instead of a PDF.</p>
<p>This is the case since <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Implement better FileDumpController (Closed)" href="http://forge.typo3.org/issues/90068">#90068</a></p>
Steps to reproduce:
<ul>
<li>Have a TYPO3 installation that creates thumbnails for PDFs (Check in Environment backend module)</li>
<li>Create a non-public file storage with a PDF in it.</li>
<li>Link the PDF, e.g. via the RTE of a text element.</li>
<li>Click the download link in the frontend.</li>
</ul>
<p>Expected result: PDF is opened or downloaded<br />Actual result: Thumbnail image of PDF is opened</p> TYPO3 Core - Bug #92906 (New): File Metadata are not editable when translation doesn't exist yethttp://forge.typo3.org/issues/929062020-11-23T13:52:03ZSebastian Michaelsenmichaelsen@t3seo.de
<p>In the backend form of sys_file_reference inline records, typically there's a link where you can edit the metadata of the selected file.</p>
<p>Since the fix for <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: \TYPO3\CMS\Backend\Form\Container\InlineRecordContainer::renderForeignRecordHeaderControl wrong e... (Closed)" href="http://forge.typo3.org/issues/82178">#82178</a> this link is removed if there is not sys_file_metadata record in the same language as sys_file_reference record.</p>
<p>However obviously editors want to edit metdata for files which have not been explicitly localized before. So I suggest that sys_file_metadata translations are created on demand in this situation.</p> TYPO3 Core - Bug #73742 (Closed): Hook to inject js into UserSettingModule not working anymorehttp://forge.typo3.org/issues/737422016-02-29T12:49:32ZSebastian Michaelsenmichaelsen@t3seo.de
<p>With this commit (<a class="external" href="https://github.com/TYPO3/TYPO3.CMS/commit/48321468913086e803566af0688c8578af2829a3">https://github.com/TYPO3/TYPO3.CMS/commit/48321468913086e803566af0688c8578af2829a3</a>) the hook <code>['ext/setup/mod/index.php']['setupScriptHook']</code> stopped working because the <code>getJavaScript()</code> method is not called anymore. It was not documented that the hook is gone and the method is still there so I assume it was accidentally removed.</p> TYPO3 Core - Bug #71477 (Closed): TypoScript condition hostname checks for IP address instead of ...http://forge.typo3.org/issues/714772015-11-11T11:19:01ZSebastian Michaelsenmichaelsen@t3seo.de
<p><a class="external" href="https://github.com/TYPO3/TYPO3.CMS/blob/874a64c54712131350d195e77d775324682cc33a/typo3/sysext/core/Classes/Configuration/TypoScript/ConditionMatching/AbstractConditionMatcher.php#L323">https://github.com/TYPO3/TYPO3.CMS/blob/874a64c54712131350d195e77d775324682cc33a/typo3/sysext/core/Classes/Configuration/TypoScript/ConditionMatching/AbstractConditionMatcher.php#L323</a></p>
<pre>
case 'hostname':
return (bool)GeneralUtility::cmpFQDN(GeneralUtility::getIndpEnv('REMOTE_ADDR'), $value);
break;
</pre>
<p>Instead of checking against <code>REMOTE_HOST</code> (as it says in the documentation) it checks for <code>REMOTE_ADDR</code>.</p> TYPO3 Core - Bug #69377 (Closed): Image Content elements result in exceptionhttp://forge.typo3.org/issues/693772015-08-27T22:05:13ZSebastian Michaelsenmichaelsen@t3seo.de
<p>Displaying an image CE in the frontend results in following exception: <br />#1317178794: No file reference (sys_file_reference) was found for given UID: "0"</p>
<p>This bug seems related to the frontend cleanup <a class="issue tracker-4 status-5 priority-4 priority-default closed" title="Task: Cleanup EXT:frontend (Closed)" href="http://forge.typo3.org/issues/66204">#66204</a> which was merged recently.</p> TYPO3 Core - Bug #67406 (Rejected): Form sysext detected as broken in install toolhttp://forge.typo3.org/issues/674062015-06-10T23:07:14ZSebastian Michaelsenmichaelsen@t3seo.de
<p>With the big change to the TYPO3 autoloading (<a class="external" href="https://github.com/TYPO3/TYPO3.CMS/commit/ec2b4f4266af7bc93e301ad4735464f958a6d1bf">https://github.com/TYPO3/TYPO3.CMS/commit/ec2b4f4266af7bc93e301ad4735464f958a6d1bf</a>) the form system extension is detected as broken by the install tool.</p>
<p><a class="external" href="http://shots.michaelsen.io/HYEa">http://shots.michaelsen.io/HYEa</a></p> TYPO3 Core - Bug #67105 (Closed): FlexFormContainer: Read field name correctly from globalOptions...http://forge.typo3.org/issues/671052015-05-22T12:58:06ZSebastian Michaelsenmichaelsen@t3seo.de
<p>The field name is read from the wrong array key, resulting in a broken flexform.</p> TYPO3 Core - Task #44963 (Closed): Create CSS Styled Content TypoScript configuration for v6.0http://forge.typo3.org/issues/449632013-01-30T13:10:17ZSebastian Michaelsenmichaelsen@t3seo.de
<p>For backwards compatibility we keep versions of the CSS Styled Content<br />TypoScript configuration files of previous versions selectable as rendering template.</p> TYPO3 Core - Bug #40672 (Closed): Including DatabaseUtility fails due to Null Characterhttp://forge.typo3.org/issues/406722012-09-06T13:41:28ZSebastian Michaelsenmichaelsen@t3seo.de
<p>(This one is strange and it took me a while to figure it out)</p>
<p>In typo3/sysext/extensionmanager/Classes/Utility/DatabaseUtility.php line 129, position 38 there seems to be a so called Null Character<sup><a href="#fn1">1</a></sup> which raises an error when the file is included. In my case the whole PHP process seems to be killed - the browser receives no response from the server. This way the EM and the Language module fail to load.</p>
<p>I found the problem via Command Line:</p>
<p>$ php -l DatabaseUtility.php <br />Bus error: 10</p>
<p>When I erase the Null character everything works fine.</p>
<p>Attention: I'm experiencing this on a Mac with Intel chip. This smells system dependant to me.</p>
<p>(I can't even provide a patch because git seems to handle DatabaseUtility.php as a binary file because of the Null character)</p>
<p>[1] <a class="external" href="http://en.wikipedia.org/wiki/Null_character">http://en.wikipedia.org/wiki/Null_character</a></p>