Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-9961

Node coloring stopped working on runtime tools

XMLWordPrintable

    • False
    • None
    • False
    • Hide
      1. Run Serverless Logic Web Tools.
      2. Setup Runtime Tools (Settings -> Runtime Tools).
      3. Go back Home.
      4. Create a workflow instance.
        • You can use a Web Tools, DevUI, or a command line to do that.
      5. Go to Workflow Instances (Runtime Tools -> Workflow Instances).
      6. Click on an instance to view details.

      Actual result

      See that nodes in the diagram are not being colored.

      Expected result

      The nodes in the diagram are being colored.

      Show
      Run Serverless Logic Web Tools. Setup Runtime Tools (Settings -> Runtime Tools). For example, run Serverless logic app from https://github.com/apache/incubator-kie-kogito-examples/tree/stable/serverless-workflow-examples locally and link the app URLs in Web Tools Runtime settings. Go back Home. Create a workflow instance. You can use a Web Tools, DevUI, or a command line to do that. Go to Workflow Instances (Runtime Tools -> Workflow Instances). Click on an instance to view details. Actual result See that nodes in the diagram are not being colored. Expected result The nodes in the diagram are being colored.
    • ---
    • ---
    • 2024 Week 07-09 (from Feb 12)

      Node coloring stopped working on runtime tools

      This behavior can be seen in the latest dev deployment https://start.kubesmarts.org/dev

      The following error is thrown in the web console:

      serverless-workflow-diagram-editor-envelope.js:2 TypeError: window.editor.session.getNodeByName is not a function
          at t.getNodeByName (serverless-workflow-diagram-editor-envelope.js:2:533574)
          at t.<anonymous> (serverless-workflow-diagram-editor-envelope.js:2:538519)
          at serverless-workflow-diagram-editor-envelope.js:2:537145
          at Object.next (serverless-workflow-diagram-editor-envelope.js:2:537250)
          at serverless-workflow-diagram-editor-envelope.js:2:536162
          at new Promise (<anonymous>)
          at a (serverless-workflow-diagram-editor-envelope.js:2:535907)
          at t.editor_session_getNodeByName (serverless-workflow-diagram-editor-envelope.js:2:538415)
          at e.receive (serverless-workflow-diagram-editor-envelope.js:2:491769)
          at Object.receive (serverless-workflow-diagram-editor-envelope.js:2:487266) 

              handreyrc Handrey Cunha
              gcaponet Guilherme Caponetto
              Lubomir Terifaj Lubomir Terifaj
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: