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

Service Task is not overwriten when uploaded again

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Major
    • None
    • 7.30.0.Final
    • Workbench
    • None
    • NEW
    • NEW
    • Hide
      1. Create a Service Task using the archetype
      2. Build as is, keep the resulting JAR, called here custom-workitem-args.jar
      3. Change the Work Item Handler definition - remove any parameters
      4. Build again, keep the JAR, called here custom-workitem.jar
      5. Go to Service Task Administration, upload the custom-workitem-args.jar using Add Service Task button
      6. Enable the Service Task
      7. Go to a Project > Settings > Service Tasks, Click Install near the Service Task added above.
      8. A form should appear, cause custom-workitem-args.jar contains WIH with parameters
      9. Cancel the installation
      10. Go back to Administration, remove the Service Task
      11. Upload custom-workitem.jar (without parameters), enable the Service Task
      12. Go to project again, Click Install near the Service Task
      13. No form should be presented - but there is the one for the old Service Task.
      Show
      Create a Service Task using the archetype Build as is, keep the resulting JAR, called here custom-workitem-args.jar Change the Work Item Handler definition - remove any parameters Build again, keep the JAR, called here custom-workitem.jar Go to Service Task Administration, upload the custom-workitem-args.jar using Add Service Task button Enable the Service Task Go to a Project > Settings > Service Tasks, Click Install near the Service Task added above. A form should appear, cause custom-workitem-args.jar contains WIH with parameters Cancel the installation Go back to Administration, remove the Service Task Upload custom-workitem.jar (without parameters), enable the Service Task Go to project again, Click Install near the Service Task No form should be presented - but there is the one for the old Service Task.

    Description

      When a Service Task is removed from Administration section, then its JAR uploaded again, the resulting Service Task is not the new one, but original one.

      Not aware of any workaround.

      Attachments

        Issue Links

          Activity

            People

              xiabai@redhat.com Xiaofeng Bai
              jstastny@redhat.com Jan Stastny
              Jan Stastny Jan Stastny
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: