{"action":"created","issue":{"url":"https://api.github.com/repos/v-l-m/vlm/issues/700","labels_url":"https://api.github.com/repos/v-l-m/vlm/issues/700/labels{/name}","comments_url":"https://api.github.com/repos/v-l-m/vlm/issues/700/comments","events_url":"https://api.github.com/repos/v-l-m/vlm/issues/700/events","html_url":"https://github.com/v-l-m/vlm/issues/700","id":58968418,"number":700,"title":"Bug sur calendar du à races.fullcalendar.php rendant des title égal à null","user":{"login":"pzia","id":11092036,"avatar_url":"https://avatars.githubusercontent.com/u/11092036?v=3","gravatar_id":"","url":"https://api.github.com/users/pzia","html_url":"https://github.com/pzia","followers_url":"https://api.github.com/users/pzia/followers","following_url":"https://api.github.com/users/pzia/following{/other_user}","gists_url":"https://api.github.com/users/pzia/gists{/gist_id}","starred_url":"https://api.github.com/users/pzia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pzia/subscriptions","organizations_url":"https://api.github.com/users/pzia/orgs","repos_url":"https://api.github.com/users/pzia/repos","events_url":"https://api.github.com/users/pzia/events{/privacy}","received_events_url":"https://api.github.com/users/pzia/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/v-l-m/vlm/labels/C:%20webservices","name":"C: webservices","color":"0000aa"},{"url":"https://api.github.com/repos/v-l-m/vlm/labels/P:%20major","name":"P: major","color":"f6f6f6"},{"url":"https://api.github.com/repos/v-l-m/vlm/labels/T:%20defect","name":"T: defect","color":"cccccc"}],"state":"open","locked":false,"assignee":{"login":"pzia","id":11092036,"avatar_url":"https://avatars.githubusercontent.com/u/11092036?v=3","gravatar_id":"","url":"https://api.github.com/users/pzia","html_url":"https://github.com/pzia","followers_url":"https://api.github.com/users/pzia/followers","following_url":"https://api.github.com/users/pzia/following{/other_user}","gists_url":"https://api.github.com/users/pzia/gists{/gist_id}","starred_url":"https://api.github.com/users/pzia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pzia/subscriptions","organizations_url":"https://api.github.com/users/pzia/orgs","repos_url":"https://api.github.com/users/pzia/repos","events_url":"https://api.github.com/users/pzia/events{/privacy}","received_events_url":"https://api.github.com/users/pzia/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/v-l-m/vlm/milestones/5","html_url":"https://github.com/v-l-m/vlm/milestones/Bises%20Arts","labels_url":"https://api.github.com/repos/v-l-m/vlm/milestones/5/labels","id":995831,"number":5,"title":"Bises Arts","description":"None","creator":{"login":"pzia","id":11092036,"avatar_url":"https://avatars.githubusercontent.com/u/11092036?v=3","gravatar_id":"","url":"https://api.github.com/users/pzia","html_url":"https://github.com/pzia","followers_url":"https://api.github.com/users/pzia/followers","following_url":"https://api.github.com/users/pzia/following{/other_user}","gists_url":"https://api.github.com/users/pzia/gists{/gist_id}","starred_url":"https://api.github.com/users/pzia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pzia/subscriptions","organizations_url":"https://api.github.com/users/pzia/orgs","repos_url":"https://api.github.com/users/pzia/repos","events_url":"https://api.github.com/users/pzia/events{/privacy}","received_events_url":"https://api.github.com/users/pzia/received_events","type":"User","site_admin":false},"open_issues":134,"closed_issues":0,"state":"open","created_at":"2015-02-25T20:44:00Z","updated_at":"2015-02-25T20:57:44Z","due_on":"1970-01-01T00:00:00Z","closed_at":null},"comments":9,"created_at":"2015-02-25T20:56:34Z","updated_at":"2015-02-25T21:18:44Z","closed_at":null,"body":"**Reported by mesosaure on 21 Feb 2012 00:28 UTC**\nDans externals\\FullCalendar.js il y'a une fonction bien pourrie\r\nfunction htmlEscape(s) {\r\nreturn s.replace(/&/g, '&amp;')\r\n.replace(/</g, '&lt;')\r\n.replace(/>/g, '&gt;')\r\n.replace(/'/g, '&#039;')\r\n.replace(/\"/g, '&quot;')\r\n.replace(/\\n/g, '<br />');\r\n}\r\n\r\nLe problme est dans la rponse JSON de \r\nhttp://testing.virtual-loup-de-mer.org/feed/races.fullcalendar.php?start=1327878000&end=1331506800&_=1329783587072\r\nIl existe des valeurs \"null\".\r\nObject { start=\"1327690800\", end=\"1327694400\", title=\"Afrique-Est 9: Ile Sain...- Saint-Denis (Runion)\", more...}\r\nObject { start=\"1328295600\", end=\"1328299200\", allDay=false, more...}\r\nstart\t\"1328295600\"\t\r\nend\t\"1328299200\"\t\r\ntitle \tnull\r\nallDay\tfalse\t\r\nurl\t\"http://testing.virtual-...cs.php?idraces=20120203\""},"comment":{"url":"https://api.github.com/repos/v-l-m/vlm/issues/comments/76061916","html_url":"https://github.com/v-l-m/vlm/issues/700#issuecomment-76061916","issue_url":"https://api.github.com/repos/v-l-m/vlm/issues/700","id":76061916,"user":{"login":"pzia","id":11092036,"avatar_url":"https://avatars.githubusercontent.com/u/11092036?v=3","gravatar_id":"","url":"https://api.github.com/users/pzia","html_url":"https://github.com/pzia","followers_url":"https://api.github.com/users/pzia/followers","following_url":"https://api.github.com/users/pzia/following{/other_user}","gists_url":"https://api.github.com/users/pzia/gists{/gist_id}","starred_url":"https://api.github.com/users/pzia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pzia/subscriptions","organizations_url":"https://api.github.com/users/pzia/orgs","repos_url":"https://api.github.com/users/pzia/repos","events_url":"https://api.github.com/users/pzia/events{/privacy}","received_events_url":"https://api.github.com/users/pzia/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T21:18:44Z","updated_at":"2015-02-25T21:18:44Z","body":"**Commented by mesosaure on 8 Mar 2012 07:42 UTC**\nmysql> select racename from races where idraces =20120203;\r\n+--------------------------------------------------------------+\r\n| racename                                                     |\r\n+--------------------------------------------------------------+\r\n| Afrique-Est 10: Saint-Denis (Runion) - Port-Louis (Maurice) |\r\n+--------------------------------------------------------------+\r\n1 row in set (0.00 sec)\r\n\r\nDans trunk/lib/phpcommon/racesiterators.class.php\r\nil y'a une fonction suivante qui retourne sans doute NULL     html_entity_decode($row['racename'], ENT_COMPAT, \"UTF-8\");\r\n\r\n\r\nDonc c'est bien un problme de charset li  une \"racename\" qui n'est pas  la norme dans la base."}}