{"action":"opened","number":3752,"pull_request":{"url":"https://api.github.com/repos/yiisoft/yii/pulls/3752","id":29336938,"html_url":"https://github.com/yiisoft/yii/pull/3752","diff_url":"https://github.com/yiisoft/yii/pull/3752.diff","patch_url":"https://github.com/yiisoft/yii/pull/3752.patch","issue_url":"https://api.github.com/repos/yiisoft/yii/issues/3752","number":3752,"state":"open","locked":false,"title":"Support of brackets syntax for attribute names in CForm for issue #3331 and #613","user":{"login":"SleepWalker","id":2536916,"avatar_url":"https://avatars.githubusercontent.com/u/2536916?v=3","gravatar_id":"","url":"https://api.github.com/users/SleepWalker","html_url":"https://github.com/SleepWalker","followers_url":"https://api.github.com/users/SleepWalker/followers","following_url":"https://api.github.com/users/SleepWalker/following{/other_user}","gists_url":"https://api.github.com/users/SleepWalker/gists{/gist_id}","starred_url":"https://api.github.com/users/SleepWalker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SleepWalker/subscriptions","organizations_url":"https://api.github.com/users/SleepWalker/orgs","repos_url":"https://api.github.com/users/SleepWalker/repos","events_url":"https://api.github.com/users/SleepWalker/events{/privacy}","received_events_url":"https://api.github.com/users/SleepWalker/received_events","type":"User","site_admin":false},"body":"In my issue #3331 I wrote a little bit bad description. The problem was that `CFormInputElement` ignores brackets syntax for the attribute naming. The brackets are not filtered out from attribute name, while checking if attribute is safe and as result we become `false` for absolutely all (safe and unsafe) tabular attributes and the fields aren't rendered at all.\r\n\r\nThis issue is partially addressed in #613 too.","created_at":"2015-02-15T16:29:38Z","updated_at":"2015-02-15T16:29:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yiisoft/yii/pulls/3752/commits","review_comments_url":"https://api.github.com/repos/yiisoft/yii/pulls/3752/comments","review_comment_url":"https://api.github.com/repos/yiisoft/yii/pulls/comments/{number}","comments_url":"https://api.github.com/repos/yiisoft/yii/issues/3752/comments","statuses_url":"https://api.github.com/repos/yiisoft/yii/statuses/18bb2fdf79938a92c3ff9e176b4f50eef97d0457","head":{"label":"SleepWalker:3331-CForm-tabular","ref":"3331-CForm-tabular","sha":"18bb2fdf79938a92c3ff9e176b4f50eef97d0457","user":{"login":"SleepWalker","id":2536916,"avatar_url":"https://avatars.githubusercontent.com/u/2536916?v=3","gravatar_id":"","url":"https://api.github.com/users/SleepWalker","html_url":"https://github.com/SleepWalker","followers_url":"https://api.github.com/users/SleepWalker/followers","following_url":"https://api.github.com/users/SleepWalker/following{/other_user}","gists_url":"https://api.github.com/users/SleepWalker/gists{/gist_id}","starred_url":"https://api.github.com/users/SleepWalker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SleepWalker/subscriptions","organizations_url":"https://api.github.com/users/SleepWalker/orgs","repos_url":"https://api.github.com/users/SleepWalker/repos","events_url":"https://api.github.com/users/SleepWalker/events{/privacy}","received_events_url":"https://api.github.com/users/SleepWalker/received_events","type":"User","site_admin":false},"repo":{"id":11694811,"name":"yii","full_name":"SleepWalker/yii","owner":{"login":"SleepWalker","id":2536916,"avatar_url":"https://avatars.githubusercontent.com/u/2536916?v=3","gravatar_id":"","url":"https://api.github.com/users/SleepWalker","html_url":"https://github.com/SleepWalker","followers_url":"https://api.github.com/users/SleepWalker/followers","following_url":"https://api.github.com/users/SleepWalker/following{/other_user}","gists_url":"https://api.github.com/users/SleepWalker/gists{/gist_id}","starred_url":"https://api.github.com/users/SleepWalker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SleepWalker/subscriptions","organizations_url":"https://api.github.com/users/SleepWalker/orgs","repos_url":"https://api.github.com/users/SleepWalker/repos","events_url":"https://api.github.com/users/SleepWalker/events{/privacy}","received_events_url":"https://api.github.com/users/SleepWalker/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SleepWalker/yii","description":"Yii PHP Framework","fork":true,"url":"https://api.github.com/repos/SleepWalker/yii","forks_url":"https://api.github.com/repos/SleepWalker/yii/forks","keys_url":"https://api.github.com/repos/SleepWalker/yii/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SleepWalker/yii/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SleepWalker/yii/teams","hooks_url":"https://api.github.com/repos/SleepWalker/yii/hooks","issue_events_url":"https://api.github.com/repos/SleepWalker/yii/issues/events{/number}","events_url":"https://api.github.com/repos/SleepWalker/yii/events","assignees_url":"https://api.github.com/repos/SleepWalker/yii/assignees{/user}","branches_url":"https://api.github.com/repos/SleepWalker/yii/branches{/branch}","tags_url":"https://api.github.com/repos/SleepWalker/yii/tags","blobs_url":"https://api.github.com/repos/SleepWalker/yii/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SleepWalker/yii/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SleepWalker/yii/git/refs{/sha}","trees_url":"https://api.github.com/repos/SleepWalker/yii/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SleepWalker/yii/statuses/{sha}","languages_url":"https://api.github.com/repos/SleepWalker/yii/languages","stargazers_url":"https://api.github.com/repos/SleepWalker/yii/stargazers","contributors_url":"https://api.github.com/repos/SleepWalker/yii/contributors","subscribers_url":"https://api.github.com/repos/SleepWalker/yii/subscribers","subscription_url":"https://api.github.com/repos/SleepWalker/yii/subscription","commits_url":"https://api.github.com/repos/SleepWalker/yii/commits{/sha}","git_commits_url":"https://api.github.com/repos/SleepWalker/yii/git/commits{/sha}","comments_url":"https://api.github.com/repos/SleepWalker/yii/comments{/number}","issue_comment_url":"https://api.github.com/repos/SleepWalker/yii/issues/comments/{number}","contents_url":"https://api.github.com/repos/SleepWalker/yii/contents/{+path}","compare_url":"https://api.github.com/repos/SleepWalker/yii/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SleepWalker/yii/merges","archive_url":"https://api.github.com/repos/SleepWalker/yii/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SleepWalker/yii/downloads","issues_url":"https://api.github.com/repos/SleepWalker/yii/issues{/number}","pulls_url":"https://api.github.com/repos/SleepWalker/yii/pulls{/number}","milestones_url":"https://api.github.com/repos/SleepWalker/yii/milestones{/number}","notifications_url":"https://api.github.com/repos/SleepWalker/yii/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SleepWalker/yii/labels{/name}","releases_url":"https://api.github.com/repos/SleepWalker/yii/releases{/id}","created_at":"2013-07-26T21:04:03Z","updated_at":"2013-09-26T18:05:01Z","pushed_at":"2015-02-15T16:19:20Z","git_url":"git://github.com/SleepWalker/yii.git","ssh_url":"git@github.com:SleepWalker/yii.git","clone_url":"https://github.com/SleepWalker/yii.git","svn_url":"https://github.com/SleepWalker/yii","homepage":"http://www.yiiframework.com","size":22427,"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":"yiisoft:master","ref":"master","sha":"ee39b8511c6c821f2e8863655d92151cc4931448","user":{"login":"yiisoft","id":993323,"avatar_url":"https://avatars.githubusercontent.com/u/993323?v=3","gravatar_id":"","url":"https://api.github.com/users/yiisoft","html_url":"https://github.com/yiisoft","followers_url":"https://api.github.com/users/yiisoft/followers","following_url":"https://api.github.com/users/yiisoft/following{/other_user}","gists_url":"https://api.github.com/users/yiisoft/gists{/gist_id}","starred_url":"https://api.github.com/users/yiisoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiisoft/subscriptions","organizations_url":"https://api.github.com/users/yiisoft/orgs","repos_url":"https://api.github.com/users/yiisoft/repos","events_url":"https://api.github.com/users/yiisoft/events{/privacy}","received_events_url":"https://api.github.com/users/yiisoft/received_events","type":"Organization","site_admin":false},"repo":{"id":3451238,"name":"yii","full_name":"yiisoft/yii","owner":{"login":"yiisoft","id":993323,"avatar_url":"https://avatars.githubusercontent.com/u/993323?v=3","gravatar_id":"","url":"https://api.github.com/users/yiisoft","html_url":"https://github.com/yiisoft","followers_url":"https://api.github.com/users/yiisoft/followers","following_url":"https://api.github.com/users/yiisoft/following{/other_user}","gists_url":"https://api.github.com/users/yiisoft/gists{/gist_id}","starred_url":"https://api.github.com/users/yiisoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiisoft/subscriptions","organizations_url":"https://api.github.com/users/yiisoft/orgs","repos_url":"https://api.github.com/users/yiisoft/repos","events_url":"https://api.github.com/users/yiisoft/events{/privacy}","received_events_url":"https://api.github.com/users/yiisoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yiisoft/yii","description":"Yii PHP Framework","fork":false,"url":"https://api.github.com/repos/yiisoft/yii","forks_url":"https://api.github.com/repos/yiisoft/yii/forks","keys_url":"https://api.github.com/repos/yiisoft/yii/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yiisoft/yii/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yiisoft/yii/teams","hooks_url":"https://api.github.com/repos/yiisoft/yii/hooks","issue_events_url":"https://api.github.com/repos/yiisoft/yii/issues/events{/number}","events_url":"https://api.github.com/repos/yiisoft/yii/events","assignees_url":"https://api.github.com/repos/yiisoft/yii/assignees{/user}","branches_url":"https://api.github.com/repos/yiisoft/yii/branches{/branch}","tags_url":"https://api.github.com/repos/yiisoft/yii/tags","blobs_url":"https://api.github.com/repos/yiisoft/yii/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yiisoft/yii/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yiisoft/yii/git/refs{/sha}","trees_url":"https://api.github.com/repos/yiisoft/yii/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yiisoft/yii/statuses/{sha}","languages_url":"https://api.github.com/repos/yiisoft/yii/languages","stargazers_url":"https://api.github.com/repos/yiisoft/yii/stargazers","contributors_url":"https://api.github.com/repos/yiisoft/yii/contributors","subscribers_url":"https://api.github.com/repos/yiisoft/yii/subscribers","subscription_url":"https://api.github.com/repos/yiisoft/yii/subscription","commits_url":"https://api.github.com/repos/yiisoft/yii/commits{/sha}","git_commits_url":"https://api.github.com/repos/yiisoft/yii/git/commits{/sha}","comments_url":"https://api.github.com/repos/yiisoft/yii/comments{/number}","issue_comment_url":"https://api.github.com/repos/yiisoft/yii/issues/comments/{number}","contents_url":"https://api.github.com/repos/yiisoft/yii/contents/{+path}","compare_url":"https://api.github.com/repos/yiisoft/yii/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yiisoft/yii/merges","archive_url":"https://api.github.com/repos/yiisoft/yii/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yiisoft/yii/downloads","issues_url":"https://api.github.com/repos/yiisoft/yii/issues{/number}","pulls_url":"https://api.github.com/repos/yiisoft/yii/pulls{/number}","milestones_url":"https://api.github.com/repos/yiisoft/yii/milestones{/number}","notifications_url":"https://api.github.com/repos/yiisoft/yii/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yiisoft/yii/labels{/name}","releases_url":"https://api.github.com/repos/yiisoft/yii/releases{/id}","created_at":"2012-02-15T16:26:22Z","updated_at":"2015-02-15T14:56:41Z","pushed_at":"2015-02-14T02:19:42Z","git_url":"git://github.com/yiisoft/yii.git","ssh_url":"git@github.com:yiisoft/yii.git","clone_url":"https://github.com/yiisoft/yii.git","svn_url":"https://github.com/yiisoft/yii","homepage":"http://www.yiiframework.com","size":51503,"stargazers_count":4290,"watchers_count":4290,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1823,"mirror_url":null,"open_issues_count":630,"forks":1823,"open_issues":630,"watchers":4290,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yiisoft/yii/pulls/3752"},"html":{"href":"https://github.com/yiisoft/yii/pull/3752"},"issue":{"href":"https://api.github.com/repos/yiisoft/yii/issues/3752"},"comments":{"href":"https://api.github.com/repos/yiisoft/yii/issues/3752/comments"},"review_comments":{"href":"https://api.github.com/repos/yiisoft/yii/pulls/3752/comments"},"review_comment":{"href":"https://api.github.com/repos/yiisoft/yii/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/yiisoft/yii/pulls/3752/commits"},"statuses":{"href":"https://api.github.com/repos/yiisoft/yii/statuses/18bb2fdf79938a92c3ff9e176b4f50eef97d0457"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":12,"deletions":3,"changed_files":2}}