{"action":"created","issue":{"url":"https://api.github.com/repos/thecodingmachine/database.tdbm/issues/90","repository_url":"https://api.github.com/repos/thecodingmachine/database.tdbm","labels_url":"https://api.github.com/repos/thecodingmachine/database.tdbm/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/thecodingmachine/database.tdbm/issues/90/comments","events_url":"https://api.github.com/repos/thecodingmachine/database.tdbm/issues/90/events","html_url":"https://github.com/thecodingmachine/database.tdbm/issues/90","id":154287842,"number":90,"title":"TDBM 3.3 : infinite loop if table not exists ","user":{"login":"vaidiep","id":2227695,"avatar_url":"https://avatars.githubusercontent.com/u/2227695?v=3","gravatar_id":"","url":"https://api.github.com/users/vaidiep","html_url":"https://github.com/vaidiep","followers_url":"https://api.github.com/users/vaidiep/followers","following_url":"https://api.github.com/users/vaidiep/following{/other_user}","gists_url":"https://api.github.com/users/vaidiep/gists{/gist_id}","starred_url":"https://api.github.com/users/vaidiep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vaidiep/subscriptions","organizations_url":"https://api.github.com/users/vaidiep/orgs","repos_url":"https://api.github.com/users/vaidiep/repos","events_url":"https://api.github.com/users/vaidiep/events{/privacy}","received_events_url":"https://api.github.com/users/vaidiep/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/thecodingmachine/database.tdbm/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"moufmouf","id":1290952,"avatar_url":"https://avatars.githubusercontent.com/u/1290952?v=3","gravatar_id":"","url":"https://api.github.com/users/moufmouf","html_url":"https://github.com/moufmouf","followers_url":"https://api.github.com/users/moufmouf/followers","following_url":"https://api.github.com/users/moufmouf/following{/other_user}","gists_url":"https://api.github.com/users/moufmouf/gists{/gist_id}","starred_url":"https://api.github.com/users/moufmouf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moufmouf/subscriptions","organizations_url":"https://api.github.com/users/moufmouf/orgs","repos_url":"https://api.github.com/users/moufmouf/repos","events_url":"https://api.github.com/users/moufmouf/events{/privacy}","received_events_url":"https://api.github.com/users/moufmouf/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-05-11T16:35:34Z","updated_at":"2016-05-11T16:36:27Z","closed_at":null,"body":"In a LessFilter, if you pass a table name that doesn't exists, the method getListByFilter leads to an infinite loop.\r\n\r\nI think that you must test before if the table exists and thus, throw an exception if not."},"comment":{"url":"https://api.github.com/repos/thecodingmachine/database.tdbm/issues/comments/218516043","html_url":"https://github.com/thecodingmachine/database.tdbm/issues/90#issuecomment-218516043","issue_url":"https://api.github.com/repos/thecodingmachine/database.tdbm/issues/90","id":218516043,"user":{"login":"vaidiep","id":2227695,"avatar_url":"https://avatars.githubusercontent.com/u/2227695?v=3","gravatar_id":"","url":"https://api.github.com/users/vaidiep","html_url":"https://github.com/vaidiep","followers_url":"https://api.github.com/users/vaidiep/followers","following_url":"https://api.github.com/users/vaidiep/following{/other_user}","gists_url":"https://api.github.com/users/vaidiep/gists{/gist_id}","starred_url":"https://api.github.com/users/vaidiep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vaidiep/subscriptions","organizations_url":"https://api.github.com/users/vaidiep/orgs","repos_url":"https://api.github.com/users/vaidiep/repos","events_url":"https://api.github.com/users/vaidiep/events{/privacy}","received_events_url":"https://api.github.com/users/vaidiep/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T16:36:27Z","updated_at":"2016-05-11T16:36:27Z","body":"`public function getUnpaidObjects() {\r\n        $filters = [];\r\n        $filters[] = new EqualFilter('objects', 'status_id', SalleBean::STATUT_SUSPENDU_IMPAYEE);\r\n        $filters[] = new LessFilter('salles', 'date_fin_abo', date('Y-m-d', time()));\r\n\r\n        return $this->getListByFilter($filters);\r\n    }`"}}