aodn / aodn-portal

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

Date facet filter not working #2959

Closed Chetnamann closed 1 year ago

Chetnamann commented 1 year ago

Steps to reproduce the issue

03/04/2023 pending issue from iteration 251 testing: https://github.com/aodn/aodn-portal/issues/2955

Open Date facet "Date (UTC)"

The "Go" button should be disabled, try clicking on it

Enter valid start and end dates

Click "go" button

first click of "go" should do nothing as it remains inactive

Second click of go button after dates set should return results applicable to only those dates

GH #819

Expected behaviour

Second click of go button after dates set should return results applicable to only those dates

Actual behaviour

doesn't return results filtered to dates

What version of the aodn portal are you using?

4.42.104

Which browser are you using?

Chrome

craigrose commented 1 year ago

This is only an issue in systest. Looks like a content issue. I suspect that GN harvester has not harvested all the required records or there is a problem with the transform used by the harvester.

craigrose commented 1 year ago

@sqbaillie @digorgonzola @Chetnamann @evacougnon I checked into this and found that https://catalogue-systest.aodn.org.au has been harvesting from catalogue-portal daily since it was last deployed. This results in metadata that is not static and hence returns unexpected results in the searches used in tests. For tests to be valid the metadata needs to be cleared from the systest-catalogue and re-harvested at the beginning of each test cycle then not harvested again during the cycle. This is why we have this instruction in the systest deployment. I can see how that would have been missed if a decision at some point was made to not destroy/re-deploy catalogue-systest.

craigrose commented 1 year ago

I think this is working now since we destroyed, deployed and harvested only once.