aodn / aodn-portal

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

Grails Runtime Error when downloading from Cart #241

Closed kereid closed 11 years ago

kereid commented 11 years ago

On rc.aodn.org.au IE8 and firefox

Steps to reproduce:

Can be logged in or out for this to occur.

go to search tab I typed in soop and then added the first result with a download to the cart, I then clicked download data then in the cart clicked download all and selected " I understand, download"

What should happen:

pop up box opens with option for saving or opening file that has been downloaded

What does happen:

Get grails error see attached image grails error

jonescc commented 11 years ago

Looks like the format string for the download cart filename was changed in #211 commit dda1be2f

Need to change config page to indicate only one string is now replaced and potentially remove second %s in a database migration step

dnahodil commented 11 years ago

I agree, this should be fixed with a migration script.

danfruehauf commented 11 years ago

Doesn't happen to me on rc. Was it deployed there already?

jonescc commented 11 years ago

Try the other rc. I fixed it through the administration page when I first found the problem and forgot to change it back for your testing.

jonescc commented 11 years ago

Or just change it back to the default string

danfruehauf commented 11 years ago

Tested it on the animations branch and it happens. On rc it doesn't.