-
Bug
-
Resolution: Fixed
-
Major
-
2.8.1, 3.0.4, 3.1
-
MOODLE_28_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE
-
MOODLE_30_STABLE, MOODLE_31_STABLE
-
MDL-48756-master -
-
3.2 Sprint 1
Steps to reproduce:
- Go to http://qa.moodle.net/question/question.php?returnurl=%2Fquestion%2Fedit.php%3Fcourseid%3D3&courseid=3&id=37 in Firefox
- Log in as Manager
- Press F12 to open the developer tools
- Click the setting gear, and turn on Common preferences -> Enable persistent logs.
- Switch to the Network tab in the developer tools.
- Click Save changes in the form.
Expected result: the form saves immediately.
Acutal result:
- There are many post requests to autosave-ajax.php (presumably one for each HTML editor).
- These post requests happen sequentially, not in parallel.
- Only after the last one completes does the form submit.
(On my development server, each auto-save takes about 0.3s, so it adds up to an almost 4s delay in total, which is painful, which is why I started investigating.)
I have not been able to clearly reproduce this in Chrome, though I got a partial reproduction by changing the contents of one editor just before submitting the form. That triggered 4 autosave-ajax.php requests before the main POST.
I did notice that when you change the contents of one editor, when the auto-save kicks off, it does multiple Ajax requests in quick succession. That should also be looked at. Dan P also observerd various different weired behaviour on his Mac. (I am browers running under Win here.)
- has been marked as being related by
-
MDL-48049 Possible performance regression - atto autosave
- Closed
-
MDL-68744 ATTO autosave draft is not cleared when user Cancel forum post
- Closed
-
MDLQA-14730 A user can set the text direction in the Atto text editor
- Open
-
MDLQA-14731 CLONE - A user can set the text direction in the Atto text editor
- Passed
-
MDLQA-15408 CLONE - A user can set the text direction in the Atto text editor
- Passed
-
MDLQA-15997 CLONE - A user can set the text direction in the Atto text editor
- Passed
-
MDLQA-16638 CLONE - A user can set the text direction in the Atto text editor
- Passed
-
MDLQA-17254 CLONE - A user can set the text direction in the Atto text editor
- Passed
-
MDLQA-17840 CLONE - A user can set the text direction in the Atto text editor
- Passed
-
MDLQA-18344 CLONE - A user can set the text direction in the Atto text editor
- Passed
-
MDLQA-18835 CLONE - A user can set the text direction in the Atto text editor
- Passed
-
MDLQA-19298 CLONE - A user can set the text direction in the Atto text editor
- Passed