Skip to content

Never ending loop when a connector is selected #50

@marcellobarile

Description

@marcellobarile

Describe the Bug

Given a specific blueprint and a specific element from the diagram, when selected, the web-modeler crashes, showing what looks like a never-ending loop.

Steps to Reproduce

  1. Download the AI Email Support Agent blueprint from the web-modeler
  2. Open the main diagram
  3. Select the element with the name Fetch past conversations from customer(connector id io.camunda.connectors.EmbeddingsVectorDB.v1)
  4. See the error:
index.esm.js:5677 Uncaught (in promise) RangeError: Maximum call stack size exceeded
    at findUnresolvedVariables (feelUtility.js:256:11)
    at Array.flatMap (<anonymous>)
    at findUnresolvedVariables (feelUtility.js:256:34)
    at getExpressionDetails (feelUtility.js:186:22)
    at eval (feelUtility.js:30:33)
    at Array.forEach (<anonymous>)
    at eval (feelUtility.js:29:21)
    at Array.forEach (<anonymous>)
    at parseVariables (feelUtility.js:28:13)
    at _resolveVariables (VariableResolver.js:82:93)

Expected Behavior

There is no loop when this element is selected

Environment

  • Library version: 1.3.3

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingreadyReady to be worked on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions