-
Type:
Task
-
Resolution: Done
-
Priority:
L3 - Default
-
None
-
Affects Version/s: 7.12.0
-
Component/s: engine
-
None
Given:
- A Process Engine with DMN/CMMN disabled;
- The Camunda Cockpit webapp.
When:
The appropriate Cockpit dashboard is used, the Rest API is used to get a DMN/CMMN definition count.
Then:
Independently of the status of CMMN/DMN, a count query is performed against the database and an exception is thrown that the DMN/CMMN tabled do not exists.
Expected:
Before the database is queried, a check is performed that DMN/CMMN is actually enabled. If not, an empty result is provided.
Note:
Ticket was created on behalf of https://github.com/camunda/camunda-bpm-platform/pull/338
New PR: https://github.com/camunda/camunda-bpm-platform/pull/824