{"action":"created","issue":{"url":"https://api.github.com/repos/NetCommons3/Videos/issues/76","labels_url":"https://api.github.com/repos/NetCommons3/Videos/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/NetCommons3/Videos/issues/76/comments","events_url":"https://api.github.com/repos/NetCommons3/Videos/issues/76/events","html_url":"https://github.com/NetCommons3/Videos/issues/76","id":128796734,"number":76,"title":"video_block_settingsのblock_keyがセットされない","user":{"login":"akagane99","id":2756509,"avatar_url":"https://avatars.githubusercontent.com/u/2756509?v=3","gravatar_id":"","url":"https://api.github.com/users/akagane99","html_url":"https://github.com/akagane99","followers_url":"https://api.github.com/users/akagane99/followers","following_url":"https://api.github.com/users/akagane99/following{/other_user}","gists_url":"https://api.github.com/users/akagane99/gists{/gist_id}","starred_url":"https://api.github.com/users/akagane99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akagane99/subscriptions","organizations_url":"https://api.github.com/users/akagane99/orgs","repos_url":"https://api.github.com/users/akagane99/repos","events_url":"https://api.github.com/users/akagane99/events{/privacy}","received_events_url":"https://api.github.com/users/akagane99/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NetCommons3/Videos/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/NetCommons3/Videos/labels/%E8%A6%81%E7%A2%BA%E8%AA%8D","name":"要確認","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-26T11:38:54Z","updated_at":"2016-01-26T23:01:30Z","closed_at":null,"body":"ハマっています。\r\n\r\nNC3インストールして、初めの方はblock_keyがセットされるけど、\r\n後々で操作していたら、いつからかblock_keyがセットされなくなる。\r\n\r\nblocksの方に、keyはセットされているが、video_block_settingsに反映されないです。\r\nBlockBehavior::__setRecursiveBlockField()の処理で再回帰して、block_keyをセットするはずなんだけど、\r\nセットされていない。\r\n再回帰おいずらく、原因特定までたどり着けない。\r\n\r\n### video_block_settings\r\n\r\n|# id| block_key| use_like| use_unlike| use_comment| agree| mail_notice| auto_play| comment_agree| comment_agree_mail_notice| created_user| created| modified_user| modified|\r\n|----|----------|---------|-----------|-------------|-----|-------------|---------|-------------|-----------------------------|-------------|---------|---------|---------|\r\n|'1'| '834b9234f12938c53923feaef6a14564'| '1'| '0'| '1'| '1'| '0'| '0'| '1'| '0'| '1'| '2016-01-25 08:43:18'| '1'| '2016-01-25 10:47:33'|\r\n|'2'| '6fbe3c8d69485472bc10483ba8f7749f'| '1'| '0'| '1'| '1'| '0'| '0'| '1'| '0'| '1'| '2016-01-25 08:43:38'| '1'| '2016-01-25 08:43:54'|\r\n|'10'| ''| '1'| '0'| '1'| '1'| '0'| '1'| '1'| '0'| '1'| '2016-01-26 10:55:37'| '1'| '2016-01-26 10:55:37'|\r\n|'11'| ''| '1'| '0'| '1'| '1'| '0'| '0'| '1'| '0'| '1'| '2016-01-26 11:36:07'| '1'| '2016-01-26 11:36:07'|\r\n\r\n### blocks\r\n\r\n|# id| language_id| room_id| plugin_key| key| name| public_type| publish_start| publish_end| created_user| created| modified_user| modified|\r\n|----|-------------|---------|---------|----|--------|---------|-------------|-------------|-------------|---------|-------------|---------|\r\n|'5'| '2'| '1'| 'videos'| '834b9234f12938c53923feaef6a14564'| '新しいチャンネル 20160125084312'| '1'| NULL| NULL| '1'| '2016-01-25 08:43:18'| '1'| '2016-01-25 10:42:14'|\r\n|'6'| '1'| '1'| 'videos'| '834b9234f12938c53923feaef6a14564'| '新しいチャンネル 20160125084312'| '1'| NULL| NULL| NULL| '2016-01-25 08:43:18'| '1'| '2016-01-25 10:42:14'|\r\n|'7'| '2'| '1'| 'videos'| '6fbe3c8d69485472bc10483ba8f7749f'| '新しいチャンネル 20160125084330-2222'| '1'| NULL| NULL| '1'| '2016-01-25 08:43:38'| '1'| '2016-01-25 08:43:54'|\r\n|'8'| '1'| '1'| 'videos'| '6fbe3c8d69485472bc10483ba8f7749f'| '新しいチャンネル 20160125084330-2222'| '1'| NULL| NULL| NULL| '2016-01-25 08:43:38'| '1'| '2016-01-25 08:43:54'|\r\n|'27'| '2'| '1'| 'videos'| '6e5482b8d5d18f0f0eb4bf8844d7f188'| '新しいチャンネル 20160126105530ｘｘｘｘｘｘｘｘｘｘ'| '1'| NULL| NULL| '1'| '2016-01-26 10:55:37'| '1'| '2016-01-26 10:55:37'|\r\n|'28'| '1'| '1'| 'videos'| '6e5482b8d5d18f0f0eb4bf8844d7f188'| '新しいチャンネル 20160126105530ｘｘｘｘｘｘｘｘｘｘ'| '1'| NULL| NULL| '1'| '2016-01-26 10:55:37'| '1'| '2016-01-26 10:55:37'|\r\n|'29'| '2'| '1'| 'videos'| '7e93ba7043f399fbacf33ff31e12a95f'| '新しいチャンネル 20160126113557ーーーーー'| '1'| NULL| NULL| '1'| '2016-01-26 11:36:07'| '1'| '2016-01-26 11:36:07'|\r\n|'30'| '1'| '1'| 'videos'| '7e93ba7043f399fbacf33ff31e12a95f'| '新しいチャンネル 20160126113557ーーーーー'| '1'| NULL| NULL| '1'| '2016-01-26 11:36:07'| '1'| '2016-01-26 11:36:07'|\r\n"},"comment":{"url":"https://api.github.com/repos/NetCommons3/Videos/issues/comments/175283164","html_url":"https://github.com/NetCommons3/Videos/issues/76#issuecomment-175283164","issue_url":"https://api.github.com/repos/NetCommons3/Videos/issues/76","id":175283164,"user":{"login":"akagane99","id":2756509,"avatar_url":"https://avatars.githubusercontent.com/u/2756509?v=3","gravatar_id":"","url":"https://api.github.com/users/akagane99","html_url":"https://github.com/akagane99","followers_url":"https://api.github.com/users/akagane99/followers","following_url":"https://api.github.com/users/akagane99/following{/other_user}","gists_url":"https://api.github.com/users/akagane99/gists{/gist_id}","starred_url":"https://api.github.com/users/akagane99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akagane99/subscriptions","organizations_url":"https://api.github.com/users/akagane99/orgs","repos_url":"https://api.github.com/users/akagane99/repos","events_url":"https://api.github.com/users/akagane99/events{/privacy}","received_events_url":"https://api.github.com/users/akagane99/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T23:01:30Z","updated_at":"2016-01-26T23:01:30Z","body":"とりあえず、先に進みます。\r\nどっかでセットミスしているか、バグっているのだろう。\r\n(木) にナカジに対面口頭で確認予定。"}}