{"action":"created","issue":{"url":"https://api.github.com/repos/galaxyproject/galaxy/issues/1704","repository_url":"https://api.github.com/repos/galaxyproject/galaxy","labels_url":"https://api.github.com/repos/galaxyproject/galaxy/issues/1704/labels{/name}","comments_url":"https://api.github.com/repos/galaxyproject/galaxy/issues/1704/comments","events_url":"https://api.github.com/repos/galaxyproject/galaxy/issues/1704/events","html_url":"https://github.com/galaxyproject/galaxy/issues/1704","id":132421117,"number":1704,"title":"workflow editor crashes on save with duplicate output names","user":{"login":"tzk","id":113329,"avatar_url":"https://avatars.githubusercontent.com/u/113329?v=3","gravatar_id":"","url":"https://api.github.com/users/tzk","html_url":"https://github.com/tzk","followers_url":"https://api.github.com/users/tzk/followers","following_url":"https://api.github.com/users/tzk/following{/other_user}","gists_url":"https://api.github.com/users/tzk/gists{/gist_id}","starred_url":"https://api.github.com/users/tzk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tzk/subscriptions","organizations_url":"https://api.github.com/users/tzk/orgs","repos_url":"https://api.github.com/users/tzk/repos","events_url":"https://api.github.com/users/tzk/events{/privacy}","received_events_url":"https://api.github.com/users/tzk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/galaxyproject/galaxy/labels/kind/bug","name":"kind/bug","color":"84b6eb"},{"url":"https://api.github.com/repos/galaxyproject/galaxy/labels/major","name":"major","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/galaxyproject/galaxy/milestones/1","html_url":"https://github.com/galaxyproject/galaxy/milestones/16.01","labels_url":"https://api.github.com/repos/galaxyproject/galaxy/milestones/1/labels","id":1340720,"number":1,"title":"16.01","description":"Tentative freeze date for 16.01","creator":{"login":"erasche","id":458683,"avatar_url":"https://avatars.githubusercontent.com/u/458683?v=3","gravatar_id":"","url":"https://api.github.com/users/erasche","html_url":"https://github.com/erasche","followers_url":"https://api.github.com/users/erasche/followers","following_url":"https://api.github.com/users/erasche/following{/other_user}","gists_url":"https://api.github.com/users/erasche/gists{/gist_id}","starred_url":"https://api.github.com/users/erasche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erasche/subscriptions","organizations_url":"https://api.github.com/users/erasche/orgs","repos_url":"https://api.github.com/users/erasche/repos","events_url":"https://api.github.com/users/erasche/events{/privacy}","received_events_url":"https://api.github.com/users/erasche/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":361,"state":"open","created_at":"2015-10-06T16:36:51Z","updated_at":"2016-02-09T17:40:20Z","due_on":"2016-01-05T06:00:00Z","closed_at":null},"comments":7,"created_at":"2016-02-09T13:35:38Z","updated_at":"2016-02-09T17:52:30Z","closed_at":null,"body":"The new field \"Label\" of the Configure Output section in the workflow editor (introduced with 16.01?) is by default unset. These labels have to be unique across the workflow for all outputs marked as workflow output.\r\n\r\nWhen trying to save a workflow with multiple workflow outputs without Label the editor shows a popup with message \"Server error Duplicate workflow outputs with name [default] found.\" When I activate the single ignore button and try to save a second time the workflow editor gets stuck while displaying the saving workflow progress bar and the page has to be reloaded for further editing. At no point the workflow is actually saved.\r\n\r\nHaving the Labels unset in the first place breaks older workflows with outputs marked as workflow output. In order to edit and save these workflows all Label fields have to be filled in manually before the workflow can be saved again with 16.01. Otherwise the workflow editor crashes as described above and all changes are lost."},"comment":{"url":"https://api.github.com/repos/galaxyproject/galaxy/issues/comments/181980199","html_url":"https://github.com/galaxyproject/galaxy/issues/1704#issuecomment-181980199","issue_url":"https://api.github.com/repos/galaxyproject/galaxy/issues/1704","id":181980199,"user":{"login":"jmchilton","id":216771,"avatar_url":"https://avatars.githubusercontent.com/u/216771?v=3","gravatar_id":"","url":"https://api.github.com/users/jmchilton","html_url":"https://github.com/jmchilton","followers_url":"https://api.github.com/users/jmchilton/followers","following_url":"https://api.github.com/users/jmchilton/following{/other_user}","gists_url":"https://api.github.com/users/jmchilton/gists{/gist_id}","starred_url":"https://api.github.com/users/jmchilton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmchilton/subscriptions","organizations_url":"https://api.github.com/users/jmchilton/orgs","repos_url":"https://api.github.com/users/jmchilton/repos","events_url":"https://api.github.com/users/jmchilton/events{/privacy}","received_events_url":"https://api.github.com/users/jmchilton/received_events","type":"User","site_admin":false},"created_at":"2016-02-09T17:52:30Z","updated_at":"2016-02-09T17:52:30Z","body":"Tried:\r\n\r\n - Checkout 15.10 - create a workflow with 3 concat dataset steps - two with workflow outputs labelled.\r\n - Checkout 16.01 and restart Galaxy\r\n - Load workflow, modify, and save.\r\n\r\nAnd no problems.\r\n\r\nI'll see if I can deduce the problem from the reported error."}}