Methods deleteDeployment(String deploymentId, ...) and deleteDeploymentCascade(String deploymentId, ...) do not throw an exception with passed a non-existent deployementId

Description

The following methods from the interface org.activiti.engine.RepositoryService:


do not report any error when you pass them a deploymentId that does not exist.
I would expect an ActivitiException telling me that no deployment with that id was found .

See this forum post thread for more details
http://forums.activiti.org/en/viewtopic.php?f=4&t=2998
and a possible fix.

Regards,

/rafa

Environment

Mac OS X 10.6.8
Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-10M3527)
Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)

Assignee

Frederik Heremans

Reporter

Rafael Cordones Marcos

Labels

None

Components

Fix versions

Affects versions

Priority

Minor
Configure