[BUGFIX] Pagetree: Copying large branches duplicates branch
authorSteffen Gebert <steffen.gebert@typo3.org>
Sat, 11 Feb 2012 15:52:03 +0000 (16:52 +0100)
committerSusanne Moog <typo3@susannemoog.de>
Sun, 20 May 2012 13:29:44 +0000 (15:29 +0200)
commitc35860c62319be89d695c34abf8786b55aa51fbe
tree45180602658b530176f563a7041af00c04969819
parent6ac92cc195a23ac1d4debbf157008654ef373a55
[BUGFIX] Pagetree: Copying large branches duplicates branch

Copying large branches (500+ pages, depending on the server) has a big
problem: The AJAX request is answered too late (after Ext.Direct
timeout), so Ext.Direct will resend the request. This will copy the
branch once again. So the copied branch appears twice after copying.

The whole process fails with a connection timeout error message and the
user has to reload the page tree.

Change-Id: If0307586ec3196c3c3dedde92cfb6aee07bc9064
Resolves: #26993
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/8981
Reviewed-by: Stefan Neufeind
Reviewed-by: Stefan Galinski
Reviewed-by: Philipp Gampe
Tested-by: Stefan Galinski
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
t3lib/js/extjs/components/pagetree/javascript/actions.js
t3lib/js/extjs/components/pagetree/javascript/tree.js