Open-EO / openeo-web-editor

An interactive and easy to use web-based editor for the OpenEO API.
https://editor.openeo.org
Apache License 2.0
12 stars 17 forks source link

Edit math formula #121

Closed m-mohr closed 4 years ago

m-mohr commented 4 years ago

Editing a math formula results in an error:

Error: Referenced node '7k7awasgc' doesn't exist.
    at c.parseNodeArguments (processgraph.js:307)
    at c.parse (processgraph.js:173)
    at Blocks.vue:904
    at async a.startTransaction (Blocks.vue:855)
    at async a.import (Blocks.vue:882)
    at async a.insertNodes (VisualEditor.vue:201)

Repro:

  1. Add reduce_dimension
  2. Edit reducer, paste math formula for EVI
  3. Save
  4. Open reducer again and edit math formula (e.g. replace "1 +" with "2 +")
  5. Save -> Error occurs
m-mohr commented 4 years ago

Fixed and deployed.