BaseBpmnXmlParser doesn't support endDate attribute

Description

It looks like support for the endDate attribute was added to the master branch file:

https://github.com/Activiti/Activiti/blob/f080061f93cc77d98eab5c7c89492842be78d467/modules/activiti-bpmn-converter/src/main/java/org/activiti/bpmn/converter/BaseBpmnXMLConverter.java

} else if (StringUtils.isNotEmpty(timerDefinition.getTimeCycle())) {
xtw.writeStartElement(ATTRIBUTE_TIMER_CYCLE);
if (StringUtils.isNotEmpty(timerDefinition.getEndDate())) {
xtw.writeAttribute(ACTIVITI_EXTENSIONS_PREFIX, ACTIVITI_EXTENSIONS_NAMESPACE,ATTRIBUTE_END_DATE,timerDefinition.getEndDate());
}
xtw.writeCharacters(timerDefinition.getTimeCycle());
xtw.writeEndElement();
}

but the activiti6 branch file does not support it:

https://github.com/Activiti/Activiti/blob/activiti6/modules/activiti-bpmn-converter/src/main/java/org/activiti/bpmn/converter/BaseBpmnXMLConverter.java

} else if(StringUtils.isNotEmpty(timerDefinition.getTimeCycle())) {
xtw.writeStartElement("timeCycle");
xtw.writeCharacters(timerDefinition.getTimeCycle());
xtw.writeEndElement();
}

Environment

None

Status

Assignee

Joram Barrez

Reporter

Lori Small

Labels

None

Components

Fix versions

Affects versions

Priority

Medium
Configure