Skip to content
Snippets Groups Projects
Commit 5b732226 authored by Andras Mantia's avatar Andras Mantia
Browse files

Temporary workaround for data loss on copy/move bugs.

BUG: 281552
BUG: 279722
FIXED-IN: 4.7.2
(cherry picked from commit 9d1da940)
parent 15a5d5da
No related branches found
No related tags found
No related merge requests found
......@@ -137,6 +137,12 @@ KJob* PasteHelper::pasteUriList( const QMimeData* mimeData, const Collection &de
}
TransactionSequence *transaction = new TransactionSequence( session );
//FIXME: The below code disables transactions in otder to avoid data loss due to nested
//transactions (copy and colcopy in the server doesn't see the items retrieved into the cache and copies empty payloads).
//Remove once this is fixed properly, see the other FIXME comments.
transaction->setProperty( "transactionsDisabled", true );
switch ( action ) {
case Qt::CopyAction:
if ( !items.isEmpty() )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment