Details
-
Bug
-
Resolution: Done
-
Major
-
jBPM 6.0.0.Final
-
None
Description
The code in this class uses a KModuleDeploymentUnit-derived identifer to load a repository artefact. The default implementation of KModuleDeploymentUnit forms an identifier from its internal GAV configuration so this seems to work.
The problem is that you can create many RuntimeManagers based on the same deployment but this implementation accidentally disallows that. For more information see the discussion in the Forum:
https://community.jboss.org/message/851371#851371
The code also prevents subclasses of KModuleDeploymentUnit from changing the identifier to be anything except a valid GAV, which again means limiting the total number of deployments per GAV to 1.