You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue traced to line 108 of DatasetController. The if statement throws a null pointer exception as getId() returns null as the dataset does not exist (it can't as it is being created).
if(dr.getId().isEmpty()) {
Dataset newDataset = new Dataset(dr.getName(), dr.getDataAbstract(), dr.getResolution(), precision);
datasetDao.create(newDataset);
model.addAttribute(ControllerHelper.RESPONSE_ROOT, new DatasetResponse(newDataset));
The text was updated successfully, but these errors were encountered:
Documentation states a new dataset can be created without an id, yet calls to this webservice fail without this URL param.
https://github.com/VPAC/rsa/blob/master/doc/spatialcubeservice.md
Workaround is to include the id param in the URL with no value.
ie, make post with URL such as;
Issue traced to line 108 of DatasetController. The if statement throws a null pointer exception as
getId()
returns null as the dataset does not exist (it can't as it is being created).The text was updated successfully, but these errors were encountered: