Skip to content
This repository has been archived by the owner on Nov 18, 2020. It is now read-only.

Download zip links are displaying for large collections #1613

Open
awead opened this issue Aug 13, 2019 · 1 comment
Open

Download zip links are displaying for large collections #1613

awead opened this issue Aug 13, 2019 · 1 comment
Assignees
Labels

Comments

@awead
Copy link
Contributor

awead commented Aug 13, 2019

For large collections and works, zip download links are available when they should not be. The issue is that the presenter has zip_download_path.present? which is returning true even for a pre-zipped resource when it should be checking to see if the path actually exists.

@awead awead added the bug label Aug 13, 2019
@awead awead self-assigned this Aug 13, 2019
@awead
Copy link
Contributor Author

awead commented Aug 14, 2019

Looks like this was just a config issue. The production application.yml was point to qa zip directory, which did in fact have zips. I've updated the config file in prod and now the links are no longer visible.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant