Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-2815

Stunner - Copy of the process has the same ID

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • 7.7.0.GA
    • jBPM Designer
    • Hide

      Change the process ID of copied process and then build the project.

      Show
      Change the process ID of copied process and then build the project.
    • Hide
      1. Create a process that can be built (Start -> End event).
      2. Copy the process (Enter a new process name).
      3. Navigate to the project and build the project.

      Actual result

      The ID of copied project is the same as the ID of the model process.
      The project is not built.
      An error message is printed to server.log.

      Expected result

      The ID of copied project is updated with the name of the copied process:

      • $PROJECT_NAME.$PROCESS_NAME is updated to $PROJECT_NAME.$COPIED_PROCESS_NAME
      • Since the name of the processes cannot be the same, the IDs are different as well.

      The project is built.
      No error messages are shown or printed to server.log.

      Show
      Create a process that can be built (Start -> End event). Copy the process (Enter a new process name). Navigate to the project and build the project. Actual result The ID of copied project is the same as the ID of the model process. The project is not built. An error message is printed to server.log. Expected result The ID of copied project is updated with the name of the copied process: $PROJECT_NAME.$PROCESS_NAME is updated to $PROJECT_NAME.$COPIED_PROCESS_NAME Since the name of the processes cannot be the same, the IDs are different as well. The project is built. No error messages are shown or printed to server.log.

    Description

      Copy of the process has the same ID.

      It is not possible to build the project with two processes with the same ID.

      Server.log:

      ERROR [org.drools.compiler.kie.builder.impl.KieProject] (default task-12) Unable to build KieBaseModel:defaultKieBase
      [-1,-1]: Process with same id already exists: project.process
      

      Attachments

        Issue Links

          Activity

            People

              romartin@redhat.com Roger Martinez
              lterifaj@redhat.com Lubomir Terifaj
              Lubomir Terifaj Lubomir Terifaj
              Lubomir Terifaj Lubomir Terifaj
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: