Browse Source

REPORT-79909 设计器启动失败,有模板名称叫WorkBook88888888888888.cpt导致

newui
Destiny.Lin 2 years ago
parent
commit
c871018ac6
  1. 2
      designer-base/src/main/java/com/fr/design/mainframe/JTemplateNameHelper.java

2
designer-base/src/main/java/com/fr/design/mainframe/JTemplateNameHelper.java

@ -79,7 +79,7 @@ public class JTemplateNameHelper {
} }
} }
String s = new String(chars).substring(0, i - prefix.length()); String s = new String(chars).substring(0, i - prefix.length());
BigInteger integer = new BigInteger(s,10); BigInteger integer = new BigInteger(s, 10);
if (StringUtils.isBlank(s)) { if (StringUtils.isBlank(s)) {
return null; return null;
} }

Loading…
Cancel
Save