PASTAplus / DataPortal

EDI Data Portal
3 stars 3 forks source link

Code generation file download fails with 404 #102

Closed servilla closed 11 months ago

servilla commented 11 months ago

Tim Whiteaker (BLE LTER IM) reports the following issue:

I went to the website BLE website that leads to the EDI Data Portal to get the MATLAB code that will download the package knb-lter-ble.16.1

https://portal.edirepository.org/nis/codeGeneration?packageId=knb-lter-ble.16.1&statisticalFileType=m

I can see the code, select all and write it to a file on my machine. But am I supposed to be able to click on the MATLAB file name in blue

"knb_lter_ble_13_3.m"

and the code *.m would then download to my machine? I cannot remember what I was doing in the past.

If it is the case, then the link is broken as I get

"HTTP Status 404 – Not Found

Type Status Report

Message The requested resource [/nis/codegenerationdownload] is not available

Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

Apache Tomcat/9.0.58 (Ubuntu)"

This bug is confirmed.