Browse Source

Merge remote-tracking branch 'origin/release/11.0' into release/11.0

# Conflicts:
#	designer-base/src/main/java/com/fr/design/utils/TemplateUtils.java
newui
John.Ying-应志浩 2 years ago
parent
commit
f184a46176
  1. 8
      designer-base/src/main/java/com/fr/design/worker/save/SaveFailureHandler.java

8
designer-base/src/main/java/com/fr/design/worker/save/SaveFailureHandler.java

@ -119,8 +119,8 @@ public class SaveFailureHandler implements ThrowableHandler {
new FileNodeFILE(new FileNode(template.getPath(), false)),
true,
true,
// 创建并打开备份模板后,关闭原模板,无需释放原模板锁(因为已经被超管手动清除了)
() -> HistoryTemplateListCache.getInstance().closeSelectedReport(template));
//另存之后需要关闭的模板
template);
}
}
}
@ -141,8 +141,8 @@ public class SaveFailureHandler implements ThrowableHandler {
new FileNodeFILE(new FileNode(template.getPath(), false)),
true,
true,
// 创建并打开备份模板后,关闭原模板,无需释放原模板锁(锁定信息不一致 = 此用户模板锁信息已被清除)
() -> HistoryTemplateListCache.getInstance().closeSelectedReport(template));
//另存之后需要关闭的模板
template);
}
}
}

Loading…
Cancel
Save