{"action":"created","issue":{"url":"https://api.github.com/repos/yupe/yupe/issues/1845","labels_url":"https://api.github.com/repos/yupe/yupe/issues/1845/labels{/name}","comments_url":"https://api.github.com/repos/yupe/yupe/issues/1845/comments","events_url":"https://api.github.com/repos/yupe/yupe/issues/1845/events","html_url":"https://github.com/yupe/yupe/issues/1845","id":57604489,"number":1845,"title":"Интерация Yii-Commentator","user":{"login":"vv3d0x","id":3175656,"avatar_url":"https://avatars.githubusercontent.com/u/3175656?v=3","gravatar_id":"","url":"https://api.github.com/users/vv3d0x","html_url":"https://github.com/vv3d0x","followers_url":"https://api.github.com/users/vv3d0x/followers","following_url":"https://api.github.com/users/vv3d0x/following{/other_user}","gists_url":"https://api.github.com/users/vv3d0x/gists{/gist_id}","starred_url":"https://api.github.com/users/vv3d0x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vv3d0x/subscriptions","organizations_url":"https://api.github.com/users/vv3d0x/orgs","repos_url":"https://api.github.com/users/vv3d0x/repos","events_url":"https://api.github.com/users/vv3d0x/events{/privacy}","received_events_url":"https://api.github.com/users/vv3d0x/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yupe/yupe/labels/%D0%91%D0%B0%D0%B3-%D1%80%D0%B5%D0%BF%D0%BE%D1%80%D1%82","name":"Баг-репорт","color":"e102d8"},{"url":"https://api.github.com/repos/yupe/yupe/labels/%D0%98%D0%B4%D0%B5%D1%8F/%D0%9F%D1%80%D0%B5%D0%B4%D0%BB%D0%BE%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5","name":"Идея/Предложение","color":"dfa102"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/yupe/yupe/milestones/18","labels_url":"https://api.github.com/repos/yupe/yupe/milestones/18/labels","id":974983,"number":18,"title":"0.9.4","description":"","creator":{"login":"yupe","id":668145,"avatar_url":"https://avatars.githubusercontent.com/u/668145?v=3","gravatar_id":"","url":"https://api.github.com/users/yupe","html_url":"https://github.com/yupe","followers_url":"https://api.github.com/users/yupe/followers","following_url":"https://api.github.com/users/yupe/following{/other_user}","gists_url":"https://api.github.com/users/yupe/gists{/gist_id}","starred_url":"https://api.github.com/users/yupe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yupe/subscriptions","organizations_url":"https://api.github.com/users/yupe/orgs","repos_url":"https://api.github.com/users/yupe/repos","events_url":"https://api.github.com/users/yupe/events{/privacy}","received_events_url":"https://api.github.com/users/yupe/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":0,"state":"open","created_at":"2015-02-11T09:25:14Z","updated_at":"2015-02-13T15:35:33Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2015-02-13T14:27:13Z","updated_at":"2015-02-13T16:27:54Z","closed_at":null,"body":"Предлагаю вместо модуля коментарии использовать модуль Yii-Commentator\r\nhttps://github.com/PendalF89/yii-commentator\r\nкуда более функциональный и нормально работает, есть минимальные нароботки по интегации"},"comment":{"url":"https://api.github.com/repos/yupe/yupe/issues/comments/74281183","html_url":"https://github.com/yupe/yupe/issues/1845#issuecomment-74281183","issue_url":"https://api.github.com/repos/yupe/yupe/issues/1845","id":74281183,"user":{"login":"vv3d0x","id":3175656,"avatar_url":"https://avatars.githubusercontent.com/u/3175656?v=3","gravatar_id":"","url":"https://api.github.com/users/vv3d0x","html_url":"https://github.com/vv3d0x","followers_url":"https://api.github.com/users/vv3d0x/followers","following_url":"https://api.github.com/users/vv3d0x/following{/other_user}","gists_url":"https://api.github.com/users/vv3d0x/gists{/gist_id}","starred_url":"https://api.github.com/users/vv3d0x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vv3d0x/subscriptions","organizations_url":"https://api.github.com/users/vv3d0x/orgs","repos_url":"https://api.github.com/users/vv3d0x/repos","events_url":"https://api.github.com/users/vv3d0x/events{/privacy}","received_events_url":"https://api.github.com/users/vv3d0x/received_events","type":"User","site_admin":false},"created_at":"2015-02-13T16:27:54Z","updated_at":"2015-02-13T16:27:54Z","body":"нашел причину почему не работает удаление, все блин банально, зачем в модель засунули метод\r\n`public function delete()` ? его нужно удалить из-за него происходит рекусивное зацыкливание.\r\nсуть в том что наш NestedSetBehavior который приверчен к модели `Comment` у него тоже есть метод delete, и когда мы дергаем delete для модели получается так что внутри эта функция для Листка вместо того что бы вызвать delete из ActiveRecord вызывает delete из NestedSetBehavior ну и получается рекурсивный фейл :) А в контроллере все правильно сделано ` $model->deleteNode();`"}}