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

Error deploying a process with a bad version format

    Details

      Description

      Error uploading a jpdl file with a wrong version format (aka: 1.0.0) which leaves the database inconsistent (bad formatted jpdl file) and does not let upload a new process definition with the same Name, because the service attempts to retrieve the previous version and throws an exception when parse the file. (NOTE: I am uploading a BAR file and the jpdl file is inside the bar)

      In the RepositorySessionImpl you are doing the following steps:

      session.save(deploymentImpl); // will also save the attached resources
      deployerManager.deploy(deploymentImpl);

      That saves the Deployment data before checking the consistency of the jpdl file.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                rebody HuiSheng Xu
                Reporter:
                xalperte Javier Alperte
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: