Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-4216

KModuleDeploymentService resolves deployment artifacts by identifier instead of GAV

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • jBPM 6.1.0.Final
    • jBPM 6.0.0.Final
    • Runtime Engine
    • 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.

      Attachments

        Activity

          People

            swiderski.maciej Maciej Swiderski (Inactive)
            jay.guidos-bidstrading.com Jay Guidos (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: