{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular.js/issues/10850","labels_url":"https://api.github.com/repos/angular/angular.js/issues/10850/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular.js/issues/10850/comments","events_url":"https://api.github.com/repos/angular/angular.js/issues/10850/events","html_url":"https://github.com/angular/angular.js/pull/10850","id":55338892,"number":10850,"title":"fix(ngModel): fix issues when parserName is same as validator key","user":{"login":"Narretz","id":1153097,"avatar_url":"https://avatars.githubusercontent.com/u/1153097?v=3","gravatar_id":"","url":"https://api.github.com/users/Narretz","html_url":"https://github.com/Narretz","followers_url":"https://api.github.com/users/Narretz/followers","following_url":"https://api.github.com/users/Narretz/following{/other_user}","gists_url":"https://api.github.com/users/Narretz/gists{/gist_id}","starred_url":"https://api.github.com/users/Narretz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Narretz/subscriptions","organizations_url":"https://api.github.com/users/Narretz/orgs","repos_url":"https://api.github.com/users/Narretz/repos","events_url":"https://api.github.com/users/Narretz/events{/privacy}","received_events_url":"https://api.github.com/users/Narretz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/angular.js/labels/cla:%20yes","name":"cla: yes","color":"bfe5bf"},{"url":"https://api.github.com/repos/angular/angular.js/labels/component:%20forms","name":"component: forms","color":"7B947B"},{"url":"https://api.github.com/repos/angular/angular.js/labels/frequency:%20low","name":"frequency: low","color":"bfe5bf"},{"url":"https://api.github.com/repos/angular/angular.js/labels/severity:%20broken%20expected%20use","name":"severity: broken expected use","color":"fbda00"},{"url":"https://api.github.com/repos/angular/angular.js/labels/severity:%20regression","name":"severity: regression","color":"e11d21"},{"url":"https://api.github.com/repos/angular/angular.js/labels/type:%20bug","name":"type: bug","color":"000000"}],"state":"closed","locked":false,"assignee":{"login":"petebacondarwin","id":15655,"avatar_url":"https://avatars.githubusercontent.com/u/15655?v=3","gravatar_id":"","url":"https://api.github.com/users/petebacondarwin","html_url":"https://github.com/petebacondarwin","followers_url":"https://api.github.com/users/petebacondarwin/followers","following_url":"https://api.github.com/users/petebacondarwin/following{/other_user}","gists_url":"https://api.github.com/users/petebacondarwin/gists{/gist_id}","starred_url":"https://api.github.com/users/petebacondarwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petebacondarwin/subscriptions","organizations_url":"https://api.github.com/users/petebacondarwin/orgs","repos_url":"https://api.github.com/users/petebacondarwin/repos","events_url":"https://api.github.com/users/petebacondarwin/events{/privacy}","received_events_url":"https://api.github.com/users/petebacondarwin/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/angular/angular.js/milestones/86","labels_url":"https://api.github.com/repos/angular/angular.js/milestones/86/labels","id":964380,"number":86,"title":"1.4.0-beta.5 / 1.3.14","description":"","creator":{"login":"petebacondarwin","id":15655,"avatar_url":"https://avatars.githubusercontent.com/u/15655?v=3","gravatar_id":"","url":"https://api.github.com/users/petebacondarwin","html_url":"https://github.com/petebacondarwin","followers_url":"https://api.github.com/users/petebacondarwin/followers","following_url":"https://api.github.com/users/petebacondarwin/following{/other_user}","gists_url":"https://api.github.com/users/petebacondarwin/gists{/gist_id}","starred_url":"https://api.github.com/users/petebacondarwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petebacondarwin/subscriptions","organizations_url":"https://api.github.com/users/petebacondarwin/orgs","repos_url":"https://api.github.com/users/petebacondarwin/repos","events_url":"https://api.github.com/users/petebacondarwin/events{/privacy}","received_events_url":"https://api.github.com/users/petebacondarwin/received_events","type":"User","site_admin":false},"open_issues":29,"closed_issues":7,"state":"open","created_at":"2015-02-03T20:58:32Z","updated_at":"2015-02-13T12:36:01Z","due_on":"2015-02-16T00:00:00Z","closed_at":null},"comments":2,"created_at":"2015-01-23T22:02:38Z","updated_at":"2015-02-13T12:53:16Z","closed_at":"2015-02-13T12:36:01Z","pull_request":{"url":"https://api.github.com/repos/angular/angular.js/pulls/10850","html_url":"https://github.com/angular/angular.js/pull/10850","diff_url":"https://github.com/angular/angular.js/pull/10850.diff","patch_url":"https://github.com/angular/angular.js/pull/10850.patch"},"body":"For $validate(), it is necessary to store the parseError state\r\nin the controller. Otherwise, if the parser name equals a validator\r\nkey, $validate() will assume a parse error occured if the validator\r\nis invalid.\r\n\r\nAlso, setting the validity for the parser now happens after setting\r\nvalidity for the validator key. Otherwise, the parse key is set,\r\nand then immediately afterwards the validator key is unset\r\n(because parse errors remove all other validations).\r\n\r\nFixes #10698\r\nCloses #10828"},"comment":{"url":"https://api.github.com/repos/angular/angular.js/issues/comments/74249164","html_url":"https://github.com/angular/angular.js/pull/10850#issuecomment-74249164","issue_url":"https://api.github.com/repos/angular/angular.js/issues/10850","id":74249164,"user":{"login":"petebacondarwin","id":15655,"avatar_url":"https://avatars.githubusercontent.com/u/15655?v=3","gravatar_id":"","url":"https://api.github.com/users/petebacondarwin","html_url":"https://github.com/petebacondarwin","followers_url":"https://api.github.com/users/petebacondarwin/followers","following_url":"https://api.github.com/users/petebacondarwin/following{/other_user}","gists_url":"https://api.github.com/users/petebacondarwin/gists{/gist_id}","starred_url":"https://api.github.com/users/petebacondarwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petebacondarwin/subscriptions","organizations_url":"https://api.github.com/users/petebacondarwin/orgs","repos_url":"https://api.github.com/users/petebacondarwin/repos","events_url":"https://api.github.com/users/petebacondarwin/events{/privacy}","received_events_url":"https://api.github.com/users/petebacondarwin/received_events","type":"User","site_admin":false},"created_at":"2015-02-13T12:53:16Z","updated_at":"2015-02-13T12:53:16Z","body":"Oh! Sorry @Narretz - when I squashed I attributed it to me instead of you. I am sorry about that - I will not do it again. Great work."}}