{"action":"created","issue":{"url":"https://api.github.com/repos/chembl/curation-interface/issues/124","labels_url":"https://api.github.com/repos/chembl/curation-interface/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/chembl/curation-interface/issues/124/comments","events_url":"https://api.github.com/repos/chembl/curation-interface/issues/124/events","html_url":"https://github.com/chembl/curation-interface/issues/124","id":86615716,"number":124,"title":"When entering  a new compound record, default should be linked to a specific source","user":{"login":"ljbellis","id":9843928,"avatar_url":"https://avatars.githubusercontent.com/u/9843928?v=3","gravatar_id":"","url":"https://api.github.com/users/ljbellis","html_url":"https://github.com/ljbellis","followers_url":"https://api.github.com/users/ljbellis/followers","following_url":"https://api.github.com/users/ljbellis/following{/other_user}","gists_url":"https://api.github.com/users/ljbellis/gists{/gist_id}","starred_url":"https://api.github.com/users/ljbellis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljbellis/subscriptions","organizations_url":"https://api.github.com/users/ljbellis/orgs","repos_url":"https://api.github.com/users/ljbellis/repos","events_url":"https://api.github.com/users/ljbellis/events{/privacy}","received_events_url":"https://api.github.com/users/ljbellis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chembl/curation-interface/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/chembl/curation-interface/labels/critical","name":"critical","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-09T14:21:52Z","updated_at":"2015-08-06T15:18:20Z","closed_at":null,"body":"When in a compound window and choosing + for a new record,  you click on Find Document and choose DEFAULT.\r\n\r\nThis populates the Document ID with a -1 but still allows you to choose a source.\r\n\r\nYou shouldn't be able to choose the source. It should be automatically set to 'Unpublished dataset' as in the DB.\r\n\r\nCan this be changed please?\r\n\r\n\r\n![default](https://cloud.githubusercontent.com/assets/9843928/8060097/3a92280a-0ebb-11e5-8a30-38bb1f49568b.jpg)\r\n"},"comment":{"url":"https://api.github.com/repos/chembl/curation-interface/issues/comments/128408276","html_url":"https://github.com/chembl/curation-interface/issues/124#issuecomment-128408276","issue_url":"https://api.github.com/repos/chembl/curation-interface/issues/124","id":128408276,"user":{"login":"mnowotka","id":837119,"avatar_url":"https://avatars.githubusercontent.com/u/837119?v=3","gravatar_id":"","url":"https://api.github.com/users/mnowotka","html_url":"https://github.com/mnowotka","followers_url":"https://api.github.com/users/mnowotka/followers","following_url":"https://api.github.com/users/mnowotka/following{/other_user}","gists_url":"https://api.github.com/users/mnowotka/gists{/gist_id}","starred_url":"https://api.github.com/users/mnowotka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnowotka/subscriptions","organizations_url":"https://api.github.com/users/mnowotka/orgs","repos_url":"https://api.github.com/users/mnowotka/repos","events_url":"https://api.github.com/users/mnowotka/events{/privacy}","received_events_url":"https://api.github.com/users/mnowotka/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T15:18:20Z","updated_at":"2015-08-06T15:18:20Z","body":"There is no such record as 'Unpublished data set' in the Source table. 'Unpublished data set' is just a title of a Document record with doc_id = (-1). So there is no sensible special Source id I could assign in this case. Because this is a data issue I'm leaving this for Anna."}}