{"action":"created","issue":{"url":"https://api.github.com/repos/georchestra/cadastrapp/issues/280","repository_url":"https://api.github.com/repos/georchestra/cadastrapp","labels_url":"https://api.github.com/repos/georchestra/cadastrapp/issues/280/labels{/name}","comments_url":"https://api.github.com/repos/georchestra/cadastrapp/issues/280/comments","events_url":"https://api.github.com/repos/georchestra/cadastrapp/issues/280/events","html_url":"https://github.com/georchestra/cadastrapp/issues/280","id":183998229,"number":280,"title":"[RP] division par zéro -> NaN","user":{"login":"MaelREBOUX","id":6370443,"avatar_url":"https://avatars.githubusercontent.com/u/6370443?v=3","gravatar_id":"","url":"https://api.github.com/users/MaelREBOUX","html_url":"https://github.com/MaelREBOUX","followers_url":"https://api.github.com/users/MaelREBOUX/followers","following_url":"https://api.github.com/users/MaelREBOUX/following{/other_user}","gists_url":"https://api.github.com/users/MaelREBOUX/gists{/gist_id}","starred_url":"https://api.github.com/users/MaelREBOUX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaelREBOUX/subscriptions","organizations_url":"https://api.github.com/users/MaelREBOUX/orgs","repos_url":"https://api.github.com/users/MaelREBOUX/repos","events_url":"https://api.github.com/users/MaelREBOUX/events{/privacy}","received_events_url":"https://api.github.com/users/MaelREBOUX/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/georchestra/cadastrapp/labels/bug","name":"bug","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"pierrejego","id":11499415,"avatar_url":"https://avatars.githubusercontent.com/u/11499415?v=3","gravatar_id":"","url":"https://api.github.com/users/pierrejego","html_url":"https://github.com/pierrejego","followers_url":"https://api.github.com/users/pierrejego/followers","following_url":"https://api.github.com/users/pierrejego/following{/other_user}","gists_url":"https://api.github.com/users/pierrejego/gists{/gist_id}","starred_url":"https://api.github.com/users/pierrejego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierrejego/subscriptions","organizations_url":"https://api.github.com/users/pierrejego/orgs","repos_url":"https://api.github.com/users/pierrejego/repos","events_url":"https://api.github.com/users/pierrejego/events{/privacy}","received_events_url":"https://api.github.com/users/pierrejego/received_events","type":"User","site_admin":false},"assignees":[{"login":"pierrejego","id":11499415,"avatar_url":"https://avatars.githubusercontent.com/u/11499415?v=3","gravatar_id":"","url":"https://api.github.com/users/pierrejego","html_url":"https://github.com/pierrejego","followers_url":"https://api.github.com/users/pierrejego/followers","following_url":"https://api.github.com/users/pierrejego/following{/other_user}","gists_url":"https://api.github.com/users/pierrejego/gists{/gist_id}","starred_url":"https://api.github.com/users/pierrejego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierrejego/subscriptions","organizations_url":"https://api.github.com/users/pierrejego/orgs","repos_url":"https://api.github.com/users/pierrejego/repos","events_url":"https://api.github.com/users/pierrejego/events{/privacy}","received_events_url":"https://api.github.com/users/pierrejego/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/georchestra/cadastrapp/milestones/2","html_url":"https://github.com/georchestra/cadastrapp/milestones/bug%20fixes","labels_url":"https://api.github.com/repos/georchestra/cadastrapp/milestones/2/labels","id":1960750,"number":2,"title":"bug fixes","description":"","creator":{"login":"MaelREBOUX","id":6370443,"avatar_url":"https://avatars.githubusercontent.com/u/6370443?v=3","gravatar_id":"","url":"https://api.github.com/users/MaelREBOUX","html_url":"https://github.com/MaelREBOUX","followers_url":"https://api.github.com/users/MaelREBOUX/followers","following_url":"https://api.github.com/users/MaelREBOUX/following{/other_user}","gists_url":"https://api.github.com/users/MaelREBOUX/gists{/gist_id}","starred_url":"https://api.github.com/users/MaelREBOUX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaelREBOUX/subscriptions","organizations_url":"https://api.github.com/users/MaelREBOUX/orgs","repos_url":"https://api.github.com/users/MaelREBOUX/repos","events_url":"https://api.github.com/users/MaelREBOUX/events{/privacy}","received_events_url":"https://api.github.com/users/MaelREBOUX/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":10,"state":"open","created_at":"2016-08-24T15:15:12Z","updated_at":"2016-10-20T09:18:10Z","due_on":"2016-09-19T00:00:00Z","closed_at":null},"comments":6,"created_at":"2016-10-19T15:38:42Z","updated_at":"2016-10-21T10:24:46Z","closed_at":null,"body":"Sur certains RP on voit NaN apparaître, sans doute provoqué par une division par zéro.\r\n\r\nEx : RP 350066+00430"},"comment":{"url":"https://api.github.com/repos/georchestra/cadastrapp/issues/comments/255347382","html_url":"https://github.com/georchestra/cadastrapp/issues/280#issuecomment-255347382","issue_url":"https://api.github.com/repos/georchestra/cadastrapp/issues/280","id":255347382,"user":{"login":"jusabatier","id":8310116,"avatar_url":"https://avatars.githubusercontent.com/u/8310116?v=3","gravatar_id":"","url":"https://api.github.com/users/jusabatier","html_url":"https://github.com/jusabatier","followers_url":"https://api.github.com/users/jusabatier/followers","following_url":"https://api.github.com/users/jusabatier/following{/other_user}","gists_url":"https://api.github.com/users/jusabatier/gists{/gist_id}","starred_url":"https://api.github.com/users/jusabatier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jusabatier/subscriptions","organizations_url":"https://api.github.com/users/jusabatier/orgs","repos_url":"https://api.github.com/users/jusabatier/repos","events_url":"https://api.github.com/users/jusabatier/events{/privacy}","received_events_url":"https://api.github.com/users/jusabatier/received_events","type":"User","site_admin":false},"created_at":"2016-10-21T10:24:46Z","updated_at":"2016-10-21T10:24:46Z","body":"A voir si ça convient, sinon il y a une autre methode qui permet de ne rien afficher du tout.\r\n\r\nJe l'ai déjà utilisée pour enlever des NaN que j'avais sur mes RP : \r\n\r\nhttps://github.com/georchestra/cadastrapp/blob/55f3b5077cb3e1a47ad75bb8b6feb574445e405b/cadastrapp/src/main/resources/xsl/relevePropriete.xsl#L500\r\n\r\nEn gros on rajoute un test pour voir si la valeur est numerique avant de l'afficher.\r\n\r\nIl serait peut être plus cohérent d'utiliser cette méthode qui permet de ne pas afficher le \"€\" et qui est déjà mise en place sur certains cas que j'avais identifié."}}
{"actor":{"display_login":"jusabatier"}}