http://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692017-03-27T15:51:20ZTYPO3 ForgeTYPO3 Core - Bug #80481: FormEngine.Validation may access DOM too earlyhttp://forge.typo3.org/issues/80481?journal_id=3274932017-03-27T15:51:20ZGerrit Code Review
<ul><li><strong>Status</strong> changed from <i>Accepted</i> to <i>Under Review</i></li></ul><p>Patch set 1 for branch <strong>master</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/52180">https://review.typo3.org/52180</a></p> TYPO3 Core - Bug #80481: FormEngine.Validation may access DOM too earlyhttp://forge.typo3.org/issues/80481?journal_id=3275072017-03-27T16:36:32ZGerrit Code Review
<ul></ul><p>Patch set 2 for branch <strong>master</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/52180">https://review.typo3.org/52180</a></p> TYPO3 Core - Bug #80481: FormEngine.Validation may access DOM too earlyhttp://forge.typo3.org/issues/80481?journal_id=3275092017-03-27T16:41:08ZGerrit Code Review
<ul></ul><p>Patch set 3 for branch <strong>master</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/52180">https://review.typo3.org/52180</a></p> TYPO3 Core - Bug #80481: FormEngine.Validation may access DOM too earlyhttp://forge.typo3.org/issues/80481?journal_id=3275482017-03-27T20:16:24ZGerrit Code Review
<ul></ul><p>Patch set 4 for branch <strong>master</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/52180">https://review.typo3.org/52180</a></p> TYPO3 Core - Bug #80481: FormEngine.Validation may access DOM too earlyhttp://forge.typo3.org/issues/80481?journal_id=3276302017-03-28T11:33:24ZGerrit Code Review
<ul></ul><p>Patch set 1 for branch <strong>TYPO3_7-6</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/52208">https://review.typo3.org/52208</a></p> TYPO3 Core - Bug #80481: FormEngine.Validation may access DOM too earlyhttp://forge.typo3.org/issues/80481?journal_id=3276322017-03-28T11:35:23ZGerrit Code Review
<ul></ul><p>Patch set 2 for branch <strong>TYPO3_7-6</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/52208">https://review.typo3.org/52208</a></p> TYPO3 Core - Bug #80481: FormEngine.Validation may access DOM too earlyhttp://forge.typo3.org/issues/80481?journal_id=3276352017-03-28T11:35:36ZGerrit Code Review
<ul></ul><p>Patch set 5 for branch <strong>master</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/52180">https://review.typo3.org/52180</a></p> TYPO3 Core - Bug #80481: FormEngine.Validation may access DOM too earlyhttp://forge.typo3.org/issues/80481?journal_id=3276432017-03-28T12:05:54ZGerrit Code Review
<ul></ul><p>Patch set 3 for branch <strong>TYPO3_7-6</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/52208">https://review.typo3.org/52208</a></p> TYPO3 Core - Bug #80481: FormEngine.Validation may access DOM too earlyhttp://forge.typo3.org/issues/80481?journal_id=3278652017-03-29T11:10:17ZGerrit Code Review
<ul></ul><p>Patch set 6 for branch <strong>master</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/52180">https://review.typo3.org/52180</a></p> TYPO3 Core - Bug #80481: FormEngine.Validation may access DOM too earlyhttp://forge.typo3.org/issues/80481?journal_id=3279022017-03-29T13:30:13ZMarkus Kleinmarkus.klein@typo3.org
<ul><li><strong>Status</strong> changed from <i>Under Review</i> to <i>Resolved</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset <a class="changeset" title="[BUGFIX] JS: Fix FormEngine initialization The FormEngine initialization process needs to be ver..." href="http://forge.typo3.org/projects/typo3cms-core/repository/1749/revisions/976934a36c8efde01c31ed38cafec7340562e6f4">976934a36c8efde01c31ed38cafec7340562e6f4</a>.</p> TYPO3 Core - Bug #80481: FormEngine.Validation may access DOM too earlyhttp://forge.typo3.org/issues/80481?journal_id=3300352017-04-20T20:29:08ZJosé Ricardojose.ricardo@convergenceworks.com.br
<ul></ul><p>I'm still getting the problem on TYPO3 7.6.18. Anyone else?</p> TYPO3 Core - Bug #80481: FormEngine.Validation may access DOM too earlyhttp://forge.typo3.org/issues/80481?journal_id=3300472017-04-20T21:38:17ZMarkus Kleinmarkus.klein@typo3.org
<ul></ul><p>@josé: Can you please describe what error you see? What behaviour do you experience? Any log messages in console?</p> TYPO3 Core - Bug #80481: FormEngine.Validation may access DOM too earlyhttp://forge.typo3.org/issues/80481?journal_id=3300512017-04-20T22:09:04ZJosé Ricardojose.ricardo@convergenceworks.com.br
<ul></ul><p>No errors logged.<br />Here at my office we don't see the error (just got it once), but our costumer reports that often some news records (tx_news) are saved without title. They use Google Chrome + Windows (we recommended they to use Firefox by now to see if the error incidence goes down). The only thing logged in sys_log is this kind of message (no errors on any log):</p>
<pre>
Record '[Sem título]' (tx_news_domain_model_news:414408) was inserted on page 'Acervo de Notícias' (3) (msg#1.1.10)
</pre>
<p>'Sem título' means 'No title' in brazilian portuguese.<br />This is an inconsistent error, since we couldn't find at the moment any pattern involving it.<br />As the title is the only required field and the only field which is lost after saving, i'm starting believing it could be related.</p>
<p>This is happening on about 5~10% of the records inserted and to all users.</p> TYPO3 Core - Bug #80481: FormEngine.Validation may access DOM too earlyhttp://forge.typo3.org/issues/80481?journal_id=3300622017-04-20T22:34:27ZMarkus Kleinmarkus.klein@typo3.org
<ul></ul><p>Yes I can confirm this issue as well. I saw that myself too, but this is not a bug anymore in TYPO3, it's a matter of waiting long enough to let form initialize.<br />If you do not wait long enough and start typing too fast, then this can happen. I currently have no clue if this is fixable without blocking the user's view (like hiding everything) until all stuff is initialized properly.</p> TYPO3 Core - Bug #80481: FormEngine.Validation may access DOM too earlyhttp://forge.typo3.org/issues/80481?journal_id=3300652017-04-20T22:50:25ZRiccardo De Contardierredeco@gmail.com
<ul></ul><p>That happened to me while creating a BE usergroup: the required field was actually saved as "[No title]"</p>
<p>This should be related, right? <a class="issue tracker-1 status-5 priority-3 priority-lowest closed child" title="Bug: Saving problems in Chrome 57+ (Closed)" href="http://forge.typo3.org/issues/80672">#80672</a></p>
<p>See also <a class="issue tracker-1 status-5 priority-3 priority-lowest closed child" title="Bug: still issues with missing input in BE (Closed)" href="http://forge.typo3.org/issues/80632">#80632</a> <a class="issue tracker-1 status-5 priority-3 priority-lowest closed" title="Bug: FAL metadata has to save multiple times before it's go to the database (Closed)" href="http://forge.typo3.org/issues/80884">#80884</a></p> TYPO3 Core - Bug #80481: FormEngine.Validation may access DOM too earlyhttp://forge.typo3.org/issues/80481?journal_id=3300662017-04-20T22:58:34ZJosé Ricardojose.ricardo@convergenceworks.com.br
<ul></ul><p>I confirm that it's a problem related to speed of user input against the form initialization.</p>
<p>On Chrome i've changed throttling preset to GPRS, so I cloud simulate a very slow connection. Before the form completed I was able to save the news record without selecting Categories (which are required in my project) and the title was lost.</p>
<p>Shouldn't TYPO3 block saving or typing anything on the forms before it's fully loaded? As there's no server-side validation of required fields, this behaviour could lead to errors on the system if those exceptions (like not having a category) are not handled.</p> TYPO3 Core - Bug #80481: FormEngine.Validation may access DOM too earlyhttp://forge.typo3.org/issues/80481?journal_id=3300692017-04-20T23:16:53ZRiccardo De Contardierredeco@gmail.com
<ul></ul><p>Another possibly related: <a class="issue tracker-1 status-5 priority-3 priority-lowest closed child" title="Bug: Save Button must be disabled until formengine form is fully loaded (Closed)" href="http://forge.typo3.org/issues/77729">#77729</a></p> TYPO3 Core - Bug #80481: FormEngine.Validation may access DOM too earlyhttp://forge.typo3.org/issues/80481?journal_id=3300702017-04-20T23:18:20ZRiccardo De Contardierredeco@gmail.com
<ul><li><strong>Parent task</strong> set to <i>#69617</i></li></ul> TYPO3 Core - Bug #80481: FormEngine.Validation may access DOM too earlyhttp://forge.typo3.org/issues/80481?journal_id=3301512017-04-21T16:43:04ZChristian Hillebrandtypo3@webxass.de
<ul></ul><p>just came in this trouble and my browser (google chrome) is telling me the following:</p>
<pre>
Uncaught TypeError: FormEngineValidation.registerReady is not a function
index.php?route=%2Frecord%2Fedit&token=ab86687…&edit[tt_content][20…:155
at index.php?route=%2Frecord%2Fedit&token=ab86687…&edit[tt_content][20…:155
at Object.execCb (require-1604a50….js:1)
at t.check (require-1604a50….js:1)
at t.<anonymous> (require-1604a50….js:1)
at require-1604a50….js:1
at require-1604a50….js:1
at each (require-1604a50….js:1)
at t.emit (require-1604a50….js:1)
at t.check (require-1604a50….js:1)
at t.enable (require-1604a50….js:1)
</pre><br />and<br /><pre>
Uncaught TypeError: FormEngine.setBrowserUrl is not a function
index.php?route=%2Frecord%2Fedit&token=ab86687…&edit[tt_content][20…:149
at index.php?route=%2Frecord%2Fedit&token=ab86687…&edit[tt_content][20…:149
at Object.execCb (require-1604a50….js:1)
at t.check (require-1604a50….js:1)
at t.<anonymous> (require-1604a50….js:1)
at require-1604a50….js:1
at require-1604a50….js:1
at each (require-1604a50….js:1)
at t.emit (require-1604a50….js:1)
at t.check (require-1604a50….js:1)
at t.<anonymous> (require-1604a50….js:1)
</pre>
<p>when i check the script at this position, there is:<br /><pre><code class="javascript syntaxhl" data-language="javascript"><span class="cm">/*RequireJS-Module-TYPO3/CMS/Backend/FormEngined935ebd2ae27fe1f92ebe73abca953afd001513e*/</span>
<span class="nf">require</span><span class="p">([</span><span class="dl">"</span><span class="s2">TYPO3/CMS/Backend/FormEngine</span><span class="dl">"</span><span class="p">],</span> <span class="kd">function</span><span class="p">(</span><span class="nx">FormEngine</span><span class="p">)</span> <span class="p">{</span>
<span class="nx">FormEngine</span><span class="p">.</span><span class="nf">setBrowserUrl</span><span class="p">(</span><span class="dl">'</span><span class="se">\</span><span class="s1">/typo3</span><span class="se">\</span><span class="s1">/index.php?route=%2Fwizard%2Frecord%2Fbrowse</span><span class="se">\</span><span class="s1">u0026token=2836d0b1a12176fd49ebe29df35a23dc2679be42</span><span class="dl">'</span><span class="p">);</span>
<span class="p">});</span>
<span class="cm">/*RequireJS-Module-TYPO3/CMS/Backend/FormEngineValidationdfe861477e946addc2b2ba604b52bdb6630146a5*/</span>
<span class="nf">require</span><span class="p">([</span><span class="dl">"</span><span class="s2">TYPO3/CMS/Backend/FormEngineValidation</span><span class="dl">"</span><span class="p">],</span> <span class="kd">function</span><span class="p">(</span><span class="nx">FormEngineValidation</span><span class="p">)</span> <span class="p">{</span>
<span class="nx">FormEngineValidation</span><span class="p">.</span><span class="nf">setUsMode</span><span class="p">(</span><span class="mi">0</span><span class="p">);</span>
<span class="nx">FormEngineValidation</span><span class="p">.</span><span class="nf">registerReady</span><span class="p">();</span>
<span class="p">});</span>
</code></pre></p>
<p>While i am on the URL: <a class="external" href="https://..../typo3/index.php?route=%2Fmain&token=101e14d3018533802a55e2129cc0bc855c62e67e">https://..../typo3/index.php?route=%2Fmain&token=101e14d3018533802a55e2129cc0bc855c62e67e</a></p>
<p>does this maybe matter?</p>
<p>on firefox i get allmost the same ... just another set of token</p> TYPO3 Core - Bug #80481: FormEngine.Validation may access DOM too earlyhttp://forge.typo3.org/issues/80481?journal_id=3301542017-04-21T17:08:00ZMarkus Kleinmarkus.klein@typo3.org
<ul></ul><p>@Christian: Can you please flush your browser's cache! There is actually no other cause for your errors, because the missing functions have been added and are new. Since your browser does not know them, it is clear it uses old files.</p> TYPO3 Core - Bug #80481: FormEngine.Validation may access DOM too earlyhttp://forge.typo3.org/issues/80481?journal_id=3301562017-04-21T17:09:12ZMarkus Kleinmarkus.klein@typo3.org
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-3 priority-lowest closed child" href="/issues/80672">Bug #80672</a>: Saving problems in Chrome 57+</i> added</li></ul> TYPO3 Core - Bug #80481: FormEngine.Validation may access DOM too earlyhttp://forge.typo3.org/issues/80481?journal_id=3301582017-04-21T17:09:45ZMarkus Kleinmarkus.klein@typo3.org
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-3 priority-lowest closed child" href="/issues/80632">Bug #80632</a>: still issues with missing input in BE</i> added</li></ul> TYPO3 Core - Bug #80481: FormEngine.Validation may access DOM too earlyhttp://forge.typo3.org/issues/80481?journal_id=3301692017-04-21T17:18:44ZMarkus Kleinmarkus.klein@typo3.org
<ul></ul><p>Please continue in <a class="issue tracker-1 status-5 priority-3 priority-lowest closed child" title="Bug: Saving problems in Chrome 57+ (Closed)" href="http://forge.typo3.org/issues/80672">#80672</a>.</p> TYPO3 Core - Bug #80481: FormEngine.Validation may access DOM too earlyhttp://forge.typo3.org/issues/80481?journal_id=3301712017-04-21T17:46:28ZChristian Hillebrandtypo3@webxass.de
<ul></ul><p>i even installed an update in chrome ... so i restarted chrome multiple times ... it did not changed anything ... i wasn't able to see any form contents</p>
<p>now ... 30 minutes later it seems to work again ... without doing anything further :P</p> TYPO3 Core - Bug #80481: FormEngine.Validation may access DOM too earlyhttp://forge.typo3.org/issues/80481?journal_id=3301722017-04-21T17:50:29ZMarkus Kleinmarkus.klein@typo3.org
<ul></ul><p>Updating Chrome does not flush its caches ;-)</p> TYPO3 Core - Bug #80481: FormEngine.Validation may access DOM too earlyhttp://forge.typo3.org/issues/80481?journal_id=3301732017-04-21T18:06:00ZChristian Hillebrandtypo3@webxass.de
<ul></ul><p>i did not flush the cache manually at any time - but its working now for any reason ;)</p>
<p>and i used the developer tools with "disable cache" enabled</p> TYPO3 Core - Bug #80481: FormEngine.Validation may access DOM too earlyhttp://forge.typo3.org/issues/80481?journal_id=3350712017-06-13T15:57:40ZOliver Haderoliver.hader@typo3.org
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-3 priority-lowest closed" href="/issues/81520">Bug #81520</a>: form validation in backend not working onload</i> added</li></ul> TYPO3 Core - Bug #80481: FormEngine.Validation may access DOM too earlyhttp://forge.typo3.org/issues/80481?journal_id=3783392018-10-02T11:00:27ZBenni Mackbenni@typo3.org
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li></ul>