Subscribed Event Deleted after the related process is redeployed (MySQL database)

Description

I have a task in the process that has a boundary message event attached to it. It works well and i can see the event subscription record in the table ACT_RU_EVENT_SUBSCR. However every time the process is re-deployed,it seems the subscription is deleted from that table, and the process won't response to the message event anymore.

i'm using activiti 5.19 with MySQL database

Unit test is attached, and the behaviour is also consistent when the steps performed using activiti explorer

Note: it seems that this bug only affect mysql database, as the same unit test will be successful when use h2. i haven't try other databases.

Environment

Activiti 5.19
MySQL 5.6
Windows 10

Assignee

Joram Barrez

Reporter

Troy Adianto

Components

Fix versions

Affects versions

Priority

High
Configure