Open TillF opened 3 years ago
Hi, I'm having trouble reproducing this. Could you please provide details (B2SHARE instance, browser, OS, steps to reproduce)? Thank you!
I don't know what "B2SHARE instance" is. I am using the service available under b2share.eudat.eu with FF 94.0.2 (64-Bit), Windows 10. I entered the data as in this screenshot: Clicking "Save draft" then results in the error messages mentioned above: Error: Validation error. Error in field 'spatial_coverages/0/box/westbound_longitude': None is not of type 'number' Saving is only successful when the bounding box data is entered as well.
Below the lowermost form field of the meta-data form, a button "Show more details" expands more fields. Among them is the group "Spatial coverages". It apparently allows to specify the location via point, bounding box or polygons. Having entered the bounding box only (i.e. point coords left blank), on saving this error message appears: Error in field 'spatial_coverages/0/point/point_longitude': None is not of type 'number'
I would expect the point coordinates be obsolete when I specified a bounding box. If point coords are really needed for whatever reason, they should be calculated from the centroid of the bounding box, if missing.