{"action":"created","issue":{"url":"https://api.github.com/repos/fusioninventory/fusioninventory-for-glpi/issues/2259","repository_url":"https://api.github.com/repos/fusioninventory/fusioninventory-for-glpi","labels_url":"https://api.github.com/repos/fusioninventory/fusioninventory-for-glpi/issues/2259/labels{/name}","comments_url":"https://api.github.com/repos/fusioninventory/fusioninventory-for-glpi/issues/2259/comments","events_url":"https://api.github.com/repos/fusioninventory/fusioninventory-for-glpi/issues/2259/events","html_url":"https://github.com/fusioninventory/fusioninventory-for-glpi/issues/2259","id":255936200,"number":2259,"title":"Cannot delete file from deploypackage","user":{"login":"C-Duv","id":1466273,"avatar_url":"https://avatars1.githubusercontent.com/u/1466273?v=4","gravatar_id":"","url":"https://api.github.com/users/C-Duv","html_url":"https://github.com/C-Duv","followers_url":"https://api.github.com/users/C-Duv/followers","following_url":"https://api.github.com/users/C-Duv/following{/other_user}","gists_url":"https://api.github.com/users/C-Duv/gists{/gist_id}","starred_url":"https://api.github.com/users/C-Duv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/C-Duv/subscriptions","organizations_url":"https://api.github.com/users/C-Duv/orgs","repos_url":"https://api.github.com/users/C-Duv/repos","events_url":"https://api.github.com/users/C-Duv/events{/privacy}","received_events_url":"https://api.github.com/users/C-Duv/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-09-07T13:25:58Z","updated_at":"2017-09-30T16:04:48Z","closed_at":"2017-09-27T10:10:55Z","author_association":"NONE","body":"When I try to delete a file (the only file) from a deploypackage, I briefly get a (almost) blank page with the following PHP errors:\r\n\r\n> PHP Notice: Undefined index: id in .../plugins/fusioninventory/inc/deployfile.class.php at line 671\r\n> PHP Warning: array_values() expects parameter 1 to be array, null given in .../plugins/fusioninventory/inc/deployfile.class.php at line 689\r\n> PHP Notice: Undefined index: id in .../plugins/fusioninventory/inc/deployfile.class.php at line 691\r\n\r\nI said briefly, because I am quickly redirected to deploypackage's page where the file I asked to be removed is still there."},"comment":{"url":"https://api.github.com/repos/fusioninventory/fusioninventory-for-glpi/issues/comments/333318118","html_url":"https://github.com/fusioninventory/fusioninventory-for-glpi/issues/2259#issuecomment-333318118","issue_url":"https://api.github.com/repos/fusioninventory/fusioninventory-for-glpi/issues/2259","id":333318118,"user":{"login":"C-Duv","id":1466273,"avatar_url":"https://avatars1.githubusercontent.com/u/1466273?v=4","gravatar_id":"","url":"https://api.github.com/users/C-Duv","html_url":"https://github.com/C-Duv","followers_url":"https://api.github.com/users/C-Duv/followers","following_url":"https://api.github.com/users/C-Duv/following{/other_user}","gists_url":"https://api.github.com/users/C-Duv/gists{/gist_id}","starred_url":"https://api.github.com/users/C-Duv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/C-Duv/subscriptions","organizations_url":"https://api.github.com/users/C-Duv/orgs","repos_url":"https://api.github.com/users/C-Duv/repos","events_url":"https://api.github.com/users/C-Duv/events{/privacy}","received_events_url":"https://api.github.com/users/C-Duv/received_events","type":"User","site_admin":false},"created_at":"2017-09-30T16:04:48Z","updated_at":"2017-09-30T16:04:48Z","author_association":"NONE","body":"Tested on GLPI v9.2 and plugin v9.2+1.0: It works :thumbsup:"}}
{"actor":{"display_login":"C-Duv"}}