aodn / aodn-portal

AODN Open Geospatial Portal
https://portal.aodn.org.au/
GNU General Public License v3.0
21 stars 13 forks source link

Estimate unknown if temporal filter not loaded #1343

Closed kereid closed 10 years ago

kereid commented 10 years ago

Instance name: IMOS Environment: production App version: 3.29.1 Build date: Wed Aug 06 15:48:13 EST 2014 Build number: 35 Git ref: 87bbe9a621f835493caff90435ebb4206b1f8637 -->

This may be related to #1057 or #1149

Steps to reproduce:

Add any ncWMS collection ie ACORN, when taken to step 2 quickly click step 3 button to go to step 3.

What should happen:

Estimate is shown of download size

What does happen:

"Estimate is unkown" message is shown but if user goes back to step 2 waits for temporal filter to load then goes back to step 3 the estimation amount will show.

dnahodil commented 10 years ago

An example of the URL used to try and estimate the download size: http://geoserver-123.aodn.org.au/geoserver/ows?typeName=acorn_hourly_avg_turq_nonqc_timeseries_url&SERVICE=WFS&outputFormat=csv&REQUEST=GetFeature&VERSION=1.0.0&CQL_FILTER=time%20%3E%3D%20Invalid%20date%20and%20time%20%3C%3D%20Invalid%20date

Note the 'invalid date' values

dnahodil commented 10 years ago

So actually the bigger problem with this is that a user can click 'download' and try to download data before any date filter is loaded. We might need to add a default range similar to what we do for area.