Hello again
We updated Activiti to 5.19.0.2 (new schema version is 5.20.0.1) and made many redeploys but still having the same issue.
Is there anything we could be doing wrong?
To be more confident, a foreign key referencing an event subscription was added and this showed up on console.
<code>
2016-02-12 13:10:42,776 - [[info]] application - Deployment ID:27510 - OI Notification 1.0 @Wed Jul 29 10:55:40 ART 2015
2016-02-12 13:10:42,849 - [[info]] o.a.e.i.b.d.BpmnDeployer - Processing resource processes/venta-3.0.bpmn20.xml
2016-02-12 13:10:46,298 - [[error]] application - Couldn't deploy
org.apache.ibatis.exceptions.PersistenceException:
### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Cannot delete or update a parent row: a foreign key constraint fails (`activiti`.`signal_fk`, CONSTRAINT `fk_signal_fk_1` FOREIGN KEY (`fk_evt_sbcr`) REFERENCES `ACT_RU_EVENT_SUBSCR` (`ID_`) ON DELETE NO ACTION ON UPDATE NO ACTION)
### The error may involve org.activiti.engine.impl.persistence.entity.EventSubscriptionEntity.deleteSignalEventSubscription-Inline
### The error occurred while setting parameters
### SQL: delete from ACT_RU_EVENT_SUBSCR where ID_ = ? and REV_ = ?
### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Cannot delete or update a parent row: a foreign key constraint fails (`activiti`.`signal_fk`, CONSTRAINT `fk_signal_fk_1` FOREIGN KEY (`fk_evt_sbcr`) REFERENCES `ACT_RU_EVENT_SUBSCR` (`ID_`) ON DELETE NO ACTION ON UPDATE NO ACTION)
at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) ~[mybatis-3.3.0.jar:3.3.0]
at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:172) ~[mybatis-3.3.0.jar:3.3.0]
at org.apache.ibatis.session.defaults.DefaultSqlSession.delete(DefaultSqlSession.java:185) ~[mybatis-3.3.0.jar:3.3.0]
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Cannot delete or update a parent row: a foreign key constraint fails (`activiti`.`signal_fk`, CONSTRAINT `fk_signal_fk_1` FOREIGN KEY (`fk_evt_sbcr`) REFERENCES `ACT_RU_EVENT_SUBSCR` (`ID_`) ON DELETE NO ACTION ON UPDATE NO ACTION)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_45]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_45]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_45]
2016-02-12 13:10:46,304 - [[info]] application - Deployment ID:995010 - Aop 1.0.0 @Mon Nov 09 16:21:25 ART 2015
2016-02-12 13:10:46,304 - [[info]] application - ActivitiPlugin started
2016-02-12 13:10:46,307 - [[info]] monitoring - Starting application
</code>
Thanks
Lucas.