Show diagram not works

When I want to display my diagram in the flowable-task ui, I get a blank page. In the console, there is the error:

VM9556:1 Uncaught ReferenceError: _drawIntegerDataObject is not defined
at eval (eval at (VM9483 displaymodel.js:582), :1:1)
at Object. (VM9483 displaymodel.js:582)
at j (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at x (jquery.min.js:4)
at XMLHttpRequest.b (jquery.min.js:4)

What is this error?

Can you share the BPMN or CMMN that you are using? Or perhaps a simplified version that still presents the same issue?

of course:


This appears to be an issue parsing integer data objects. The same issue occurs for other non-string data objects. The admin app will display the diagram but presents the same trace, but as a warning. When I get some time I can open an issue on the github project.

Here’s some simpler BPMN that has the same error:

  <process id="dataObjectProcess" name="Data Object Process" isExecutable="true">
    <dataObject id="testDataObject" name="Test Data Object" itemSubjectRef="xsd:int">
    <startEvent id="startEvent1" flowable:formFieldValidation="true"></startEvent>
    <sequenceFlow id="sid-854F6EF0-C522-4B51-880C-2E6B82DAE6D9" sourceRef="startEvent1" targetRef="sid-71B12BD3-BCE5-4EA7-971A-B104C0F0DD2E"></sequenceFlow>
    <intermediateCatchEvent id="sid-71B12BD3-BCE5-4EA7-971A-B104C0F0DD2E">
    <sequenceFlow id="sid-3C25DB24-D99B-45B5-BF20-CDBC3AE1FBA4" sourceRef="sid-71B12BD3-BCE5-4EA7-971A-B104C0F0DD2E" targetRef="sid-CDD0CB7F-63E5-432D-9829-99BAACC36FD5"></sequenceFlow>
    <endEvent id="sid-CDD0CB7F-63E5-432D-9829-99BAACC36FD5"></endEvent>