-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
7.8.0
-
None
The CMMN / DMN DB tables don't exists, when it is disabled in the application/configuration.
While undeploying a ProcessApplication the method DeploymentCache.removeDeployment() is called which removes definitions etc.This tries to access the not-existing tables and crashes with SQL errors.
-----------------------------------------------------
It seams that it works fine when adding a check like so:
DeploymentCache.java
(...) public void removeDeployment(String deploymentId) { bpmnModelInstanceCache.removeAllDefinitionsByDeploymentId(deploymentId); if(Context.getProcessEngineConfiguration().isCmmnEnabled()) { cmmnModelInstanceCache.removeAllDefinitionsByDeploymentId(deploymentId); } if(Context.getProcessEngineConfiguration().isDmnEnabled()) { dmnModelInstanceCache.removeAllDefinitionsByDeploymentId(deploymentId); removeAllDecisionRequirementsDefinitionsByDeploymentId(deploymentId); } } (...)