Last modified: 2014-03-01 00:12:19 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T59898, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57898 - VisualEditor:The Save page seems to continue for indefinite amount of time for a specific case
VisualEditor:The Save page seems to continue for indefinite amount of time fo...
Status: NEW
Product: VisualEditor
Classification: Unclassified
Editing Tools (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-02 23:19 UTC by Rummana Yasmeen
Modified: 2014-03-01 00:12 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Screenshot of the error (228.92 KB, image/png)
2013-12-02 23:19 UTC, Rummana Yasmeen
Details

Description Rummana Yasmeen 2013-12-02 23:19:56 UTC
Created attachment 13964 [details]
Screenshot of the error

Steps to reproduce:

1.Click on the Edit button
2.Type something on the first line
3.Place the cursor at the beginning of the line and insert a template "Bronze Age"
4.Save the page
5.Reopen the editor
6.Click on More>Reference and add a reference
7.Type something on the CE
8.Click on Save Page

Observed Result:
The Save page loader continues for indefinite amount of time.
The following errors are found in the developers tool:

Uncaught TypeError: Cannot call method 'apply' of undefined load.php:2
Uncaught Error: Unbalanced input passed to document load.php:109
Uncaught TypeError: Cannot read property 'keyedNodes' of undefined load.php:201
Comment 1 Rummana Yasmeen 2013-12-02 23:20:54 UTC
Test Environment: production
Browser: Chrome Version 26.0.1410.65 &       FF 25
OS: MAC OS X 10. 8. 5 
Example Page:https://en.wikipedia.org/wiki/User:RYasmeen_%28WMF%29/infinite_save?veaction=edit
Comment 2 Rummana Yasmeen 2013-12-03 00:06:19 UTC
This issue can be reproduced with images too instead of template.
Comment 3 Rummana Yasmeen 2013-12-03 00:07:42 UTC
Another way to reproduce it:
After step 5 just click on "Delete" and click the button "Save".

The following error appear this time:


Uncaught Error: Unbalanced set of replace operations found load.php:65
Uncaught Error: Unbalanced data: looking for closing /mwBlockImage load.php:146
Comment 4 James Forrester 2013-12-03 22:42:35 UTC
I can't reproduce now - perhaps due to fixing bug 57654?
Comment 5 Rummana Yasmeen 2013-12-03 22:56:28 UTC
Now The Save Page button does not work after the following steps:
1.Click on the Edit button
2.Type something on the first line
3.Place the cursor at the beginning of the line and insert an image 
4.Save the page
5.Reopen the editor
6.Press Delete twice
7.Type something 
8.Click the button "save page"

Following error appears:
Uncaught Error: Unbalanced data: looking for closing /mwBlockImage load.php:150

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links