Activiti-Designer creates activiti:field for empty field-values which causes an error on deployment of bar on activiti-probe

Description

Activiti-Designer creates an activiti:field in xml even if there is no value set and the field is optional.

Activiti e.g. generates:

{{
<activiti:field name="eventSources">
<activiti:string></activiti:string>
</activiti:field>
}}

On deployment of the corresponding bar probe shows a dialog containing:

 

No valid value found in attribute 'stringValue' nor element 'string' | SimpleProcess.bpmn20.xml | line 15 | column 45
One of the following is mandatory on a field declaration: one of attributes stringValue|expression or one of child elements string|expression | SimpleProcess.bpmn20.xml | line 7 | column 145

Environment

None

Assignee

Tijs Rademakers

Reporter

Sascha Retter

Labels

None

Components

Fix versions

Affects versions

Priority

Minor
Configure