HistoryService.deleteHistoricProcessInstance() does not delete sub processes

Description

HistoryService.deleteHistoricProcessInstance() does not delete sub processes (callActivity) which were started from the main process.

RuntimeService.deleteProcessInstance() does that automatically, so I'm assuming this is a bug.

Some more information:
http://forums.activiti.org/en/viewtopic.php?f=6&t=1698

Environment

Postgresql 8.4

Assignee

Frederik Heremans

Reporter

Flavio Donze

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure