{"action":"opened","number":300,"pull_request":{"url":"https://api.github.com/repos/sonata-project/ecommerce/pulls/300","id":27596288,"html_url":"https://github.com/sonata-project/ecommerce/pull/300","diff_url":"https://github.com/sonata-project/ecommerce/pull/300.diff","patch_url":"https://github.com/sonata-project/ecommerce/pull/300.patch","issue_url":"https://api.github.com/repos/sonata-project/ecommerce/issues/300","number":300,"state":"open","locked":false,"title":"Throw exception when wrong sort field passed in API basket and API customer","user":{"login":"bdejacobet","id":1875787,"avatar_url":"https://avatars.githubusercontent.com/u/1875787?v=3","gravatar_id":"","url":"https://api.github.com/users/bdejacobet","html_url":"https://github.com/bdejacobet","followers_url":"https://api.github.com/users/bdejacobet/followers","following_url":"https://api.github.com/users/bdejacobet/following{/other_user}","gists_url":"https://api.github.com/users/bdejacobet/gists{/gist_id}","starred_url":"https://api.github.com/users/bdejacobet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdejacobet/subscriptions","organizations_url":"https://api.github.com/users/bdejacobet/orgs","repos_url":"https://api.github.com/users/bdejacobet/repos","events_url":"https://api.github.com/users/bdejacobet/events{/privacy}","received_events_url":"https://api.github.com/users/bdejacobet/received_events","type":"User","site_admin":false},"body":"Throw exception when wrong sort field passed\r\nTests were updated","created_at":"2015-01-19T10:15:50Z","updated_at":"2015-01-19T10:15:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sonata-project/ecommerce/pulls/300/commits","review_comments_url":"https://api.github.com/repos/sonata-project/ecommerce/pulls/300/comments","review_comment_url":"https://api.github.com/repos/sonata-project/ecommerce/pulls/comments/{number}","comments_url":"https://api.github.com/repos/sonata-project/ecommerce/issues/300/comments","statuses_url":"https://api.github.com/repos/sonata-project/ecommerce/statuses/d799e64f218de08f5fefe86ae889320f376cbbb8","head":{"label":"bdejacobet:sort_exception","ref":"sort_exception","sha":"d799e64f218de08f5fefe86ae889320f376cbbb8","user":{"login":"bdejacobet","id":1875787,"avatar_url":"https://avatars.githubusercontent.com/u/1875787?v=3","gravatar_id":"","url":"https://api.github.com/users/bdejacobet","html_url":"https://github.com/bdejacobet","followers_url":"https://api.github.com/users/bdejacobet/followers","following_url":"https://api.github.com/users/bdejacobet/following{/other_user}","gists_url":"https://api.github.com/users/bdejacobet/gists{/gist_id}","starred_url":"https://api.github.com/users/bdejacobet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdejacobet/subscriptions","organizations_url":"https://api.github.com/users/bdejacobet/orgs","repos_url":"https://api.github.com/users/bdejacobet/repos","events_url":"https://api.github.com/users/bdejacobet/events{/privacy}","received_events_url":"https://api.github.com/users/bdejacobet/received_events","type":"User","site_admin":false},"repo":{"id":29141271,"name":"ecommerce","full_name":"bdejacobet/ecommerce","owner":{"login":"bdejacobet","id":1875787,"avatar_url":"https://avatars.githubusercontent.com/u/1875787?v=3","gravatar_id":"","url":"https://api.github.com/users/bdejacobet","html_url":"https://github.com/bdejacobet","followers_url":"https://api.github.com/users/bdejacobet/followers","following_url":"https://api.github.com/users/bdejacobet/following{/other_user}","gists_url":"https://api.github.com/users/bdejacobet/gists{/gist_id}","starred_url":"https://api.github.com/users/bdejacobet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdejacobet/subscriptions","organizations_url":"https://api.github.com/users/bdejacobet/orgs","repos_url":"https://api.github.com/users/bdejacobet/repos","events_url":"https://api.github.com/users/bdejacobet/events{/privacy}","received_events_url":"https://api.github.com/users/bdejacobet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bdejacobet/ecommerce","description":"An e-commerce framework solution based on Symfony2","fork":true,"url":"https://api.github.com/repos/bdejacobet/ecommerce","forks_url":"https://api.github.com/repos/bdejacobet/ecommerce/forks","keys_url":"https://api.github.com/repos/bdejacobet/ecommerce/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bdejacobet/ecommerce/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bdejacobet/ecommerce/teams","hooks_url":"https://api.github.com/repos/bdejacobet/ecommerce/hooks","issue_events_url":"https://api.github.com/repos/bdejacobet/ecommerce/issues/events{/number}","events_url":"https://api.github.com/repos/bdejacobet/ecommerce/events","assignees_url":"https://api.github.com/repos/bdejacobet/ecommerce/assignees{/user}","branches_url":"https://api.github.com/repos/bdejacobet/ecommerce/branches{/branch}","tags_url":"https://api.github.com/repos/bdejacobet/ecommerce/tags","blobs_url":"https://api.github.com/repos/bdejacobet/ecommerce/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bdejacobet/ecommerce/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bdejacobet/ecommerce/git/refs{/sha}","trees_url":"https://api.github.com/repos/bdejacobet/ecommerce/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bdejacobet/ecommerce/statuses/{sha}","languages_url":"https://api.github.com/repos/bdejacobet/ecommerce/languages","stargazers_url":"https://api.github.com/repos/bdejacobet/ecommerce/stargazers","contributors_url":"https://api.github.com/repos/bdejacobet/ecommerce/contributors","subscribers_url":"https://api.github.com/repos/bdejacobet/ecommerce/subscribers","subscription_url":"https://api.github.com/repos/bdejacobet/ecommerce/subscription","commits_url":"https://api.github.com/repos/bdejacobet/ecommerce/commits{/sha}","git_commits_url":"https://api.github.com/repos/bdejacobet/ecommerce/git/commits{/sha}","comments_url":"https://api.github.com/repos/bdejacobet/ecommerce/comments{/number}","issue_comment_url":"https://api.github.com/repos/bdejacobet/ecommerce/issues/comments/{number}","contents_url":"https://api.github.com/repos/bdejacobet/ecommerce/contents/{+path}","compare_url":"https://api.github.com/repos/bdejacobet/ecommerce/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bdejacobet/ecommerce/merges","archive_url":"https://api.github.com/repos/bdejacobet/ecommerce/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bdejacobet/ecommerce/downloads","issues_url":"https://api.github.com/repos/bdejacobet/ecommerce/issues{/number}","pulls_url":"https://api.github.com/repos/bdejacobet/ecommerce/pulls{/number}","milestones_url":"https://api.github.com/repos/bdejacobet/ecommerce/milestones{/number}","notifications_url":"https://api.github.com/repos/bdejacobet/ecommerce/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bdejacobet/ecommerce/labels{/name}","releases_url":"https://api.github.com/repos/bdejacobet/ecommerce/releases{/id}","created_at":"2015-01-12T15:17:05Z","updated_at":"2015-01-12T15:17:06Z","pushed_at":"2015-01-19T10:11:52Z","git_url":"git://github.com/bdejacobet/ecommerce.git","ssh_url":"git@github.com:bdejacobet/ecommerce.git","clone_url":"https://github.com/bdejacobet/ecommerce.git","svn_url":"https://github.com/bdejacobet/ecommerce","homepage":"http:///www.sonata-project.org","size":16481,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sonata-project:develop","ref":"develop","sha":"2ed485b0dc7df6fb0f8ffcef3847ae684a797d14","user":{"login":"sonata-project","id":404157,"avatar_url":"https://avatars.githubusercontent.com/u/404157?v=3","gravatar_id":"","url":"https://api.github.com/users/sonata-project","html_url":"https://github.com/sonata-project","followers_url":"https://api.github.com/users/sonata-project/followers","following_url":"https://api.github.com/users/sonata-project/following{/other_user}","gists_url":"https://api.github.com/users/sonata-project/gists{/gist_id}","starred_url":"https://api.github.com/users/sonata-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonata-project/subscriptions","organizations_url":"https://api.github.com/users/sonata-project/orgs","repos_url":"https://api.github.com/users/sonata-project/repos","events_url":"https://api.github.com/users/sonata-project/events{/privacy}","received_events_url":"https://api.github.com/users/sonata-project/received_events","type":"Organization","site_admin":false},"repo":{"id":942565,"name":"ecommerce","full_name":"sonata-project/ecommerce","owner":{"login":"sonata-project","id":404157,"avatar_url":"https://avatars.githubusercontent.com/u/404157?v=3","gravatar_id":"","url":"https://api.github.com/users/sonata-project","html_url":"https://github.com/sonata-project","followers_url":"https://api.github.com/users/sonata-project/followers","following_url":"https://api.github.com/users/sonata-project/following{/other_user}","gists_url":"https://api.github.com/users/sonata-project/gists{/gist_id}","starred_url":"https://api.github.com/users/sonata-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonata-project/subscriptions","organizations_url":"https://api.github.com/users/sonata-project/orgs","repos_url":"https://api.github.com/users/sonata-project/repos","events_url":"https://api.github.com/users/sonata-project/events{/privacy}","received_events_url":"https://api.github.com/users/sonata-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sonata-project/ecommerce","description":"An e-commerce framework solution based on Symfony2","fork":false,"url":"https://api.github.com/repos/sonata-project/ecommerce","forks_url":"https://api.github.com/repos/sonata-project/ecommerce/forks","keys_url":"https://api.github.com/repos/sonata-project/ecommerce/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sonata-project/ecommerce/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sonata-project/ecommerce/teams","hooks_url":"https://api.github.com/repos/sonata-project/ecommerce/hooks","issue_events_url":"https://api.github.com/repos/sonata-project/ecommerce/issues/events{/number}","events_url":"https://api.github.com/repos/sonata-project/ecommerce/events","assignees_url":"https://api.github.com/repos/sonata-project/ecommerce/assignees{/user}","branches_url":"https://api.github.com/repos/sonata-project/ecommerce/branches{/branch}","tags_url":"https://api.github.com/repos/sonata-project/ecommerce/tags","blobs_url":"https://api.github.com/repos/sonata-project/ecommerce/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sonata-project/ecommerce/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sonata-project/ecommerce/git/refs{/sha}","trees_url":"https://api.github.com/repos/sonata-project/ecommerce/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sonata-project/ecommerce/statuses/{sha}","languages_url":"https://api.github.com/repos/sonata-project/ecommerce/languages","stargazers_url":"https://api.github.com/repos/sonata-project/ecommerce/stargazers","contributors_url":"https://api.github.com/repos/sonata-project/ecommerce/contributors","subscribers_url":"https://api.github.com/repos/sonata-project/ecommerce/subscribers","subscription_url":"https://api.github.com/repos/sonata-project/ecommerce/subscription","commits_url":"https://api.github.com/repos/sonata-project/ecommerce/commits{/sha}","git_commits_url":"https://api.github.com/repos/sonata-project/ecommerce/git/commits{/sha}","comments_url":"https://api.github.com/repos/sonata-project/ecommerce/comments{/number}","issue_comment_url":"https://api.github.com/repos/sonata-project/ecommerce/issues/comments/{number}","contents_url":"https://api.github.com/repos/sonata-project/ecommerce/contents/{+path}","compare_url":"https://api.github.com/repos/sonata-project/ecommerce/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sonata-project/ecommerce/merges","archive_url":"https://api.github.com/repos/sonata-project/ecommerce/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sonata-project/ecommerce/downloads","issues_url":"https://api.github.com/repos/sonata-project/ecommerce/issues{/number}","pulls_url":"https://api.github.com/repos/sonata-project/ecommerce/pulls{/number}","milestones_url":"https://api.github.com/repos/sonata-project/ecommerce/milestones{/number}","notifications_url":"https://api.github.com/repos/sonata-project/ecommerce/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sonata-project/ecommerce/labels{/name}","releases_url":"https://api.github.com/repos/sonata-project/ecommerce/releases{/id}","created_at":"2010-09-27T13:31:55Z","updated_at":"2015-01-09T10:37:29Z","pushed_at":"2015-01-16T13:23:44Z","git_url":"git://github.com/sonata-project/ecommerce.git","ssh_url":"git@github.com:sonata-project/ecommerce.git","clone_url":"https://github.com/sonata-project/ecommerce.git","svn_url":"https://github.com/sonata-project/ecommerce","homepage":"http:///www.sonata-project.org","size":18738,"stargazers_count":45,"watchers_count":45,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":42,"mirror_url":null,"open_issues_count":39,"forks":42,"open_issues":39,"watchers":45,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sonata-project/ecommerce/pulls/300"},"html":{"href":"https://github.com/sonata-project/ecommerce/pull/300"},"issue":{"href":"https://api.github.com/repos/sonata-project/ecommerce/issues/300"},"comments":{"href":"https://api.github.com/repos/sonata-project/ecommerce/issues/300/comments"},"review_comments":{"href":"https://api.github.com/repos/sonata-project/ecommerce/pulls/300/comments"},"review_comment":{"href":"https://api.github.com/repos/sonata-project/ecommerce/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/sonata-project/ecommerce/pulls/300/commits"},"statuses":{"href":"https://api.github.com/repos/sonata-project/ecommerce/statuses/d799e64f218de08f5fefe86ae889320f376cbbb8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":12,"deletions":17,"changed_files":4}}