Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix download collection button in history panel. #13690

Merged
merged 3 commits into from
Apr 13, 2022

Conversation

jmchilton
Copy link
Member

Downloading collections from the classic history panel seems broken in dev. I assume the FastAPI endpoint was broken-ish and then we dropped the WSGI backups and the functionality broke.

I needed to drop the tags in order to not get a 404 and I needed a signature with history_id in it in order to not get a validation error. So this is probably not the best way - just the fastest? @davelopez any ideas?

How to test the changes?

(Select all options that apply)

  • Instructions for manual testing are as follows:
    1. Download a collection from the History Panel Classic.

License

Copy link
Contributor

@davelopez davelopez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry I broke this 😔, that typo and having the legacy routes as fallback made me completely miss it.

I'm far from my laptop until next Tuesday but I managed to write a review using the GitHub app on my phone, it's awesome!

Thank you so much for fixing it!

Copy link
Member

@nsoranzo nsoranzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These proposed changes should implement @davelopez's suggestion, and fix a failing BioBlend test for me.

lib/galaxy/webapps/galaxy/api/history_contents.py Outdated Show resolved Hide resolved
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
@bgruening bgruening merged commit 726eb76 into galaxyproject:dev Apr 13, 2022
@nsoranzo nsoranzo deleted the collection_download branch April 13, 2022 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants