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

[16.04] Add fixed validation check for data_source tools URL parameter #2208

Merged

Conversation

guerler
Copy link
Contributor

@guerler guerler commented Apr 20, 2016

As mentioned in #2200, data_source tools used to have a URL parameter check, preventing job execution when the URL parameter was not transmitted to the tool_runner controller. This PR re-introduces this check. However, instead of redirecting to the welcome page, the error is displayed. This can be tested by accessing e.g. http://127.0.0.1:8080/tool_runner?tool_id=genomespace_importer with and without this fix.

@guerler guerler added this to the 16.04 milestone Apr 20, 2016
@guerler guerler changed the title Add fixed validation check for data_source tools URL parameter [16.04] Add fixed validation check for data_source tools URL parameter Apr 20, 2016
@blankenberg
Copy link
Member

blankenberg commented Apr 20, 2016

This will actually break the GenomeSpace filebrowser import tool, since the check on whether to attempt to run a tool used to be the existence of URL or runtool_btn.

Also seems a bit hackish. It just feels like there should be a better way to handle this scenario.

@guerler
Copy link
Contributor Author

guerler commented Apr 20, 2016

Which is why its tagged as WIP.

@blankenberg
Copy link
Member

Of course, didn't know if you wanted feedback yet though. Thanks for working on it.

@guerler guerler force-pushed the fix_error_message_001 branch 2 times, most recently from 9078854 to c419ada Compare April 21, 2016 04:37
@guerler
Copy link
Contributor Author

guerler commented Apr 21, 2016

No worries, and thanks for looking into it.

@martenson
Copy link
Member

@galaxybot test this

@martenson
Copy link
Member

This seems like a legit fix to me.

@blankenberg please open a PR if you have an idea how to do this better.

@martenson martenson merged commit 787b351 into galaxyproject:release_16.04 May 1, 2016
@guerler guerler deleted the fix_error_message_001 branch February 19, 2020 19:53
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