Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7487,6 +7487,7 @@ public void updateEntityReferences(String toContext, Map<String, String> travers
ContentResource oldSiteContentResource = getResource(oldReference);
byte[] thisResourceContentRaw = oldSiteContentResource.getContent();
rContent = new String(thisResourceContentRaw);
StringBuffer saveOldEntity = new StringBuffer(rContent);
for (String oldValue : traversalMap.keySet()) {
if (!oldValue.equals("/fromContext")){
String newValue = "";
Expand All @@ -7501,7 +7502,6 @@ public void updateEntityReferences(String toContext, Map<String, String> travers
} catch (Exception e) {
log.debug ("Forums LinkMigrationHelper.editLinks failed: {}" + e.toString());
}
StringBuffer saveOldEntity = new StringBuffer(rContent);
try {
if(!saveOldEntity.toString().equals(rContent)){
ContentResourceEdit edit = editResource(tId);
Expand Down
Loading