Exporting/importing model changes name of Message

Description

Create a model with a User Task, and place a Message boundary Event on that user task. Configure the boundary event with "message reference = InterruptMessage". Export model to file, inspect the file. The XML will say:

<message id="InterruptMessage" name="InterruptMessage"></message>

Now delete this model, and import the file again. Immediately export the model again and inspect the XML file:

<message id="InterruptMessage" name="http://activiti.org/test:InterruptMessage"></message>

This causes problems with programs doing something like:

where "messageName = InterruptMessage". The above query won't return anything because Activiti isn't looking for "InterruptMessage", but for "http://activiti.org/test:InterruptMessage" (as evidenced as well from the contents of "ACT_RU_EVENT_SUBSCR").

Environment

None

Assignee

Tijs Rademakers

Reporter

Maarten Boekhold

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure