{"action":"opened","issue":{"url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/5519","repository_url":"https://api.github.com/repos/Dolibarr/dolibarr","labels_url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/5519/labels{/name}","comments_url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/5519/comments","events_url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/5519/events","html_url":"https://github.com/Dolibarr/dolibarr/issues/5519","id":166598278,"number":5519,"title":"Bug: Intervention resources tab issues fatal error","user":{"login":"rdoursenaud","id":1210367,"avatar_url":"https://avatars.githubusercontent.com/u/1210367?v=3","gravatar_id":"","url":"https://api.github.com/users/rdoursenaud","html_url":"https://github.com/rdoursenaud","followers_url":"https://api.github.com/users/rdoursenaud/followers","following_url":"https://api.github.com/users/rdoursenaud/following{/other_user}","gists_url":"https://api.github.com/users/rdoursenaud/gists{/gist_id}","starred_url":"https://api.github.com/users/rdoursenaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdoursenaud/subscriptions","organizations_url":"https://api.github.com/users/rdoursenaud/orgs","repos_url":"https://api.github.com/users/rdoursenaud/repos","events_url":"https://api.github.com/users/rdoursenaud/events{/privacy}","received_events_url":"https://api.github.com/users/rdoursenaud/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Dolibarr/dolibarr/labels/Bug","name":"Bug","color":"000000"},{"url":"https://api.github.com/repos/Dolibarr/dolibarr/labels/version%204.0.0-rc","name":"version 4.0.0-rc","color":"e7eef8"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Dolibarr/dolibarr/milestones/19","html_url":"https://github.com/Dolibarr/dolibarr/milestones/4.0","labels_url":"https://api.github.com/repos/Dolibarr/dolibarr/milestones/19/labels","id":1502496,"number":19,"title":"4.0","description":"","creator":{"login":"rdoursenaud","id":1210367,"avatar_url":"https://avatars.githubusercontent.com/u/1210367?v=3","gravatar_id":"","url":"https://api.github.com/users/rdoursenaud","html_url":"https://github.com/rdoursenaud","followers_url":"https://api.github.com/users/rdoursenaud/followers","following_url":"https://api.github.com/users/rdoursenaud/following{/other_user}","gists_url":"https://api.github.com/users/rdoursenaud/gists{/gist_id}","starred_url":"https://api.github.com/users/rdoursenaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdoursenaud/subscriptions","organizations_url":"https://api.github.com/users/rdoursenaud/orgs","repos_url":"https://api.github.com/users/rdoursenaud/repos","events_url":"https://api.github.com/users/rdoursenaud/events{/privacy}","received_events_url":"https://api.github.com/users/rdoursenaud/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":63,"state":"open","created_at":"2016-01-12T16:13:29Z","updated_at":"2016-07-20T14:40:54Z","due_on":"2016-07-30T22:00:00Z","closed_at":null},"comments":0,"created_at":"2016-07-20T14:40:54Z","updated_at":"2016-07-20T14:40:54Z","closed_at":null,"body":"# Bug\r\n\r\n## Environment\r\n- **Version**: 4.0.0-rc\r\n- **URL(s)**: /resource/element_resource.php?element=fichinter&element_id=1\r\n\r\n## Steps to reproduce the behavior\r\nCreate a new intervention and go to the resources tab.\r\n\r\n```\r\n2016/07/20 16:38:22 [error] 879#879: *1496 FastCGI sent in stderr: \"PHP message: PHP Fatal error:  Uncaught Error: Call to a member function getNomUrl() on null in /htdocs/resource/element_resource.php:290\r\nStack trace:\r\n#0 {main}\r\n  thrown in /htdocs/resource/element_resource.php on line 290\" while reading upstream, client: ::1, server: dev.zenfusion.fr, request: \"GET /resource/element_resource.php?element=fichinter&element_id=1 HTTP/1.1\", upstream: \"fastcgi://unix:/run/php-fpm/php-fpm.sock:\", host: \"dev.zenfusion.fr\", referrer: \"https://dev.zenfusion.fr/fichinter/info.php?id=1\"\r\n\r\n```"}}
{"actor":{"display_login":"rdoursenaud"}}