AtlasOfLivingAustralia / downloads-plugin

Grails plugin to provide a common "downloads UI" for ALA Biocache application
Other
0 stars 7 forks source link

"Raw download URL" displays the wrong URL #106

Open nickdos opened 3 months ago

nickdos commented 3 months ago

On the final confirmation screen of the downloads "form wizard", there is a link at the bottom labelled "View the raw download URL". This shows a modal popup containing the URL for the download, so users can use this in a script or record it for record keeping purposes.

Expected output

The URL string in the modal textarea should contain the biocache query and be a reproducible link to re-run the same download at a later time (won't get the same results due to differences in data loaded in the ALA).

Actual output

https://biocache-ws.ala.org.au/ws/occurrences/offline/download

image

nickdos commented 2 months ago

Suggest removing this link/button? My Downloads should provide any substitute functionality.

adam-collins commented 2 months ago

I think the original intention was to provide a URL to biocache-service's offline/download webservice. After changing this to a POST, instead of GET, the parameters are absent. The change to POST is to support longer search URLs that failed after adding the additional download related parameters.

Proceeding with the removal of this button and popup as the original purpose is no longer supported, and My Downloads keeps a record in addition to the email sent.