{"action":"opened","number":1340,"pull_request":{"url":"https://api.github.com/repos/galaxyproject/galaxy/pulls/1340","id":53849649,"html_url":"https://github.com/galaxyproject/galaxy/pull/1340","diff_url":"https://github.com/galaxyproject/galaxy/pull/1340.diff","patch_url":"https://github.com/galaxyproject/galaxy/pull/1340.patch","issue_url":"https://api.github.com/repos/galaxyproject/galaxy/issues/1340","number":1340,"state":"open","locked":false,"title":"Don't bother querying on unencoded IDs for error form","user":{"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},"body":"This generates really, really ugly database logs:\r\n\r\n```\r\ngalaxydb_1 | ERROR:  invalid input syntax for integer: \"ad358f505df89510\" at character 2775\r\ngalaxydb_1 | STATEMENT:  DECLARE \"c_7f369b315110_2e6f\" CURSOR WITHOUT HOLD FOR SELECT \r\n      history_dataset_association.id AS history_dataset_association_id, \r\n      history_dataset_association.history_id AS history_dataset_association_history_id,\r\n      history_dataset_association.dataset_id AS history_dataset_association_dataset_id, \r\n      history_dataset_association.create_time AS history_dataset_association_create_time, \r\n      history_dataset_association.update_time AS history_dataset_association_update_time, \r\n      history_dataset_association.state AS history_dataset_association_state, \r\n      history_dataset_association.copied_from_history_dataset_association_id AS \r\n      history_dataset_association_copied_from_history_dataset_a_1, \r\n      history_dataset_association.copied_from_library_dataset_dataset_association_id AS \r\n      history_dataset_association_copied_from_library_dataset_d_2,\r\n      history_dataset_association.name AS history_dataset_association_name, \r\n      history_dataset_association.info AS history_dataset_association_info, \r\n      history_dataset_association.blurb AS history_dataset_association_blurb, \r\n      history_dataset_association.peek AS history_dataset_association_peek, \r\n      history_dataset_association.tool_version AS history_dataset_association_tool_version, \r\n      history_dataset_association.extension AS history_dataset_association_extension, \r\n      history_dataset_association.metadata AS history_dataset_association_metadata, \r\n      history_dataset_association.parent_id AS history_dataset_association_parent_id, \r\n      history_dataset_association.designation AS history_dataset_association_designation, \r\n      history_dataset_association.deleted AS history_dataset_association_deleted, \r\n      history_dataset_association.visible AS history_dataset_association_visible, \r\n      history_dataset_association.extended_metadata_id AS \r\n      history_dataset_association_extended_metadata_id, history_dataset_association.hid AS \r\n      history_dataset_association_hid, history_dataset_association.purged AS \r\n      history_dataset_association_purged, \r\n      history_dataset_association.hidden_beneath_collection_instance_id AS \r\n      history_dataset_association_hidden_beneath_collection_ins_3,\r\n      dataset_1.id AS dataset_1_id, dataset_1.create_time AS dataset_1_create_time, \r\n      dataset_1.update_time AS dataset_1_update_time, dataset_1.state AS dataset_1_state, \r\n      dataset_1.deleted AS dataset_1_deleted, dataset_1.purged AS dataset_1_purged, \r\n      dataset_1.purgable AS dataset_1_purgable, dataset_1.object_store_id AS \r\n      dataset_1_object_store_id, dataset_1.external_filename AS dataset_1_external_filename, \r\n      dataset_1._extra_files_path AS dataset_1__extra_files_path, dataset_1.file_size AS \r\n      dataset_1_file_size, dataset_1.total_size AS dataset_1_total_size, dataset_1.uuid \r\n      AS dataset_1_uuid \r\ngalaxydb_1 |    FROM history_dataset_association LEFT OUTER JOIN dataset AS dataset_1 ON dataset_1.id = history_dataset_association.dataset_id \r\ngalaxydb_1 |    WHERE history_dataset_association.id = 'ad358f505df89510'\r\n```\r\n","created_at":"2015-12-16T14:44:22Z","updated_at":"2015-12-16T14:44:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/galaxyproject/galaxy/pulls/1340/commits","review_comments_url":"https://api.github.com/repos/galaxyproject/galaxy/pulls/1340/comments","review_comment_url":"https://api.github.com/repos/galaxyproject/galaxy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/galaxyproject/galaxy/issues/1340/comments","statuses_url":"https://api.github.com/repos/galaxyproject/galaxy/statuses/f1c36485c1ecef33667f3c35bad44899233d04f5","head":{"label":"erasche:id_decoding","ref":"id_decoding","sha":"f1c36485c1ecef33667f3c35bad44899233d04f5","user":{"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},"repo":{"id":32467598,"name":"galaxy","full_name":"erasche/galaxy","owner":{"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},"private":false,"html_url":"https://github.com/erasche/galaxy","description":"Data intensive biology for everyone.","fork":true,"url":"https://api.github.com/repos/erasche/galaxy","forks_url":"https://api.github.com/repos/erasche/galaxy/forks","keys_url":"https://api.github.com/repos/erasche/galaxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/erasche/galaxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/erasche/galaxy/teams","hooks_url":"https://api.github.com/repos/erasche/galaxy/hooks","issue_events_url":"https://api.github.com/repos/erasche/galaxy/issues/events{/number}","events_url":"https://api.github.com/repos/erasche/galaxy/events","assignees_url":"https://api.github.com/repos/erasche/galaxy/assignees{/user}","branches_url":"https://api.github.com/repos/erasche/galaxy/branches{/branch}","tags_url":"https://api.github.com/repos/erasche/galaxy/tags","blobs_url":"https://api.github.com/repos/erasche/galaxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/erasche/galaxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/erasche/galaxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/erasche/galaxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/erasche/galaxy/statuses/{sha}","languages_url":"https://api.github.com/repos/erasche/galaxy/languages","stargazers_url":"https://api.github.com/repos/erasche/galaxy/stargazers","contributors_url":"https://api.github.com/repos/erasche/galaxy/contributors","subscribers_url":"https://api.github.com/repos/erasche/galaxy/subscribers","subscription_url":"https://api.github.com/repos/erasche/galaxy/subscription","commits_url":"https://api.github.com/repos/erasche/galaxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/erasche/galaxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/erasche/galaxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/erasche/galaxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/erasche/galaxy/contents/{+path}","compare_url":"https://api.github.com/repos/erasche/galaxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/erasche/galaxy/merges","archive_url":"https://api.github.com/repos/erasche/galaxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/erasche/galaxy/downloads","issues_url":"https://api.github.com/repos/erasche/galaxy/issues{/number}","pulls_url":"https://api.github.com/repos/erasche/galaxy/pulls{/number}","milestones_url":"https://api.github.com/repos/erasche/galaxy/milestones{/number}","notifications_url":"https://api.github.com/repos/erasche/galaxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/erasche/galaxy/labels{/name}","releases_url":"https://api.github.com/repos/erasche/galaxy/releases{/id}","created_at":"2015-03-18T15:37:04Z","updated_at":"2015-05-07T16:22:05Z","pushed_at":"2015-12-16T14:42:04Z","git_url":"git://github.com/erasche/galaxy.git","ssh_url":"git@github.com:erasche/galaxy.git","clone_url":"https://github.com/erasche/galaxy.git","svn_url":"https://github.com/erasche/galaxy","homepage":"http://galaxyproject.org/","size":75744,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"dev"}},"base":{"label":"galaxyproject:dev","ref":"dev","sha":"0c8df84685c587322f6c3b83ea45c0b20819d3ab","user":{"login":"galaxyproject","id":7937847,"avatar_url":"https://avatars.githubusercontent.com/u/7937847?v=3","gravatar_id":"","url":"https://api.github.com/users/galaxyproject","html_url":"https://github.com/galaxyproject","followers_url":"https://api.github.com/users/galaxyproject/followers","following_url":"https://api.github.com/users/galaxyproject/following{/other_user}","gists_url":"https://api.github.com/users/galaxyproject/gists{/gist_id}","starred_url":"https://api.github.com/users/galaxyproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galaxyproject/subscriptions","organizations_url":"https://api.github.com/users/galaxyproject/orgs","repos_url":"https://api.github.com/users/galaxyproject/repos","events_url":"https://api.github.com/users/galaxyproject/events{/privacy}","received_events_url":"https://api.github.com/users/galaxyproject/received_events","type":"Organization","site_admin":false},"repo":{"id":31211061,"name":"galaxy","full_name":"galaxyproject/galaxy","owner":{"login":"galaxyproject","id":7937847,"avatar_url":"https://avatars.githubusercontent.com/u/7937847?v=3","gravatar_id":"","url":"https://api.github.com/users/galaxyproject","html_url":"https://github.com/galaxyproject","followers_url":"https://api.github.com/users/galaxyproject/followers","following_url":"https://api.github.com/users/galaxyproject/following{/other_user}","gists_url":"https://api.github.com/users/galaxyproject/gists{/gist_id}","starred_url":"https://api.github.com/users/galaxyproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galaxyproject/subscriptions","organizations_url":"https://api.github.com/users/galaxyproject/orgs","repos_url":"https://api.github.com/users/galaxyproject/repos","events_url":"https://api.github.com/users/galaxyproject/events{/privacy}","received_events_url":"https://api.github.com/users/galaxyproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/galaxyproject/galaxy","description":"Data intensive science for everyone.","fork":false,"url":"https://api.github.com/repos/galaxyproject/galaxy","forks_url":"https://api.github.com/repos/galaxyproject/galaxy/forks","keys_url":"https://api.github.com/repos/galaxyproject/galaxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/galaxyproject/galaxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/galaxyproject/galaxy/teams","hooks_url":"https://api.github.com/repos/galaxyproject/galaxy/hooks","issue_events_url":"https://api.github.com/repos/galaxyproject/galaxy/issues/events{/number}","events_url":"https://api.github.com/repos/galaxyproject/galaxy/events","assignees_url":"https://api.github.com/repos/galaxyproject/galaxy/assignees{/user}","branches_url":"https://api.github.com/repos/galaxyproject/galaxy/branches{/branch}","tags_url":"https://api.github.com/repos/galaxyproject/galaxy/tags","blobs_url":"https://api.github.com/repos/galaxyproject/galaxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/galaxyproject/galaxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/galaxyproject/galaxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/galaxyproject/galaxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/galaxyproject/galaxy/statuses/{sha}","languages_url":"https://api.github.com/repos/galaxyproject/galaxy/languages","stargazers_url":"https://api.github.com/repos/galaxyproject/galaxy/stargazers","contributors_url":"https://api.github.com/repos/galaxyproject/galaxy/contributors","subscribers_url":"https://api.github.com/repos/galaxyproject/galaxy/subscribers","subscription_url":"https://api.github.com/repos/galaxyproject/galaxy/subscription","commits_url":"https://api.github.com/repos/galaxyproject/galaxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/galaxyproject/galaxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/galaxyproject/galaxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/galaxyproject/galaxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/galaxyproject/galaxy/contents/{+path}","compare_url":"https://api.github.com/repos/galaxyproject/galaxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/galaxyproject/galaxy/merges","archive_url":"https://api.github.com/repos/galaxyproject/galaxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/galaxyproject/galaxy/downloads","issues_url":"https://api.github.com/repos/galaxyproject/galaxy/issues{/number}","pulls_url":"https://api.github.com/repos/galaxyproject/galaxy/pulls{/number}","milestones_url":"https://api.github.com/repos/galaxyproject/galaxy/milestones{/number}","notifications_url":"https://api.github.com/repos/galaxyproject/galaxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/galaxyproject/galaxy/labels{/name}","releases_url":"https://api.github.com/repos/galaxyproject/galaxy/releases{/id}","created_at":"2015-02-23T14:18:06Z","updated_at":"2015-12-13T22:36:10Z","pushed_at":"2015-12-16T12:45:31Z","git_url":"git://github.com/galaxyproject/galaxy.git","ssh_url":"git@github.com:galaxyproject/galaxy.git","clone_url":"https://github.com/galaxyproject/galaxy.git","svn_url":"https://github.com/galaxyproject/galaxy","homepage":"https://galaxyproject.org/","size":99128,"stargazers_count":91,"watchers_count":91,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":151,"mirror_url":null,"open_issues_count":208,"forks":151,"open_issues":208,"watchers":91,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/galaxyproject/galaxy/pulls/1340"},"html":{"href":"https://github.com/galaxyproject/galaxy/pull/1340"},"issue":{"href":"https://api.github.com/repos/galaxyproject/galaxy/issues/1340"},"comments":{"href":"https://api.github.com/repos/galaxyproject/galaxy/issues/1340/comments"},"review_comments":{"href":"https://api.github.com/repos/galaxyproject/galaxy/pulls/1340/comments"},"review_comment":{"href":"https://api.github.com/repos/galaxyproject/galaxy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/galaxyproject/galaxy/pulls/1340/commits"},"statuses":{"href":"https://api.github.com/repos/galaxyproject/galaxy/statuses/f1c36485c1ecef33667f3c35bad44899233d04f5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":6,"changed_files":1}}