TYPO3 Forge: Issueshttp://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692020-02-11T14:33:24ZTYPO3 Forge
Redmine TYPO3 Core - Bug #90356 (Closed): options.pageTree.excludeDoktypes doesn't work with multiple itemshttp://forge.typo3.org/issues/903562020-02-11T14:33:24ZMarieke de Bruinmariekesdebruin@gmail.com
<p>Here <a class="external" href="https://forge.typo3.org/issues/87581">https://forge.typo3.org/issues/87581</a> the option is reintroduced in CMS9 but it isn't working like before</p>
<p>When you add multiple items it's only working for the last one</p>
<p>How to reproduce:<br />- make sure you have a 254 (folder) and 199 (menu separator) page in your pagetree<br />- add a backend usergroup with the following TSconfig: options.pageTree.excludeDoktypes = 254,199<br />- add the group to the current user<br />- refresh the pagetree, you will see only the menu separator is not shown in the pageTree but the folder is</p>
<p>I think the problem is here <a class="external" href="https://github.com/TYPO3-CMS/backend/blob/master/Classes/Tree/Repository/PageTreeRepository.php#L171">https://github.com/TYPO3-CMS/backend/blob/master/Classes/Tree/Repository/PageTreeRepository.php#L171</a><br />There is an array with two TYPO3\CMS\Core\Database\Query\Restriction\DocumentTypeExclusionRestriction but only the last one is added because they have the same type</p>
<p>I use TYPO3 version 9.5.13</p> TYPO3 Core - Bug #85726 (Closed): Preview of page not working when publish date is sethttp://forge.typo3.org/issues/857262018-08-02T12:01:54ZMarieke de Bruinmariekesdebruin@gmail.com
<p>It's not possible to preview a page if the publish date is set in the future.<br />You will get a 404 page with a message like this<br /><pre><code class="html syntaxhl" data-language="html">The CMS isn't able to fetch the requested page /index.php?id=1<span class="err">&</span>ADMCMD_simTime=1533393060 at this moment.
</code></pre></p>
<p>This is both for editors and admins.</p>
<p><strong>Way to reproduce</strong><br />Create a page and set a pubish date in the future. Press save and view page.</p>
<p><strong>Environment</strong><br />TYPO3 8.7.18</p> TYPO3 Core - Bug #81548 (Closed): TCA empty input with renderType => inputDateTime with dbType =>...http://forge.typo3.org/issues/815482017-06-12T11:51:09ZMarieke de Bruinmariekesdebruin@gmail.com
<p>When I save a not filled (empty) date, I get the following error in CMS 8.7<br /><pre><code class="html syntaxhl" data-language="html">1: These fields of record 1 in table "tx_my_ext" have not been saved correctly: birthdate! The values might have changed due to type casting of the database.
</code></pre></p>
<p>I have an extension with the following TCA<br /><pre><code class="php syntaxhl" data-language="php"> <span class="s1">'birthdate'</span> <span class="o">=></span> <span class="p">[</span>
<span class="s1">'exclude'</span> <span class="o">=></span> <span class="mi">1</span><span class="p">,</span>
<span class="s1">'label'</span> <span class="o">=></span> <span class="nv">$labelReferencePrefix</span> <span class="mf">.</span> <span class="s1">'tx_my_ext.birthdate'</span><span class="p">,</span>
<span class="s1">'config'</span> <span class="o">=></span> <span class="p">[</span>
<span class="s1">'renderType'</span> <span class="o">=></span> <span class="s1">'inputDateTime'</span><span class="p">,</span>
<span class="s1">'dbType'</span> <span class="o">=></span> <span class="s1">'date'</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">7</span><span class="p">,</span>
<span class="s1">'eval'</span> <span class="o">=></span> <span class="s1">'date'</span><span class="p">,</span>
<span class="s1">'checkbox'</span> <span class="o">=></span> <span class="mi">0</span><span class="p">,</span>
<span class="s1">'default'</span> <span class="o">=></span> <span class="s1">'0000-00-00'</span>
<span class="p">],</span>
<span class="p">],</span>
</code></pre></p>
<p>and the following sql declaration in the ext_tables.sql</p>
<pre><code class="sql syntaxhl" data-language="sql"><span class="n">birthdate</span> <span class="nb">date</span> <span class="k">DEFAULT</span> <span class="s1">'0000-00-00'</span><span class="p">,</span>
</code></pre>
<p>When I change the table to <code>varchar</code>, the date is saved as <code>0</code> while empty</p>
<p>I think the problem is in the <code>'eval' => 'date'</code> according to the documentation<br /><pre><code class="html syntaxhl" data-language="html">The field will evaluate the input as a date, automatically converting the input to a UNIX-time in seconds.
</code></pre><br />But this is only a problem when the value is empty, when it's filled there is no problem.<br />I can't remove the eval because this is required when you set <code>'renderType' => 'inputDateTime'</code></p> TYPO3 Core - Bug #66401 (Closed): span.allowedAttribs not taken into accounthttp://forge.typo3.org/issues/664012015-04-13T16:46:53ZMarieke de Bruinmariekesdebruin@gmail.com
<p>Own defined attibutes are not working in a <span> tag although they are configured in 'span.allowedAttribs' in pageTSConfig</p>
<p>It lookes like that only the attributes that are defined here:https://forge.typo3.org/projects/typo3cms-core/repository/revisions/master/entry/typo3/sysext/core/Classes/Html/RteHtmlParser.php#L1196 are taken into account and the span.allowedAttribs in pageTSConfig is not taken into account.</p> TYPO3 Core - Bug #55105 (Closed): Types missing when including backend layout as a filehttp://forge.typo3.org/issues/551052014-01-17T13:56:23ZMarieke de Bruinmariekesdebruin@gmail.com
<p>When I include the backend layout as a file like: <INCLUDE_TYPOSCRIPT: source=”FILE:fileadmin/layout.ts”></p>
<p>In the backend the dropdown box for type (tt_content:CType) gives an error <code>[INVALID VALUE("text")]</code> off course text could be all CTypes.</p>
<p><img src="http://forge.typo3.org/attachments/download/25822/invalid_value.jpg" alt="" loading="lazy" /></p>