[BUGFIX] ExtJS connection timeout when mass publishing
authorHelmut Hummel <h.hummel@bitmotion.de>
Mon, 17 Dec 2012 13:49:53 +0000 (14:49 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Mon, 17 Dec 2012 14:01:20 +0000 (15:01 +0100)
When doing a mass publish in large installations
it can happen that the ExtJS Ajax request runs into
the 30 Seconds timeout limit which results in weird
error messages.

Increasing the ExJS timeout, like it has been done for
the pagetree copy operations solved the problem.

Fixes: #44055
Related: #26993
Releases: 6.1, 6.0, 4.7, 4.6, 4.5

Change-Id: I05d81635604a9ea983ab6ee272afde64cfa69526
Reviewed-on: https://review.typo3.org/17192
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
typo3/sysext/workspaces/Resources/Public/JavaScript/actions.js

index 08e37f0..ddbdac6 100644 (file)
@@ -75,6 +75,9 @@ TYPO3.Workspaces.Actions = {
                                break;
                }
 
+               // Publishing large amount of changes may require a longer timeout
+               Ext.Ajax.timeout = 3600000;
+
                this.runMassAction({
                        init: true,
                        total:0,