Browse Source

Pull request #4394: REPORT-51361 实际执行另存时才产生新的模板id

Merge in DESIGN/design from ~YAOH.WU/design:feature/10.0 to feature/10.0

* commit '84fc8a1cd314eb6fbedc2f98ce5ad681ffb1d770':
  REPORT-51361 实际执行另存时才产生新的模板id
feature/10.0
yaoh.wu 4 years ago
parent
commit
5ee22d8a80
  1. 3
      designer-base/src/main/java/com/fr/design/mainframe/JTemplate.java

3
designer-base/src/main/java/com/fr/design/mainframe/JTemplate.java

@ -1493,7 +1493,8 @@ public abstract class JTemplate<T extends BaseBook, U extends BaseUndoState<?>>
} }
//收集和生成templateID 因为是另存为操作 无论怎么样都需要重新生成templateID //收集和生成templateID 因为是另存为操作 无论怎么样都需要重新生成templateID
initForCollect(); // TODO Hades https://work.fineres.com/browse/REPORT-52936
// initForCollect();
FILE finalEditingFILE = editingFILE; FILE finalEditingFILE = editingFILE;
CallbackSaveWorker worker = new CallbackSaveWorker(new Callable<Boolean>() { CallbackSaveWorker worker = new CallbackSaveWorker(new Callable<Boolean>() {

Loading…
Cancel
Save