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

Stunner - Copying a Service Task with Ctrl-C/Ctrl-V fails invalidating asset

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.4.1.GA
    • 7.3.1.GA
    • jBPM Designer
      • RHEL Workstation 7.5
      • Chrome web browser
      • RHPAM.7.3.1
    • CR1
    • Hide

      Asset can be reverted to a previous version if exists.
      Occasionally browser window may get unresponsive requiring a reload (F5) to restore functionality.

      Show
      Asset can be reverted to a previous version if exists. Occasionally browser window may get unresponsive requiring a reload (F5) to restore functionality.
    • Hide

      In jBPM Designer of RHPAM.7.3.1 add an Email Task.
      Then copy this task with Ctrl-C/Ctrl-V

      Show
      In jBPM Designer of RHPAM.7.3.1 add an Email Task. Then copy this task with Ctrl-C/Ctrl-V
    • 2019 Week 23-25, 2019 Week 26-28, 2019 Week 29-31

      Copying an Email Task in Stunner using Ctrl-C/Ctrl-V results in error at the same time invalidating the model.

      Right after copying the following error message is displayed in a pop-up

      An error happened [com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read property 'n' of undefined]. Do you want to undo the last action?
      

      Regardless of choice a new Email Task is created that invalidates the model. The new Email Task if clicked an error window is displayed with the details of the error being:

      Uncaught exception: Exception caught: Exception caught: CDI Event exception:
       CommandType=CDIEvent,
       BeanType=org.kie.workbench.common.stunner.core.client.canvas.event.selection.CanvasSelectionEvent,
       BeanReference=org.kie.workbench.common.stunner.core.client.canvas.event.selection.CanvasSelectionEvent@bd4d,
       FromClient=1 sent to [unavailable] Caused by: Exception caught: CDI Event
       exception: CommandType=CDIEvent,
       BeanType=org.kie.workbench.common.stunner.core.client.canvas.event.selection.CanvasSelectionEvent,
       BeanReference=org.kie.workbench.common.stunner.core.client.canvas.event.selection.CanvasSelectionEvent@bd4d,
       FromClient=1 sent to [unavailable] Caused by: CDI Event exception:
       CommandType=CDIEvent,
       BeanType=org.kie.workbench.common.stunner.core.client.canvas.event.selection.CanvasSelectionEvent,
       BeanReference=org.kie.workbench.common.stunner.core.client.canvas.event.selection.CanvasSelectionEvent@bd4d,
       FromClient=1 sent to [unavailable] Caused by: No service task builder found for
       [Service Task]
       
      

      Have tried with all Service Tasks, e.g. REST, Web Service, DecisionTask, etc., with all ending up with the same error.

              romartin@redhat.com Roger Martinez
              rouvas Stathis Rouvas (Inactive)
              Kirill Gaevskii Kirill Gaevskii
              Kirill Gaevskii Kirill Gaevskii
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: