{"action":"closed","issue":{"url":"https://api.github.com/repos/glpi-project/glpi/issues/4714","repository_url":"https://api.github.com/repos/glpi-project/glpi","labels_url":"https://api.github.com/repos/glpi-project/glpi/issues/4714/labels{/name}","comments_url":"https://api.github.com/repos/glpi-project/glpi/issues/4714/comments","events_url":"https://api.github.com/repos/glpi-project/glpi/issues/4714/events","html_url":"https://github.com/glpi-project/glpi/issues/4714","id":364355123,"node_id":"MDU6SXNzdWUzNjQzNTUxMjM=","number":4714,"title":"[9.3.1] Import XML Rule =>Comment = \"Array\"","user":{"login":"Jean-Christophe-P","id":21988062,"node_id":"MDQ6VXNlcjIxOTg4MDYy","avatar_url":"https://avatars1.githubusercontent.com/u/21988062?v=4","gravatar_id":"","url":"https://api.github.com/users/Jean-Christophe-P","html_url":"https://github.com/Jean-Christophe-P","followers_url":"https://api.github.com/users/Jean-Christophe-P/followers","following_url":"https://api.github.com/users/Jean-Christophe-P/following{/other_user}","gists_url":"https://api.github.com/users/Jean-Christophe-P/gists{/gist_id}","starred_url":"https://api.github.com/users/Jean-Christophe-P/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jean-Christophe-P/subscriptions","organizations_url":"https://api.github.com/users/Jean-Christophe-P/orgs","repos_url":"https://api.github.com/users/Jean-Christophe-P/repos","events_url":"https://api.github.com/users/Jean-Christophe-P/events{/privacy}","received_events_url":"https://api.github.com/users/Jean-Christophe-P/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-09-27T08:15:57Z","updated_at":"2018-09-27T12:35:21Z","closed_at":"2018-09-27T12:35:21Z","author_association":"NONE","body":"Dear GLPI Developer, \r\n\r\nWhen I want to import an XML file containing rules, the comments are not imported. Instead, I have the string \"Array\" in the comment.\r\n\r\nWhether there is a comment in the XML \r\n\"`<comment>bla bla bla</comment>`\"\r\nor not\r\n\"`<comment />`\" or \"`<comment></comment>`\"\r\nthe result is the same.\r\n\r\n------------\r\n* Steps to reproduce (which actions have you made) :\r\nExport rules as XML file cleanup the rules you do not want to import back,\r\nImport you XML file. \r\n\r\n* Expected result :\r\nRule comment is empty or contains the XML file <comment> attribute.\r\n\r\n* Actual result :\r\nComment field contains \"Array\"\r\n\r\n* URL of the page :\r\n\r\n\r\n* Screenshot of the problem (if pertinent) :\r\n\r\n\r\n* Your GLPI setup (you can find it in Setup > General menu, System tab) :\r\nGLPI 9.3.1 on Debian 9\r\n\r\n\r\n"}}
{"actor":{"display_login":"trasher"}}