Skip to content

Commit

Permalink
SAK-40900 fix updatEntityReferences was modifying the source site
Browse files Browse the repository at this point in the history
  • Loading branch information
ottenhoff authored and Miguel Pellicer committed Nov 7, 2018
1 parent a3ee00a commit 395d304
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4322,7 +4322,7 @@ public String copySiteContent(
transversalMap.putAll(entityMap);
}

updateEntityReferences(toolId, sourcesiteid, transversalMap, site);
updateEntityReferences(toolId, destinationsiteid, transversalMap, site);
}
} catch (Exception e) {
log.error("WS copySiteContent(): " + e.getClass().getName() + " : " + e.getMessage(), e);
Expand Down Expand Up @@ -4382,7 +4382,7 @@ public String copySiteContentForTool(
transversalMap.putAll(entityMap);
}

updateEntityReferences(toolid, sourcesiteid, transversalMap, site);
updateEntityReferences(toolid, destinationsiteid, transversalMap, site);
}
catch (Exception e)
{
Expand Down

0 comments on commit 395d304

Please sign in to comment.