TYPO3 Forge: Issueshttp://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692015-09-10T14:40:59ZTYPO3 Forge
Redmine TYPO3 Core - Bug #69648 (Closed): Built-in css minification destroys certain CSS constructshttp://forge.typo3.org/issues/696482015-09-10T14:40:59ZJost Baronjost.baron@gmx.de
<p>Example:</p>
<pre><code>top: calc(100% + 5px);</code></pre>
<p>is compressed to</p>
<pre><code>top:calc(100%+5px);</code></pre>
<p>The latter on is invalid and thus ignored by browsers. From <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/calc" class="external">here</a> :</p>
<blockquote>
<p>Note: The + and - operators must always be surrounded by whitespace.<br />The operand of calc(50% -8px) for instance will be parsed as a percentage<br />followed by a negative length, an invalid expression, while the operand<br />of calc(50% - 8px) is a percentage followed by a minus sign and a length.<br />Even further, calc(8px + -50%) is treated as a length followed by a plus<br />sign and a negative percentage. The * and / operators do not require<br />whitespace, but adding it for consistency is allowed, and recommended.</p>
</blockquote> TYPO3 Core - Bug #65219 (Closed): Property-Mapping: ObjectStorageConverter fails if a child objec...http://forge.typo3.org/issues/652192015-02-22T17:21:36ZJost Baronjost.baron@gmx.de
<p>Hi!</p>
<p>A TypeConverter may return NULL, if the property it is asked to convert should not be converted. From the API documentation:</p>
<pre>
Actually convert from $source to $targetType, taking into account the fully built $convertedChildProperties and $configuration.
The return value can be one of three types:
* an arbitrary object, or a simple type (which has been created while mapping). This is the normal case.
* NULL, indicating that this object should not be mapped (i.e. a "File Upload" Converter could return NULL if no file has been uploaded, and a silent failure should occur.
* An instance of – This will be a user-visible error message later on. Furthermore, it should throw an Exception if an unexpected failure (like a security error) occurred or a configuration issue happened.
</pre>
<p>However, if a TypeConverter returns NULL, and it converted an object which is to be placed into an ObjectStorage, this Exception is thrown:</p>
<pre>
#1297759968: Exception while property mapping at property path "images":PHP Warning: spl_object_hash() expects parameter 1 to be object, null given in /home/jost/Projekte/Mein-Bauernhof/t3cores/typo3_src-6.2.10rc1/typo3/sysext/extbase/Classes/Persistence/ObjectStorage.php line 147
</pre>
<p>This is caused by the <code>attach()</code>-method of an object storage, which can not handle <code>NULL</code> values.</p>
<p>I'm not sure how to fix this. I see two ways: Making sure that <code>NULL</code>-values are already filtered out of the <code>$convertedChildProperties</code> parameter for TypeConverters, or adding a check for <code>NULL</code> in the ObjectStorageTypeConverter.</p> TYPO3 Core - Bug #64437 (Closed): Pages with type "external link" don't redirect if requested via...http://forge.typo3.org/issues/644372015-01-22T17:13:25ZJost Baronjost.baron@gmx.de
<p>On one of my sites, the URL <code>/support.html</code> should redirect to an external URL.</p>
<p>This works fine when the URL is manually entered or clicked in a menu.</p>
<p>However, when the same URL is opened from a google search result, it no redirect occurs. Instead, the page is shown as if it was a normal page.</p>
<p>I've logged the HTTP headers for both requests (also attached as screenshots), and there seems to be little difference:</p>
<pre><code>1. The "bad" request has two additional headers: <code>referer</code> and <code>max-age</code>.<br /> 2. For the "bad" request, cache control headers are added, these are not returned for the "good" request.</code></pre>
<p>I can't find the logic where the redirecting between the page types is done in the core. If someone points me to the place, I'll take a look.</p> TYPO3 Core - Bug #60650 (Closed): ConfigurationManager::getConfigurationValueByPath ignores Addit...http://forge.typo3.org/issues/606502014-07-29T01:11:19ZJost Baronjost.baron@gmx.de
<p>Judging by the uses in the core, it should query the final <code>$GLOBALS['TYPO3_CONF_VARS']</code>-array.</p> TYPO3 Core - Bug #60443 (Closed): Extensionmanager offers to turn off dependency checks even if d...http://forge.typo3.org/issues/604432014-07-21T23:07:35ZJost Baronjost.baron@gmx.de
<p>I've written an extension that requires EXT:vhs. So in my ext_emconf.php I put this:</p>
<pre>
'constraints' => array(
'depends' => array(
'php' => '5.3.7',
'typo3' => '6.2.4-6.2.999',
'cms' => '',
'fluidcontent' => '4.0.0',
'vhs' => '1.9.1',
'flux' => '7.0.0',
),
'conflicts' => array(
),
'suggests' => array(
),
),
</pre>
<p>When trying to install my extension, I get this message:</p>
<pre>
Required extension "vhs":
* The extension vhs is needed in version 1.9.1 - , but could not be fetched from TER
</pre>
<p>The problem is, that EXT:vhs is already installed and running, and its version is 1.9.1.</p>
<p>I could work around the problem in two ways:</p>
<ol>
<li>Remove the version from the vhs dependency, so it ready <code>'vhs' => ''</code></li>
<li>Uninstall vhs, but not delete it. Haven't tried to delete it.</li>
</ol>
<p>Happens in TYPO3 6.2.4, with PHP 5.3.27.</p> TYPO3 Core - Bug #60294 (Closed): If a local file storage is outside the document root, images ar...http://forge.typo3.org/issues/602942014-07-13T23:32:39ZJost Baronjost.baron@gmx.de
<p>This possibility was introduced with this patcheset: <a class="external" href="https://review.typo3.org/#/c/27760/">https://review.typo3.org/#/c/27760/</a></p>
<p>If there are many (5-10) images on a page, some of them are not shown. Maybe it is a concurrency-issue, it happens with apache and mod_php.</p> TYPO3 Core - Bug #59708 (Closed): TCA/Override-Feature makes it impossible to modify table of ext...http://forge.typo3.org/issues/597082014-06-20T14:05:21ZJost Baronjost.baron@gmx.de
<p>When there are two extensions, where the first one describes a table in<br /><code>ext_tables.php</code>, and the second one depends on the first extension and<br />modifies the table of the first extension, but does so in<br /><code>Configuration/TCA/Overrides</code>, the changes of the second extension are ignored.</p>
<p>An example where this situation occurs is when using <code>direct_mail</code>, 4.0.0, with addresses<br />stored in <code>tt_address</code>, 2.3.4. The table <code>tt_address</code> is defined in <code>ext_tables.php</code>,<br />but <code>direct_mail</code> adds some fields in <code>TCA/Overrides</code>, so the the changes from <code>direct_mail</code><br />are lost.</p> TYPO3 Core - Bug #59397 (Closed): Extbase FrontendUser does not work with the TCA caching feature...http://forge.typo3.org/issues/593972014-06-06T22:27:52ZJost Baronjost.baron@gmx.de
<p>I use the following code to add a field to the <code>fe_users</code> table:</p>
<code class="php syntaxhl" data-language="php"> <span class="nv">$newColumns</span> <span class="o">=</span> <span class="k">array</span><span class="p">(</span>
<span class="s1">'ratings'</span> <span class="o">=></span> <span class="k">array</span><span class="p">(</span>
<span class="s1">'label'</span> <span class="o">=></span> <span class="nv">$lll</span> <span class="mf">.</span> <span class="s1">'somelabel'</span><span class="p">,</span>
<span class="s1">'config'</span> <span class="o">=></span> <span class="k">array</span><span class="p">(</span>
<span class="s1">'readOnly'</span> <span class="o">=></span> <span class="s1">'1'</span><span class="p">,</span>
<span class="s1">'type'</span> <span class="o">=></span> <span class="s1">'select'</span><span class="p">,</span>
<span class="s1">'foreign_table'</span> <span class="o">=></span> <span class="s1">'mytable'</span><span class="p">,</span>
<span class="s1">'foreign_field'</span> <span class="o">=></span> <span class="s1">'somefield'</span><span class="p">,</span>
<span class="s1">'maxitems'</span> <span class="o">=></span> <span class="s1">'1000000'</span><span class="p">,</span>
<span class="s1">'minitems'</span> <span class="o">=></span> <span class="s1">'0'</span><span class="p">,</span>
<span class="s1">'autoSizeMax'</span> <span class="o">=></span> <span class="s1">'20'</span><span class="p">,</span>
<span class="p">),</span>
<span class="p">),</span>
<span class="p">);</span>
<span class="nc">ExtensionManagementUtility</span><span class="o">::</span><span class="nf">addTCAcolumns</span><span class="p">(</span><span class="s1">'fe_users'</span><span class="p">,</span> <span class="nv">$newColumns</span><span class="p">);</span>
<span class="c1">// Add types to the TCA</span>
<span class="nv">$recordType</span> <span class="o">=</span> <span class="s1">'MyRecordType'</span><span class="p">;</span>
<span class="nv">$GLOBALS</span><span class="p">[</span><span class="s1">'TCA'</span><span class="p">][</span><span class="s1">'fe_users'</span><span class="p">][</span><span class="s1">'types'</span><span class="p">][</span><span class="nv">$recordType</span><span class="p">]</span> <span class="o">=</span> <span class="nv">$GLOBALS</span><span class="p">[</span><span class="s1">'TCA'</span><span class="p">][</span><span class="s1">'fe_users'</span><span class="p">][</span><span class="s1">'types'</span><span class="p">][</span><span class="s1">'0'</span><span class="p">];</span>
<span class="nv">$GLOBALS</span><span class="p">[</span><span class="s1">'TCA'</span><span class="p">][</span><span class="s1">'fe_users'</span><span class="p">][</span><span class="s1">'columns'</span><span class="p">][</span><span class="s1">'tx_extbase_type'</span><span class="p">][</span><span class="s1">'config'</span><span class="p">][</span><span class="s1">'items'</span><span class="p">][]</span> <span class="o">=</span> <span class="k">array</span><span class="p">(</span>
<span class="nv">$lll</span> <span class="mf">.</span> <span class="s1">'anotherlabel'</span><span class="p">,</span>
<span class="nv">$recordType</span>
<span class="p">);</span>
<span class="nc">ExtensionManagementUtility</span><span class="o">::</span><span class="nf">addToAllTCAtypes</span><span class="p">(</span><span class="s1">'fe_users'</span><span class="p">,</span> <span class="s1">'ratings'</span><span class="p">,</span> <span class="nv">$recordType</span><span class="p">,</span> <span class="s1">'after:tx_extbase_type'</span><span class="p">);</span>
</code>
<p>This does work if used in <code>ext_tables.php</code>, but not if used in <code>Configuration/TCA/Overrides</code>. In the latter case, it seems that the <code>ext_tables.php</code> from Extbase is executed later and overwrites my changes (especially the <code>types</code> part).</p>
<p>Regards Jost</p> TYPO3 Core - Bug #58260 (Closed): Installtool-Check "checkMaximumFileUploadSize" doesn't look at ...http://forge.typo3.org/issues/582602014-04-27T15:45:48ZJost Baronjost.baron@gmx.de
<p>If the php-setting <code>upload_max_filesize</code> is less than 10MB (10 * 1024 * 1024), the following message appears:</p>
<pre>
PHP Maximum upload filesize too small
upload_max_filesize=8M
By default TYPO3 supports uploading, copying and moving files of sizes up to 10MB (you can alter
the TYPO3 defaults with the config option TYPO3_CONF_VARS[BE][maxFileSize]). Your current PHP
value is below this, so right now, PHP determines the limits for uploaded filesizes and not TYPO3. It is
recommended that the value of upload_max_filesize is at least equal to the value of
TYPO3_CONF_VARS[BE][maxFileSize]
</pre>
<p>This message suggests that the maxFileSize is relevant here, but in fact it does not influence if the message appears, only the <code>upload_max_filesize</code> is relevant.</p>
<p>Solution: Either modify the message, or change the check.</p> TYPO3 Core - Bug #58169 (Closed): Can't add Flash parameters when using content element "media"http://forge.typo3.org/issues/581692014-04-25T00:12:44ZJost Baronjost.baron@gmx.de
<p>When using flash parameters in a media-element, the followign exception is thrown:<br /><pre>
#1: PHP Warning: Illegal string offset 'el' in .../typo3_src-6.2.1/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 1179
</pre></p>
<p>Steps to reproduce:</p>
<p>1. Use css_styled_content to render content elements.<br />2. Insert a "media" content element, select some video.<br />3. Add a "Media Parameter".<br />4. Try to view the video in the frontend.</p> TYPO3 Core - Bug #57200 (Closed): Update-Icon not shown for manually uploaded extensionshttp://forge.typo3.org/issues/572002014-03-23T12:03:10ZJost Baronjost.baron@gmx.de
<p>After uploading an extension manually, the extension manager does not show the option to update it, even if there is a newer version available in TER, and that version is compatible to the current environment. This happens on current master (2144d4c6e0f997f824e9dc41eb3eafb2b48a180d).</p>
<p>Steps to reproduce:</p>
<p>1. Install TYPO3 with current master<br />2. Download EXT:news in an older version: <a class="external" href="https://typo3.org/extensions/repository/download/news/2.2.1/t3x/">https://typo3.org/extensions/repository/download/news/2.2.1/t3x/</a> and install it using the upload form in the extension manager<br />3. Update the Extension list from TER, if not already done<br />4. The update icon is not there for EXT:news. It does not matter if the extension list is updated again or not.</p>
<p>This could be security-related, since hides available extension updates. This gets even more problematic with the release of 6.2, since many extensions are not officially compatible, but work with it. To install them, the manual upload functionality of the extension manager is the most easy way.</p> TYPO3 Core - Bug #56701 (Closed): Static template of css_styled_content can no longer be included...http://forge.typo3.org/issues/567012014-03-10T02:15:05ZJost Baronjost.baron@gmx.de
<p>If it is included using an <INCLUDE> directive, certain other TS (Plugin rendering definitions) is not included. The problematic commit is<br />3ce53655a3739dadd732556e1902e7686ef59260 (<a class="external" href="https://review.typo3.org/#/c/27587/">https://review.typo3.org/#/c/27587/</a>).</p>
<p>Steps to reproduce:</p>
<p>1. Create a new TYPO3 installation using the current master branch.<br />2. Install the development branch of EXT:flux (<a class="external" href="https://github.com/FluidTYPO3/flux">https://github.com/FluidTYPO3/flux</a>)<br />3. Install the development branch of EXT:fluidcontent (<a class="external" href="https://github.com/FluidTYPO3/fluidcontent">https://github.com/FluidTYPO3/fluidcontent</a>)</p>
<p>Create a new root page with the following root template:</p>
<p>Constants:<br /><pre><INCLUDE_TYPOSCRIPT: source="FILE:EXT:css_styled_content/static/constants.txt"></pre></p>
<p>Setup:<br /><pre><INCLUDE_TYPOSCRIPT: source="FILE:EXT:css_styled_content/static/setup.txt">
page = PAGE
page.10 < styles.content.get</pre></p>
<p>4. Check out commit 3ce53655a3739dadd732556e1902e7686ef59260 of the TYPO3 core and view the full Typoscript Template in the Analyzer. There is no object <code>tt_content.fluidcontent_content</code> being defined.<br />5. When using the previous commit 85d88e4f9d0efe4443bace89ce98c585255cacfd, <code>tt_content.fluidcontent_content</code> is defined correctly.</p> TYPO3 Core - Bug #56350 (Closed): Can't select text in the "all configuration" area of the new in...http://forge.typo3.org/issues/563502014-02-26T17:25:53ZJost Baronjost.baron@gmx.de
<p>When selecting text in one of the accordions using the mouse, it is only selected as long as the mouse button is pressed. As soon as it is released, the text gets deselected because the input field gets focus.</p>
<p>This is a problem because it is not what is expected, and because sometimes one might want to C&P text from there.</p>
<p>Used browser: FF 27.0.1</p> TYPO3 Core - Bug #56221 (Closed): Can't remove static templates from selection in template modulehttp://forge.typo3.org/issues/562212014-02-23T15:59:23ZJost Baronjost.baron@gmx.de
<p>After including a static template to a template using the template module, it cannot be removed afterwards. Clicking the "remove" button produces this JS error (in FF 27.0.1):</p>
<pre>
ReferenceError: formEl is not defined
var formObj = formEl.get();
FormEngine.js (line 178)
</pre>
<p>TYPO3-Version is current master (945911006229524d55cb48f1f7de0898be9a7b7f).</p> TYPO3 Core - Bug #54501 (Closed): Column names are not correctly displayed in the list modulehttp://forge.typo3.org/issues/545012013-12-18T22:45:55ZJost Baronjost.baron@gmx.de
<p>If there are multiple columns defined via a backend layout, and all these columns are filled on a page, the list module shows only the name of the first column. For the other columns only the column number is shown.</p>
<p>A screenshot is appended.</p>