{"action":"created","issue":{"url":"https://api.github.com/repos/processone/ejabberd-contrib/issues/90","labels_url":"https://api.github.com/repos/processone/ejabberd-contrib/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/processone/ejabberd-contrib/issues/90/comments","events_url":"https://api.github.com/repos/processone/ejabberd-contrib/issues/90/events","html_url":"https://github.com/processone/ejabberd-contrib/issues/90","id":65795289,"number":90,"title":"[15.03] mod_admin_extra srg_get_info output changed","user":{"login":"CyrilPeponnet","id":2277387,"avatar_url":"https://avatars.githubusercontent.com/u/2277387?v=3","gravatar_id":"","url":"https://api.github.com/users/CyrilPeponnet","html_url":"https://github.com/CyrilPeponnet","followers_url":"https://api.github.com/users/CyrilPeponnet/followers","following_url":"https://api.github.com/users/CyrilPeponnet/following{/other_user}","gists_url":"https://api.github.com/users/CyrilPeponnet/gists{/gist_id}","starred_url":"https://api.github.com/users/CyrilPeponnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CyrilPeponnet/subscriptions","organizations_url":"https://api.github.com/users/CyrilPeponnet/orgs","repos_url":"https://api.github.com/users/CyrilPeponnet/repos","events_url":"https://api.github.com/users/CyrilPeponnet/events{/privacy}","received_events_url":"https://api.github.com/users/CyrilPeponnet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/processone/ejabberd-contrib/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"prefiks","id":61998,"avatar_url":"https://avatars.githubusercontent.com/u/61998?v=3","gravatar_id":"","url":"https://api.github.com/users/prefiks","html_url":"https://github.com/prefiks","followers_url":"https://api.github.com/users/prefiks/followers","following_url":"https://api.github.com/users/prefiks/following{/other_user}","gists_url":"https://api.github.com/users/prefiks/gists{/gist_id}","starred_url":"https://api.github.com/users/prefiks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prefiks/subscriptions","organizations_url":"https://api.github.com/users/prefiks/orgs","repos_url":"https://api.github.com/users/prefiks/repos","events_url":"https://api.github.com/users/prefiks/events{/privacy}","received_events_url":"https://api.github.com/users/prefiks/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-04-01T22:52:53Z","updated_at":"2015-04-02T14:17:08Z","closed_at":null,"body":"Hi,\r\n\r\n```\r\n[root@central-server ejabberd]# ejabberdctl srg_get_info 'All\\ Users' `hostname`\r\nname\t<<\"All Users\">>\r\ndisplayed_groups\t[<<\"All Hypervisors\">>,<<\"All Virtual Machines\">>]\r\ndescription\t<<\"Automatic group\">>\r\n```\r\n\r\nwhy those <<>>> ??\r\n\r\nOn older version:\r\n\r\n```\r\n[root@server ~]#  ejabberdctl srg_get_info 'All\\ Users' `hostname`\r\nname    \"All Users\"\r\ndisplayed_groups        [\"All Hypervisors\",\"All Virtual Machines\"]\r\ndescription     \"Automatic group\"\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/processone/ejabberd-contrib/issues/comments/88922791","html_url":"https://github.com/processone/ejabberd-contrib/issues/90#issuecomment-88922791","issue_url":"https://api.github.com/repos/processone/ejabberd-contrib/issues/90","id":88922791,"user":{"login":"badlop","id":96807,"avatar_url":"https://avatars.githubusercontent.com/u/96807?v=3","gravatar_id":"","url":"https://api.github.com/users/badlop","html_url":"https://github.com/badlop","followers_url":"https://api.github.com/users/badlop/followers","following_url":"https://api.github.com/users/badlop/following{/other_user}","gists_url":"https://api.github.com/users/badlop/gists{/gist_id}","starred_url":"https://api.github.com/users/badlop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/badlop/subscriptions","organizations_url":"https://api.github.com/users/badlop/orgs","repos_url":"https://api.github.com/users/badlop/repos","events_url":"https://api.github.com/users/badlop/events{/privacy}","received_events_url":"https://api.github.com/users/badlop/received_events","type":"User","site_admin":false},"created_at":"2015-04-02T14:17:08Z","updated_at":"2015-04-02T14:17:08Z","body":"Preliminary patch; it isn't necessary to format the result in the command, as it will be formatted by the commands frontend:\r\n```\r\n--- a/src/mod_admin_extra.erl\r\n+++ b/src/mod_admin_extra.erl\r\n@@ -1325,7 +1325,7 @@ srg_get_info(Group, Host) ->\r\n        error -> []\r\n     end,\r\n     [{io_lib:format(\"~p\", [Title]),\r\n-      io_lib:format(\"~p\", [Value])} || {Title, Value} <- Opts].\r\n+      Value} || {Title, Value} <- Opts].\r\n \r\n srg_get_members(Group, Host) ->\r\n     Members = mod_shared_roster:get_group_explicit_users(Host,Group),\r\n```\r\nRegarding srg_create, it works correctly for me, maybe because I use ejabberdctl in the shell?"}}