Skip to content

[STABLE] Bugfixes for runtime parameter handling in the workflow run form.#84

Closed
jmchilton wants to merge 1 commit intogalaxyproject:devfrom
jmchilton:workflow_runtime_bugfixes
Closed

[STABLE] Bugfixes for runtime parameter handling in the workflow run form.#84
jmchilton wants to merge 1 commit intogalaxyproject:devfrom
jmchilton:workflow_runtime_bugfixes

Conversation

@jmchilton
Copy link
Member

The behavior of these forms was modified in PR 433 (https://bitbucket.org/galaxy/galaxy-central/pull-request/433/fix-allow-editing-workflows-on-the-fly-for/diff#) - so that the entire workflow would be submitted as runtime parameters on each submission.

In addition to this causing bugs related to unvalidated parameters https://trello.com/c/72WuZ8mu and other problems with select parameters (e.g. http://dev.list.galaxyproject.org/Workflow-bug-when-loc-entries-are-missing-tc4666875.html) - I just discovered it would also cause the modified value to be submitted even if the user opts to undo the selection of a runtime workflow parameter and restore the previous selection (i.e. the form would show the original value but the new value would be submitted).

This PR restores the previous behavior of giving the submitted form elements a unique name so every value in the workflow is not replaced as part of the submission - fixing the former problem. The new technique also fixes the problem of submitting the modified values even when the unmodified values are displayed.

The behavior of these forms was modified in PR 433 (https://bitbucket.org/galaxy/galaxy-central/pull-request/433/fix-allow-editing-workflows-on-the-fly-for/diff# - not merged by me :| ) - so that the entire workflow would be submitted as runtime parameters on each submission.

In addition to this causing bugs related to unvalidated parameters https://trello.com/c/72WuZ8mu and other problems with select parameters (e.g. http://dev.list.galaxyproject.org/Workflow-bug-when-loc-entries-are-missing-tc4666875.html) - I just discovered it would also cause the modified value to be submitted even if the user opts to undo the selection of a runtime workflow parameter and restore the previous selection (i.e. the form would show the original value but the new value would be submitted).

This PR restores the previous behavior of giving the submitted form elements a unique name so every value in the workflow is not replaced as part of the submission - fixing the former problem. The new technique also fixes the other problem as well.
@jmchilton jmchilton closed this Apr 6, 2015
@jmchilton
Copy link
Member Author

Mis-targeted branch.

@jmchilton jmchilton deleted the workflow_runtime_bugfixes branch November 25, 2015 15:05
mvdbeek pushed a commit to mvdbeek/galaxy that referenced this pull request Jan 24, 2017
Modify bioblend.galaxy.histories to implement TODOs, fix dataset URL by
downloading from url provided by show_datasets() call
mvdbeek pushed a commit to mvdbeek/galaxy that referenced this pull request Jan 24, 2017
mvdbeek pushed a commit to mvdbeek/galaxy that referenced this pull request Jan 24, 2017
OlegZharkov referenced this pull request in OlegZharkov/galaxy Oct 31, 2020
[upstream] merge upstream
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant