elsa-workflows / elsa-workflows/elsa-studio

Elsa 3.x: Dragging a JavaScript activity onto the grid generates console errors

Open
#522 0 comments 1 reaction 1 assignee Assigned to @Copilot View on GitHub
triaged
Dominant language
C#
Stars
301
Forks
181
Avg merge
17h 12m
Merged PRs (30d)
42

Description

## Description
When dragging the JavaScript activity onto the workflow designer canvas, errors appear in the browser console.

## Steps to Reproduce

1. Create a new workflow
2. Drag the JavaScript activity onto the canvas
3. Observe the console
4. A second error may appear occasionally

## Expected Behavior:

No errors should be thrown when adding the JavaScript activity.

## Screenshots
![Image](https://github.com/user-attachments/assets/d083d457-9de0-4db7-b35b-8c58dd77010b)

## Environment

- Elsa Studio version: 3.4
- Client version: 3.4.0.0
- Server version: 3.4.0-preview.2782
- Tested on toolbox test

## Additional Context

- Confirmed this issue occurs in version 3.2 as well.
- Error 1:
Uncaught (in promise) Error: System.ArgumentException: There is no tracked object with id '33'.
- Error 2:
Refused to create a worker from 'blob:...' due to CSP restrictions.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.