Girkarmishy 发表于 2019-5-28 17:06:11

流程应用创建表单出错

论坛管理员您好,我在创建第一个流程应用时,创建表单使用通用表单模板可保存,但创建第二个流程应用时,创建使用通用表单模板不可保存,提示出错
http://www.o2server.io:20020/x_file_assemble_control/jaxrs/file/8ffef2b0-6ebc-46ee-85d1-b943b95f0ca0/download/stream
后台错误记录如下:
Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: Unique index or primary key violation: "PRIMARY_KEY_E8 ON PUBLIC.PP_E_FORM(XID) VALUES ('e0426b19-e5c7-47f4-9cb9-2a5fddca5823', 14)"; SQL statement:
INSERT INTO PP_E_FORM (xid, xcreateTime, xscratchBoolean, xscratchDate, xscratchInteger, xscratchString, xsequence, xupdateTime, xdistributeFactor, xalias, xapplication, xdata, xdescription, xhasMobile, xicon, xlastUpdatePerson, xlastUpdateTime, xmobileData, xname) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) {prepstmnt 1137278064
INSERT INTO PP_E_FORM (xid, xcreateTime, xscratchBoolean, xscratchDate,
      xscratchInteger, xscratchString, xsequence, xupdateTime,
      xdistributeFactor, xalias, xapplication, xdata, xdescription,
      xhasMobile, xicon, xlastUpdatePerson, xlastUpdateTime,
      xmobileData, xname)
    VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
}
    at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:219)
    at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:195)
    at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$1000(LoggingConnectionDecorator.java:58)
    at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeUpdate(LoggingConnectionDecorator.java:1188)
    at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:308)
    at org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.executeUpdate(JDBCStoreManager.java:1856)
    at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.executeUpdate(PreparedStatementManagerImpl.java:271)
    at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushAndUpdate(PreparedStatementManagerImpl.java:121)
    ... 15 more

请求管理员解答疑问,感谢~

论坛管理员 发表于 2019-6-3 11:12:59

好恐怖的错误。
你新建一个空白表单,然后随便写点东西,或者拖拽点设计元素上去,然后保存。看看是否还报这个错误。http://www.o2oa.net:20020/x_file_assemble_control/jaxrs/file/80840b0b-11cf-4cbb-a934-07ddbadbd3e2/download/stream
页: [1]
查看完整版本: 流程应用创建表单出错