fadeoutsoftware / WASDI

Web Advanced Space Developers Interface
http://www.wasdi.net
GNU General Public License v3.0
13 stars 5 forks source link

ERROR TypeError: Cannot read properties of undefined (reading 'toString') when trying to add the products into workspace #759

Open michele-fadeout opened 1 month ago

michele-fadeout commented 1 month ago

Hi!

As you can see below, when I try to add one or more product to workspace after searching, the following error is occured: "ERROR TypeError: Cannot read properties of undefined (reading 'toString')"

For reproducing the error, you have to do:

The error is occured when I follow these steps, when I try to add the product from "plus" button, the product is correctly added to workspace

image

bspurgeon08 commented 1 month ago

I did not know that some products didn't have a bounds value - so I've added checks for the bounds property so that we do not have this issue.

It is in the TEST environment. I've tested this implementation locally with IMERG and S1