Regression: Process Diagram generation not possible in headless mode anymore

Description

Since the update to 5.9 there are no generated proccess diagrams anymore.
While examining the code I noticed the new check on headless. Is there
a reason to disable diagram generation on headless? It worked perfectly with 5.8 before.

In the explorer and rest modules there is no such change and they work with the ProcessDiagramGenerator too.

BpmnDeployer.java

Environment

Debian VM, Tomcat 7

Assignee

Tijs Rademakers

Reporter

Leonard Br_nings

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure