[BUGFIX] Pagetree: Copying large branches duplicates branch
authorSteffen Gebert <steffen.gebert@typo3.org>
Sat, 11 Feb 2012 15:52:03 +0000 (16:52 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 21 May 2012 21:05:55 +0000 (23:05 +0200)
commitd4da7991eeca06a1028ab701f3decce12f7ad61e
treefdee3e8c8c1eb6d9ba93632a0f62b9b0f7b66114
parent58c47308091665c32dd1b1c90d74d0077c5d0405
[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: I133566bf12c7511f7e8ef9cb9e6ff8683f07249c
Resolves: #26993
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/11336
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
t3lib/js/extjs/components/pagetree/javascript/actions.js
t3lib/js/extjs/components/pagetree/javascript/tree.js