|
楼主 |
发表于 2021-10-8 15:59:12
|
显示全部楼层
本帖最后由 yeyuanken 于 2021-10-9 09:50 编辑
有没有js接口可以判断附件是否存在物理磁盘的?好像如果物理磁盘不存在附件,调用这个接口会出会报错:
编码: JUSTEP300008; 提示: 请求文档服务失败:HTTP/1.1 400 Bad Request java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor1320.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.justep.system.action.Engine.invokeActions(Native Method) at com.justep.system.action.Engine.invokeActions(Unknown Source) at com.justep.business.server.BusinessServer.doAction(Unknown Source) at com.justep.business.server.BusinessServer.doExcute(Unknown Source) at com.justep.business.server.BusinessServer.excute(Unknown Source) at com.justep.business.server.BusinessServerServlet.execService(Unknown Source) at com.justep.business.server.BusinessServerServlet.service(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:723) at com.justep.x.bs.BusinessServerServlet.service(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:723) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:615) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:662) Caused by: com.justep.doc.exception.DocRTException: 编码: JUSTEP300008; 提示: 请求文档服务失败:HTTP/1.1 400 Bad Request at com.justep.doc.DocUtils.excutePostAction(DocUtils.java:190) at com.justep.doc.Docs.commitToServer(Docs.java:735) at com.justep.doc.Docs.deleteDoc(Docs.java:754) at com.justep.doc.DocHelper.deleteDoc(DocHelper.java:92) ... 30 more url:/UI/system/service/common/bizAction.j param:{"process":"/SA/doc/docCenter/docCenterProcess","activity":"mainActivity","actionFlag":"__action_0__","executor":"PSN01","executeContext":"","action":"deleteDocByIDAction","parameters":{"docID":"C69434EB19F00001F78710E0110014EA","versionID":"","isLogicDelete":false},"translateParameter":null} at (https://oa.server:8443/sks-oa/$v2880/base/base.js?language=zh_CN:1)31661 |
|