提交 d4fd4133 编写于 作者: J jbarrez

Fix for failing tests on Oracle

上级 a660877e
......@@ -209,6 +209,9 @@ public class DbRepositorySession implements Session, RepositorySession {
}
public ProcessDefinitionEntity findDeployedProcessDefinitionById(String processDefinitionId) {
if (processDefinitionId == null) {
throw new ActivitiException("Invalid process definition id : null");
}
ProcessDefinitionEntity processDefinition = (ProcessDefinitionEntity) dbSqlSession.selectOne("selectProcessDefinitionById", processDefinitionId);
if(processDefinition == null) {
throw new ActivitiException("no deployed process definition found with id '" + processDefinitionId + "'");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册