{"action":"created","issue":{"url":"https://api.github.com/repos/biocore/qiita/issues/1679","repository_url":"https://api.github.com/repos/biocore/qiita","labels_url":"https://api.github.com/repos/biocore/qiita/issues/1679/labels{/name}","comments_url":"https://api.github.com/repos/biocore/qiita/issues/1679/comments","events_url":"https://api.github.com/repos/biocore/qiita/issues/1679/events","html_url":"https://github.com/biocore/qiita/pull/1679","id":139634626,"number":1679,"title":"Refactoring the refactor (I): Fix prep info creation","user":{"login":"josenavas","id":2501478,"avatar_url":"https://avatars.githubusercontent.com/u/2501478?v=3","gravatar_id":"","url":"https://api.github.com/users/josenavas","html_url":"https://github.com/josenavas","followers_url":"https://api.github.com/users/josenavas/followers","following_url":"https://api.github.com/users/josenavas/following{/other_user}","gists_url":"https://api.github.com/users/josenavas/gists{/gist_id}","starred_url":"https://api.github.com/users/josenavas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josenavas/subscriptions","organizations_url":"https://api.github.com/users/josenavas/orgs","repos_url":"https://api.github.com/users/josenavas/repos","events_url":"https://api.github.com/users/josenavas/events{/privacy}","received_events_url":"https://api.github.com/users/josenavas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-09T16:49:37Z","updated_at":"2016-03-09T19:04:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/biocore/qiita/pulls/1679","html_url":"https://github.com/biocore/qiita/pull/1679","diff_url":"https://github.com/biocore/qiita/pull/1679.diff","patch_url":"https://github.com/biocore/qiita/pull/1679.patch"},"body":"In the previous implementation, the addition of the prep info and the first artifact was forced to occur at the same point. We used that strategy at the beginning of Qiita and we changed it later because that did not follow the workflow.\r\n\r\nAt the same time, if the artifact creation fail for whatever reason, the entire page was broke and the user was not able to see the study page again.\r\n\r\nHere, the addition of the artifact is removed from the addition of the prep information.\r\nAt this point, artifacts can't be added, but that will be added in the next PR, to keep them small.\r\nThus, the interface is broken at this point BUT the tests should pass."},"comment":{"url":"https://api.github.com/repos/biocore/qiita/issues/comments/194455050","html_url":"https://github.com/biocore/qiita/pull/1679#issuecomment-194455050","issue_url":"https://api.github.com/repos/biocore/qiita/issues/1679","id":194455050,"user":{"login":"antgonza","id":2014559,"avatar_url":"https://avatars.githubusercontent.com/u/2014559?v=3","gravatar_id":"","url":"https://api.github.com/users/antgonza","html_url":"https://github.com/antgonza","followers_url":"https://api.github.com/users/antgonza/followers","following_url":"https://api.github.com/users/antgonza/following{/other_user}","gists_url":"https://api.github.com/users/antgonza/gists{/gist_id}","starred_url":"https://api.github.com/users/antgonza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antgonza/subscriptions","organizations_url":"https://api.github.com/users/antgonza/orgs","repos_url":"https://api.github.com/users/antgonza/repos","events_url":"https://api.github.com/users/antgonza/events{/privacy}","received_events_url":"https://api.github.com/users/antgonza/received_events","type":"User","site_admin":false},"created_at":"2016-03-09T19:04:57Z","updated_at":"2016-03-09T19:04:57Z","body":"One minor comment, then :+1: @squirrelo or @ElDeveloper could you review? "}}