{"action":"created","issue":{"url":"https://api.github.com/repos/OCSInventory-NG/OCSInventory-ocsreports/issues/96","repository_url":"https://api.github.com/repos/OCSInventory-NG/OCSInventory-ocsreports","labels_url":"https://api.github.com/repos/OCSInventory-NG/OCSInventory-ocsreports/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/OCSInventory-NG/OCSInventory-ocsreports/issues/96/comments","events_url":"https://api.github.com/repos/OCSInventory-NG/OCSInventory-ocsreports/issues/96/events","html_url":"https://github.com/OCSInventory-NG/OCSInventory-ocsreports/issues/96","id":158345364,"number":96,"title":"Export data hardware empty | wrong Computer names","user":{"login":"ronator","id":6568335,"avatar_url":"https://avatars.githubusercontent.com/u/6568335?v=3","gravatar_id":"","url":"https://api.github.com/users/ronator","html_url":"https://github.com/ronator","followers_url":"https://api.github.com/users/ronator/followers","following_url":"https://api.github.com/users/ronator/following{/other_user}","gists_url":"https://api.github.com/users/ronator/gists{/gist_id}","starred_url":"https://api.github.com/users/ronator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronator/subscriptions","organizations_url":"https://api.github.com/users/ronator/orgs","repos_url":"https://api.github.com/users/ronator/repos","events_url":"https://api.github.com/users/ronator/events{/privacy}","received_events_url":"https://api.github.com/users/ronator/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OCSInventory-NG/OCSInventory-ocsreports/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"gillesdubois","id":9396603,"avatar_url":"https://avatars.githubusercontent.com/u/9396603?v=3","gravatar_id":"","url":"https://api.github.com/users/gillesdubois","html_url":"https://github.com/gillesdubois","followers_url":"https://api.github.com/users/gillesdubois/followers","following_url":"https://api.github.com/users/gillesdubois/following{/other_user}","gists_url":"https://api.github.com/users/gillesdubois/gists{/gist_id}","starred_url":"https://api.github.com/users/gillesdubois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gillesdubois/subscriptions","organizations_url":"https://api.github.com/users/gillesdubois/orgs","repos_url":"https://api.github.com/users/gillesdubois/repos","events_url":"https://api.github.com/users/gillesdubois/events{/privacy}","received_events_url":"https://api.github.com/users/gillesdubois/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/OCSInventory-NG/OCSInventory-ocsreports/milestones/2","html_url":"https://github.com/OCSInventory-NG/OCSInventory-ocsreports/milestones/2.2","labels_url":"https://api.github.com/repos/OCSInventory-NG/OCSInventory-ocsreports/milestones/2/labels","id":1577209,"number":2,"title":"2.2","description":"","creator":{"login":"gillesdubois","id":9396603,"avatar_url":"https://avatars.githubusercontent.com/u/9396603?v=3","gravatar_id":"","url":"https://api.github.com/users/gillesdubois","html_url":"https://github.com/gillesdubois","followers_url":"https://api.github.com/users/gillesdubois/followers","following_url":"https://api.github.com/users/gillesdubois/following{/other_user}","gists_url":"https://api.github.com/users/gillesdubois/gists{/gist_id}","starred_url":"https://api.github.com/users/gillesdubois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gillesdubois/subscriptions","organizations_url":"https://api.github.com/users/gillesdubois/orgs","repos_url":"https://api.github.com/users/gillesdubois/repos","events_url":"https://api.github.com/users/gillesdubois/events{/privacy}","received_events_url":"https://api.github.com/users/gillesdubois/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":28,"state":"open","created_at":"2016-02-11T09:27:03Z","updated_at":"2016-06-03T15:26:16Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-06-03T11:17:23Z","updated_at":"2016-06-03T15:34:22Z","closed_at":"2016-06-03T15:26:16Z","body":"Someone else reported this bug on launchpad, I have the same issue on Ubuntu 16.04 with php7 and mysql 5.7 and apache 2.4: https://bugs.launchpad.net/ocsinventory-ocsreports/+bug/1581207\r\n\r\nIt occurs when you select \"Inventory -> All softwares\" and then click on the \"Count\" link for any software. The next page you can download the reports, but it fails, log says:\r\n\r\n[Fri Jun 03 11:35:21.898270 2016] [:error] [pid 7800] [client 192.168.10.52:7901] PHP Warning:  mysqli_fetch_array() expects parameter 2 to be integer, string given in /usr/share/ocsinventory-reports/ocsreports/plugins/main_sections/ms_export/ms_csv.php on line 114\r\n\r\nI checked my ocs version 2.2 with the code in this file mentioned above here on github, it is the same code.\r\n\r\nFurthermore, there is a problem with the search overview on this page: In the row \"Computer\" there appears the Software name.\r\n\r\n![auswahl_196](https://cloud.githubusercontent.com/assets/6568335/15777110/3500ff90-298d-11e6-9f83-39d23e6212e4.png)\r\n\r\nThis also makes usage of exported reports difficult, because it does not work and displays wrong  information. I guess it may be an aftereffect to the issue with mysqli. Our clients use OCS-NG_WINDOWS_AGENT_v2.1.1.3.\r\n"},"comment":{"url":"https://api.github.com/repos/OCSInventory-NG/OCSInventory-ocsreports/issues/comments/223612465","html_url":"https://github.com/OCSInventory-NG/OCSInventory-ocsreports/issues/96#issuecomment-223612465","issue_url":"https://api.github.com/repos/OCSInventory-NG/OCSInventory-ocsreports/issues/96","id":223612465,"user":{"login":"ronator","id":6568335,"avatar_url":"https://avatars.githubusercontent.com/u/6568335?v=3","gravatar_id":"","url":"https://api.github.com/users/ronator","html_url":"https://github.com/ronator","followers_url":"https://api.github.com/users/ronator/followers","following_url":"https://api.github.com/users/ronator/following{/other_user}","gists_url":"https://api.github.com/users/ronator/gists{/gist_id}","starred_url":"https://api.github.com/users/ronator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronator/subscriptions","organizations_url":"https://api.github.com/users/ronator/orgs","repos_url":"https://api.github.com/users/ronator/repos","events_url":"https://api.github.com/users/ronator/events{/privacy}","received_events_url":"https://api.github.com/users/ronator/received_events","type":"User","site_admin":false},"created_at":"2016-06-03T15:34:22Z","updated_at":"2016-06-03T15:34:22Z","body":"quick fix, very nice IRC community (come and join us on freenode), much appreciated!"}}
{"actor":{"display_login":"ronator"}}