elsa-workflows / elsa-studio

A modular, extensible dashboard application framework
MIT License
187 stars 90 forks source link

[Bug] Saving workflow changes after migrating JSON-structure not working correctly #325

Open lanseth opened 1 week ago

lanseth commented 1 week ago

Hi, I've found some weird bug and I'm not sure if it's related with studio or core engine.

If you open an old flow, studio automatically sends a request which updates its JSON-structure to match current elsa version (as it seems to me). After that, any changes that were made at 3rd depth level and below won't be saved.

This bug always appears with old flows, but my colleagues says that sometimes it appears with new ones too. Perhaps, fixing it would affect both cases.

Representation video - https://youtu.be/t-vLv8aNVyU

Old and new JSON-structure files that might be helpful: inner-workflow-new.json inner-workflow-old.json