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

[21.09] Fix error getting toolshed repo metadata when no repo found #13203

Merged
merged 1 commit into from
Jan 19, 2022

Conversation

simonbray
Copy link
Member

@simonbray simonbray commented Jan 19, 2022

Fixes

IndexError: list index out of range
  File "galaxy/web/framework/decorators.py", line 312, in decorator
    rval = func(self, trans, *args, **kwargs)
  File "tool_shed/webapp/api/repositories.py", line 383, in index
    all_metadata['current_changeset'] = repository_found[0]

How to test the changes?

(Select all options that apply)

  • I've included appropriate automated tests.
  • This is a refactoring of components with existing test coverage.
  • Instructions for manual testing are as follows:
    1. [add testing steps and prerequisites here if you didn't write automated tests covering all your changes]

License

@simonbray simonbray reopened this Jan 19, 2022
@simonbray simonbray changed the base branch from dev to release_21.09 January 19, 2022 16:55
@simonbray simonbray changed the title Fix error getting toolshed repo metadata when no repo found [21.09] Fix error getting toolshed repo metadata when no repo found Jan 19, 2022
@mvdbeek mvdbeek closed this Jan 19, 2022
@mvdbeek mvdbeek reopened this Jan 19, 2022
@mvdbeek mvdbeek added this to the 22.01 milestone Jan 19, 2022
@nsoranzo nsoranzo merged commit 25ba40e into galaxyproject:release_21.09 Jan 19, 2022
@simonbray simonbray deleted the patch-2 branch January 19, 2022 20:18
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.

3 participants