{"action":"opened","issue":{"url":"https://api.github.com/repos/trahay/remora_programmer/issues/1","repository_url":"https://api.github.com/repos/trahay/remora_programmer","labels_url":"https://api.github.com/repos/trahay/remora_programmer/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/trahay/remora_programmer/issues/1/comments","events_url":"https://api.github.com/repos/trahay/remora_programmer/issues/1/events","html_url":"https://github.com/trahay/remora_programmer/issues/1","id":381881367,"node_id":"MDU6SXNzdWUzODE4ODEzNjc=","number":1,"title":"Problème avec les zones sans programme associé","user":{"login":"mezzarobba","id":4352890,"node_id":"MDQ6VXNlcjQzNTI4OTA=","avatar_url":"https://avatars3.githubusercontent.com/u/4352890?v=4","gravatar_id":"","url":"https://api.github.com/users/mezzarobba","html_url":"https://github.com/mezzarobba","followers_url":"https://api.github.com/users/mezzarobba/followers","following_url":"https://api.github.com/users/mezzarobba/following{/other_user}","gists_url":"https://api.github.com/users/mezzarobba/gists{/gist_id}","starred_url":"https://api.github.com/users/mezzarobba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mezzarobba/subscriptions","organizations_url":"https://api.github.com/users/mezzarobba/orgs","repos_url":"https://api.github.com/users/mezzarobba/repos","events_url":"https://api.github.com/users/mezzarobba/events{/privacy}","received_events_url":"https://api.github.com/users/mezzarobba/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-17T17:09:47Z","updated_at":"2018-11-17T17:09:47Z","closed_at":null,"author_association":"NONE","body":"Bonjour,\r\n\r\nLe chargement de la page d'accueil échoue avec l'erreur ci-dessous si l'on crée les zones avant les programmes, de sorte que l'on se retrouve avec des zones sans programme associé.\r\n\r\n```\r\nTypeError: /home/domopi/opt/remora_programmer/views/index.ejs:44\r\n    42|     <p> <%= today %> </p>\r\n    43|     <div>    \r\n >> 44|     <%\r\n    45| for(var i=0; i<zones.length; i++) {\r\n    46|     var program_semaine=zones[i].program;\r\n    47|     for(var j=0; j<programs.length; j++) {\r\n\r\nCannot read property 'prog_5' of null\r\n    at eval (eval at compile (/home/domopi/opt/remora_programmer/node_modules/ejs/lib/ejs.js:618:12), <anonymous>:59:33)\r\n    at returnedFn (/home/domopi/opt/remora_programmer/node_modules/ejs/lib/ejs.js:653:17)\r\n    at tryHandleCache (/home/domopi/opt/remora_programmer/node_modules/ejs/lib/ejs.js:251:36)\r\n    at View.exports.renderFile [as engine] (/home/domopi/opt/remora_programmer/node_modules/ejs/lib/ejs.js:482:10)\r\n    at View.render (/home/domopi/opt/remora_programmer/node_modules/express/lib/view.js:135:8)\r\n    at tryRender (/home/domopi/opt/remora_programmer/node_modules/express/lib/application.js:640:10)\r\n    at Function.render (/home/domopi/opt/remora_programmer/node_modules/express/lib/application.js:592:3)\r\n    at ServerResponse.render (/home/domopi/opt/remora_programmer/node_modules/express/lib/response.js:1008:7)\r\n    at Statement.db.all (/home/domopi/opt/remora_programmer/server.js:94:7)\r\n    at Statement.replacement (/home/domopi/opt/remora_programmer/node_modules/sqlite3/lib/trace.js:19:31)\r\n```"}}
{"actor":{"display_login":"mezzarobba"}}