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

ReferenceError: assignment to undeclared variable process #327

Closed SerRichard closed 3 months ago

SerRichard commented 3 months ago

Version: 0.14.0-beta.1

When trying to add a process using the drag and drop in the web editor , the following error occurs

Uncaught (in promise) ReferenceError: assignment to undeclared variable process

Complaint seems to originate from loadProcess index.js:283

I'm guessing process = cx.getters.processes.get(id, namespace); should be let process = cx.getters.processes.get(id, namespace); , but I'm not sure as it's unchanged for years?

I've checked it on eodc (dev + prod ) & vito ( prod ) servers and it's present on all.

m-mohr commented 3 months ago

Thanks for the report. I guess that was always a bug but the transpilers have fixed that implicitly before, but don't do it anymore. Your guess was correct, I fxied it.