botpress / v12

Botpress OSS – v12
https://v12.botpress.com
GNU Affero General Public License v3.0
68 stars 83 forks source link

Lost edits of flow json in studio #1617

Closed Mikhail84 closed 2 years ago

Mikhail84 commented 2 years ago

Describe the bug In advanced mode of code editor all edits in any flow json file are lost after it saved

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Code Editor'
  2. Switch to Advanced Editor
  3. Open main.flow.json
  4. Make some edits. For example remove one of actions at node
  5. Save main.flow.json and restart Botpress server
  6. Then go Advanced Editor again. Open main.flow.json - there are no edits, action exits in node object

Expected behavior If we make edits in some editor in main.flow.json via SSH - no problems, all saved and then we can see it in Flows in studio. I think editing via Advanced Editor must be same.

Screenshots

Environment (please complete the following information):

Additional context

laurentlp commented 2 years ago

@Mikhail84 have you closed this issue because you have found a solution to it or simply because it wasn't a bug?