Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

TimeSeries is removed from view when an error occurs (e.g. when defning temporal extent) #86

Open
matthesrieke opened this issue Jun 27, 2014 · 1 comment

Comments

@matthesrieke
Copy link
Member

When the client receives a JSON error respons (see example below), it removes the corresponding timeseries. This is inconvenient as the user might want to adjust the temporal extent. Currently, he has to define a new extent and select the timeseries again via the MapView.

Example request:
http://sensorweb.demo.52north.org/sensorwebclient-webapp-stable/api/v1/timeseries/ts_d9b753e2e758719790ea3cc27e48fd42/getData?timespan=2013-12-31T23%3A00%3A00%2B01%3A00%2F2014-06-28T00%3A59%3A59%2B02%3A00&generalize=false&expanded=true&locale=de

Example response:

{
    "statusCode": 400,
    "reason": "Bad Request",
    "userMessage": "The requested result set exceeds the response size limit of this service and thus cannot be delivered. Try defining a more strict filter. The current maximum record count is set to 1000"
}
@matthesrieke
Copy link
Member Author

maybe here?

this.removeTS(this.timeseries[id]);

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant