TYPO3 Forge: Issueshttp://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692020-02-05T10:40:39ZTYPO3 Forge
Redmine TYPO3 Core - Feature #90325 (Closed): Folder path should change in a file collection when renamin...http://forge.typo3.org/issues/903252020-02-05T10:40:39ZTim Jonas Pflaum
<p><strong>Prerequisits:</strong><br />Typo3 v8.7.30 (most likely also in v9)</p>
<p><strong>Steps to reproduce:</strong><br />1. Create folder in filelist<br />2. Create a file collection of type: folder from storage<br />2.1 Select a folder<br />3. Rename the folder used in the file collection in the filelist</p>
<p><strong>Expected behavior:</strong><br />Folder is renamed in the file collection</p>
<p><strong>Actual behavior:</strong><br />Folder still has the old file path in the file collection which isn’t valid anymore so it shows: Invalid value</p>
<p><strong>Additional notes:</strong><br />Possible solution might be to implement something similar to the FileReference -> FolderReference and have the filecollection use database entries<br />Also when renaming a folder in the filelist the paths for subfolders have to be adjusted</p>
<p>Other possibility would be to check filecollections for references to the folder or subfolder and update it</p> TYPO3 Core - Bug #88816 (Closed): Filelist rename folder replacing underscore with space seems to...http://forge.typo3.org/issues/888162019-07-22T15:28:39ZTim Jonas Pflaum
<p>Steps to reproduce:<br />1. Go to the filelist module<br />2. Create a folder named "test_test" <br />3. Rename the folder to "test test" <br />4. A green alert will show saying 'Directory renamed from "test_test" to "test test".'<br />5. check to see that the folder has in fact not been renamed to "test test" but is still "test_test"</p>
<p>I think that you are not supposed to have folders with spaces so the result is correct but it is still confusing to get told one thing a see a different reality.</p> TYPO3 Core - Bug #84908 (Closed): search in filelist bypasses allowed filetypehttp://forge.typo3.org/issues/849082018-05-02T11:41:12ZTim Jonas Pflaum
<p>When trying to add a file to textmedia which isn't one of the allowed types e.g. JPG JPEG PNG MP4 MP3<br />you can add a file of type SVG by searching for it in the when selecting a file. <br />When you jsut navigate to the folder you dont see the svg file which is what it should do.<br />So in the case of an svg, typo3 detects that it is an image and it allows you to crop the svg which isnt possibly.</p> TYPO3 Core - Bug #83877 (New): False Error code (200)http://forge.typo3.org/issues/838772018-02-13T11:50:29ZTim Jonas Pflaum
<p>False error code in Backend when tca userFunc calls the render function with a DebuggerUtility::var_dump($this->pageRenderer->getCompressJavascript());<br />This happened when we had a content element inside of another contentelement, which we do for our accordion.</p>
<pre>
<code class="php syntaxhl" data-language="php"><span class="cd">/**
* Renders the Google map.
* @param array $parentArray
* @param UserElement $pObj
* @return string
* @throws \InvalidArgumentException
* @throws \BadFunctionCallException
*/</span>
<span class="k">public</span> <span class="k">function</span> <span class="n">render</span><span class="p">(</span><span class="kt">array</span> <span class="nv">$parentArray</span><span class="p">,</span> <span class="kt">UserElement</span> <span class="nv">$pObj</span><span class="p">):</span><span class="kt">string</span>
<span class="p">{</span>
<span class="nv">$this</span><span class="o">-></span><span class="nf">init</span><span class="p">();</span>
<span class="nv">$this</span><span class="o">-></span><span class="n">pageRenderer</span><span class="o">-></span><span class="nf">addJsFile</span><span class="p">(</span><span class="s1">'EXT:extension_key/Resources/Public/Js/Maps.js'</span><span class="p">,</span> <span class="s1">'text/javascript'</span><span class="p">,</span> <span class="kc">true</span><span class="p">,</span> <span class="kc">true</span><span class="p">);</span>
<span class="nv">$this</span><span class="o">-></span><span class="n">pageRenderer</span><span class="o">-></span><span class="nf">addJsFile</span><span class="p">(</span><span class="s1">'https://maps.googleapis.com/maps/api/js?key='</span> <span class="mf">.</span> <span class="nv">$this</span><span class="o">-></span><span class="n">apiKey</span> <span class="mf">.</span> <span class="s1">'&callback=myMapTCA'</span><span class="p">,</span> <span class="s1">'text/javascript'</span><span class="p">,</span> <span class="kc">false</span><span class="p">,</span> <span class="kc">false</span><span class="p">,</span> <span class="s1">''</span><span class="p">,</span> <span class="kc">true</span><span class="p">);</span>
<span class="nc">DebuggerUtility</span><span class="o">::</span><span class="nb">var_dump</span><span class="p">(</span><span class="nv">$this</span><span class="o">-></span><span class="n">pageRenderer</span><span class="o">-></span><span class="nf">getCompressJavascript</span><span class="p">());</span>
<span class="k">return</span> <span class="nv">$this</span><span class="o">-></span><span class="nf">getMapHtml</span><span class="p">(</span><span class="nv">$this</span><span class="o">-></span><span class="nf">getConfiguration</span><span class="p">(</span><span class="nv">$parentArray</span><span class="p">));</span>
<span class="p">}</span>
</code></pre>
<p><img src="http://forge.typo3.org/attachments/download/33188/Error-200-OK.png" alt="" loading="lazy" /></p>