http://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692012-04-05T12:49:57ZTYPO3 ForgeTYPO3 Core - Bug #35714: inDocStyles_TBEstyle inserted twicehttp://forge.typo3.org/issues/35714?journal_id=1103302012-04-05T12:49:57ZGeorg Ringer
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Needs Feedback</i></li></ul><p>cant reproduce on master, can you remove for testing all used extensions=?</p> TYPO3 Core - Bug #35714: inDocStyles_TBEstyle inserted twicehttp://forge.typo3.org/issues/35714?journal_id=1103702012-04-05T20:43:26ZSimon Schaufelberger
<ul></ul><p>Use Typo3 4.5, login in the backend (showing the source of backend.php) and then you will see:</p>
<pre>
<style type="text/css">
/*<![CDATA[*/
<!--
/*inDocStyles*/
body#typo3-index-php #t3-login-form, body#typo3-index-php #t3-footer { margin-left: auto; margin-right: auto; }
body#typo3-index-php #t3-login-form, body#typo3-index-php #t3-footer { margin-left: auto; margin-right: auto; }
-->
/*]]>*/
</style>
</pre> TYPO3 Core - Bug #35714: inDocStyles_TBEstyle inserted twicehttp://forge.typo3.org/issues/35714?journal_id=1103872012-04-06T08:15:42ZGeorg Ringer
<ul><li><strong>Status</strong> changed from <i>Needs Feedback</i> to <i>Accepted</i></li></ul><p>also in 6.0 after being logged in, thx</p> TYPO3 Core - Bug #35714: inDocStyles_TBEstyle inserted twicehttp://forge.typo3.org/issues/35714?journal_id=1103882012-04-06T09:22:10ZGeorg Ringer
<ul></ul><p>problem is in template.php:</p>
<p>styles are added twice:</p>
<p>1st in function docstyle<br /><pre>
$this->pageRenderer->addCssInlineBlock('inDocStyles', $inDocStyles . LF . '/*###POSTCSSMARKER###*/');
</pre></p>
<p>and 2nd in function insertStylesAndJS<br /><pre>
$this->inDocStylesArray[] = $this->inDocStyles;
$styles = LF.implode(LF, $this->inDocStylesArray);
$content = str_replace('/*###POSTCSSMARKER###*/',$styles,$content);
</pre></p> TYPO3 Core - Bug #35714: inDocStyles_TBEstyle inserted twicehttp://forge.typo3.org/issues/35714?journal_id=1313652012-09-06T22:37:41ZSimon Schaufelberger
<ul></ul><p>@Georg: shall i make a patch or can you do that please? i don't know which one is better to remove. i guess you have more the view about possible side effects.</p> TYPO3 Core - Bug #35714: inDocStyles_TBEstyle inserted twicehttp://forge.typo3.org/issues/35714?journal_id=1392232012-11-05T12:06:37ZSimon Schaufelberger
<ul></ul><p>status?</p> TYPO3 Core - Bug #35714: inDocStyles_TBEstyle inserted twicehttp://forge.typo3.org/issues/35714?journal_id=2007002014-01-24T12:40:22ZNoel Bossartn.company@me.com
<ul></ul><p>Simon Schaufelberger wrote:</p>
<blockquote>
<p>status?</p>
</blockquote>
<p>Still present in latest 4.7</p> TYPO3 Core - Bug #35714: inDocStyles_TBEstyle inserted twicehttp://forge.typo3.org/issues/35714?journal_id=2014392014-01-30T14:55:01ZStefan Neufeindtypo3.neufeind@speedpartner.de
<ul><li><strong>Status</strong> changed from <i>Accepted</i> to <i>Closed</i></li><li><strong>Is Regression</strong> set to <i>No</i></li></ul><p>fixed with <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: DocumentTemplate class inserts inDocStyles twice (Closed)" href="http://forge.typo3.org/issues/55458">#55458</a> in master (to become 6.2). Backports to 6.1 and 4.5 under discussion. Not really a "priority fix" so won't land in 4.7/6.0, sorry.</p>