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

Stunner - JavaScript Entry Action causes error after changing node to Multiple Instance

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 7.48.0.Final
    • Designer
    • False
    • False
    • Release Notes
    • NEW
    • NEW
    • Undefined
    • Hide
      1. Create a new process.
      2. Create a task that has Multiple Instance property (e.g.: User task).
      3. Input any String to On Entry or Exit Action.
      4. Change the language to JavaScript.
      5. Set the Multiple Instance to True.

      Actual result

      An unexpected system error occurs.

      Expected result

      No errors occur either in UI or server log.

      Show
      Create a new process. Create a task that has Multiple Instance property (e.g.: User task). Input any String to On Entry or Exit Action. Change the language to JavaScript. Set the Multiple Instance to True. Actual result An unexpected system error occurs. Expected result No errors occur either in UI or server log.
    • ---
    • ---

      If the language in Entry Action is set to JavaScript, after changing node to Multiple Instance using Properties panel, an unexpected error occurs:
      "Uncaught exception: Error: Could not find source file: 'inmemory://model/134'."

      Server log:

      ERROR [org.kie.workbench.common.services.backend.logger.GenericErrorLoggerServiceImpl] (default task-15) Error from user: testadmin Error ID: -1655199525 Location: LibraryPerspective|$ProjectScreen[EDiagramEditorPropertiesScreen,],org.kie.workbench.common.screens.messageconsole.MessageConsole,AddAssetsScreen,BPMNDiagramEditor?path_uri=default://master@MySpace/Project/src/main/resources/com/myspace/project/C.bpmn&file_name=C.bpmn&has_version_support=true Exception: Uncaught exception: Error: Could not find source file: 'inmemory://model/134'.
      

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

                Created:
                Updated: