{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/12651","repository_url":"https://api.github.com/repos/yiisoft/yii2","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/12651/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/12651/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/12651/events","html_url":"https://github.com/yiisoft/yii2/pull/12651","id":180526663,"number":12651,"title":"Fixed race condition in yii.js AJAX prefilter","user":{"login":"SilverFire","id":4499203,"avatar_url":"https://avatars.githubusercontent.com/u/4499203?v=3","gravatar_id":"","url":"https://api.github.com/users/SilverFire","html_url":"https://github.com/SilverFire","followers_url":"https://api.github.com/users/SilverFire/followers","following_url":"https://api.github.com/users/SilverFire/following{/other_user}","gists_url":"https://api.github.com/users/SilverFire/gists{/gist_id}","starred_url":"https://api.github.com/users/SilverFire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SilverFire/subscriptions","organizations_url":"https://api.github.com/users/SilverFire/orgs","repos_url":"https://api.github.com/users/SilverFire/repos","events_url":"https://api.github.com/users/SilverFire/events{/privacy}","received_events_url":"https://api.github.com/users/SilverFire/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yiisoft/yii2/labels/type:bug","name":"type:bug","color":"e102d8"}],"state":"open","locked":false,"assignee":{"login":"SilverFire","id":4499203,"avatar_url":"https://avatars.githubusercontent.com/u/4499203?v=3","gravatar_id":"","url":"https://api.github.com/users/SilverFire","html_url":"https://github.com/SilverFire","followers_url":"https://api.github.com/users/SilverFire/followers","following_url":"https://api.github.com/users/SilverFire/following{/other_user}","gists_url":"https://api.github.com/users/SilverFire/gists{/gist_id}","starred_url":"https://api.github.com/users/SilverFire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SilverFire/subscriptions","organizations_url":"https://api.github.com/users/SilverFire/orgs","repos_url":"https://api.github.com/users/SilverFire/repos","events_url":"https://api.github.com/users/SilverFire/events{/privacy}","received_events_url":"https://api.github.com/users/SilverFire/received_events","type":"User","site_admin":false},"assignees":[{"login":"SilverFire","id":4499203,"avatar_url":"https://avatars.githubusercontent.com/u/4499203?v=3","gravatar_id":"","url":"https://api.github.com/users/SilverFire","html_url":"https://github.com/SilverFire","followers_url":"https://api.github.com/users/SilverFire/followers","following_url":"https://api.github.com/users/SilverFire/following{/other_user}","gists_url":"https://api.github.com/users/SilverFire/gists{/gist_id}","starred_url":"https://api.github.com/users/SilverFire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SilverFire/subscriptions","organizations_url":"https://api.github.com/users/SilverFire/orgs","repos_url":"https://api.github.com/users/SilverFire/repos","events_url":"https://api.github.com/users/SilverFire/events{/privacy}","received_events_url":"https://api.github.com/users/SilverFire/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/yiisoft/yii2/milestones/18","html_url":"https://github.com/yiisoft/yii2/milestones/2.0.10","labels_url":"https://api.github.com/repos/yiisoft/yii2/milestones/18/labels","id":1679982,"number":18,"title":"2.0.10","description":"","creator":{"login":"cebe","id":189796,"avatar_url":"https://avatars.githubusercontent.com/u/189796?v=3","gravatar_id":"","url":"https://api.github.com/users/cebe","html_url":"https://github.com/cebe","followers_url":"https://api.github.com/users/cebe/followers","following_url":"https://api.github.com/users/cebe/following{/other_user}","gists_url":"https://api.github.com/users/cebe/gists{/gist_id}","starred_url":"https://api.github.com/users/cebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cebe/subscriptions","organizations_url":"https://api.github.com/users/cebe/orgs","repos_url":"https://api.github.com/users/cebe/repos","events_url":"https://api.github.com/users/cebe/events{/privacy}","received_events_url":"https://api.github.com/users/cebe/received_events","type":"User","site_admin":false},"open_issues":49,"closed_issues":171,"state":"open","created_at":"2016-04-03T04:39:22Z","updated_at":"2016-10-03T08:22:13Z","due_on":"2016-09-10T22:00:00Z","closed_at":null},"comments":5,"created_at":"2016-10-02T18:31:26Z","updated_at":"2016-10-03T10:19:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/yiisoft/yii2/pulls/12651","html_url":"https://github.com/yiisoft/yii2/pull/12651","diff_url":"https://github.com/yiisoft/yii2/pull/12651.diff","patch_url":"https://github.com/yiisoft/yii2/pull/12651.patch"},"body":"| Q             | A\r\n| ------------- | ---\r\n| Is bugfix?    | yes\r\n| New feature?  | no\r\n| Breaks BC?    | no\r\n| Tests pass?   | JS\r\n| Fixed issues  | #10358\r\n\r\nCloses #10358\r\n\r\nThe PR fixes race condition in AJAX prefilter.\r\n\r\nWaiting for reviews from someone else.\r\n\r\n@nkovacs "},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/comments/251072939","html_url":"https://github.com/yiisoft/yii2/pull/12651#issuecomment-251072939","issue_url":"https://api.github.com/repos/yiisoft/yii2/issues/12651","id":251072939,"user":{"login":"nkovacs","id":2269242,"avatar_url":"https://avatars.githubusercontent.com/u/2269242?v=3","gravatar_id":"","url":"https://api.github.com/users/nkovacs","html_url":"https://github.com/nkovacs","followers_url":"https://api.github.com/users/nkovacs/followers","following_url":"https://api.github.com/users/nkovacs/following{/other_user}","gists_url":"https://api.github.com/users/nkovacs/gists{/gist_id}","starred_url":"https://api.github.com/users/nkovacs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nkovacs/subscriptions","organizations_url":"https://api.github.com/users/nkovacs/orgs","repos_url":"https://api.github.com/users/nkovacs/repos","events_url":"https://api.github.com/users/nkovacs/events{/privacy}","received_events_url":"https://api.github.com/users/nkovacs/received_events","type":"User","site_admin":false},"created_at":"2016-10-03T10:19:41Z","updated_at":"2016-10-03T10:19:41Z","body":"I can still reproduce the same error sometimes: Uncaught TypeError: jQuery(...).yiiActiveForm is not a function\r\nBut I'm not sure why, this should work.\r\n\r\nI modified the basic template to add pjax to the entire page.\r\nThis is what my network tab looks like when the error happens:\r\n\r\ncontact.php (basic template's contact page)\r\nyii.validation.js\r\nyii.captcha.js\r\ncontact.php (second, slightly delayed click on contact link in menu)\r\nyii.activeform.js\r\n\r\nI use chrome's throttling to slow down everything, so I can more easily reproduce the bug."}}
{"actor":{"display_login":"nkovacs"}}