Skip to content

Commit

Permalink
Merge branch 'develop' into KDESKTOP-1490-The-synchronisation-is-not-…
Browse files Browse the repository at this point in the history
…restarting-after-a-data-error
  • Loading branch information
herve-er authored Jan 16, 2025
2 parents f0b171e + 8d7f687 commit f950ebd
Show file tree
Hide file tree
Showing 16 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libsyncengine/propagation/executor/executorworker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2183,11 +2183,11 @@ ExitInfo ExecutorWorker::propagateEditToDbAndTree(SyncOpPtr syncOp, const NodeId
if (!syncOp->omit()) {
// ID might have changed in the case of a delete+create
if (!_syncPal->updateTree(syncOp->targetSide())
->updateNodeId(syncOp->affectedNode(), syncOp->targetSide() == ReplicaSide::Local ? localId : remoteId)) {
->updateNodeId(syncOp->correspondingNode(),
syncOp->targetSide() == ReplicaSide::Local ? localId : remoteId)) {
LOG_SYNCPAL_WARN(_logger, "Error in UpdateTreeWorker::updateNodeId");
return ExitCode::DataError;
}

syncOp->correspondingNode()->setLastModified(newLastModTime);
}
node = syncOp->correspondingNode();
Expand Down

0 comments on commit f950ebd

Please sign in to comment.