{"action":"created","issue":{"url":"https://api.github.com/repos/processone/ejabberd/issues/1057","repository_url":"https://api.github.com/repos/processone/ejabberd","labels_url":"https://api.github.com/repos/processone/ejabberd/issues/1057/labels{/name}","comments_url":"https://api.github.com/repos/processone/ejabberd/issues/1057/comments","events_url":"https://api.github.com/repos/processone/ejabberd/issues/1057/events","html_url":"https://github.com/processone/ejabberd/issues/1057","id":146551887,"number":1057,"title":"mod_admin_extra private_set example not working","user":{"login":"mrfrostfire","id":3914832,"avatar_url":"https://avatars.githubusercontent.com/u/3914832?v=3","gravatar_id":"","url":"https://api.github.com/users/mrfrostfire","html_url":"https://github.com/mrfrostfire","followers_url":"https://api.github.com/users/mrfrostfire/followers","following_url":"https://api.github.com/users/mrfrostfire/following{/other_user}","gists_url":"https://api.github.com/users/mrfrostfire/gists{/gist_id}","starred_url":"https://api.github.com/users/mrfrostfire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrfrostfire/subscriptions","organizations_url":"https://api.github.com/users/mrfrostfire/orgs","repos_url":"https://api.github.com/users/mrfrostfire/repos","events_url":"https://api.github.com/users/mrfrostfire/events{/privacy}","received_events_url":"https://api.github.com/users/mrfrostfire/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/processone/ejabberd/labels/Component:Admin%20Tools","name":"Component:Admin Tools","color":"f7c6c7"},{"url":"https://api.github.com/repos/processone/ejabberd/labels/Note:Cannot%20reproduce","name":"Note:Cannot reproduce","color":"c7def8"},{"url":"https://api.github.com/repos/processone/ejabberd/labels/Note:Needs%20more%20info","name":"Note:Needs more info","color":"c7def8"}],"state":"open","locked":false,"assignee":{"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},"milestone":{"url":"https://api.github.com/repos/processone/ejabberd/milestones/15","html_url":"https://github.com/processone/ejabberd/milestones/ejabberd%2016.04","labels_url":"https://api.github.com/repos/processone/ejabberd/milestones/15/labels","id":1663616,"number":15,"title":"ejabberd 16.04","description":null,"creator":{"login":"mremond","id":86736,"avatar_url":"https://avatars.githubusercontent.com/u/86736?v=3","gravatar_id":"","url":"https://api.github.com/users/mremond","html_url":"https://github.com/mremond","followers_url":"https://api.github.com/users/mremond/followers","following_url":"https://api.github.com/users/mremond/following{/other_user}","gists_url":"https://api.github.com/users/mremond/gists{/gist_id}","starred_url":"https://api.github.com/users/mremond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mremond/subscriptions","organizations_url":"https://api.github.com/users/mremond/orgs","repos_url":"https://api.github.com/users/mremond/repos","events_url":"https://api.github.com/users/mremond/events{/privacy}","received_events_url":"https://api.github.com/users/mremond/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":12,"state":"open","created_at":"2016-03-24T10:20:39Z","updated_at":"2016-04-14T07:20:38Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-04-07T08:56:18Z","updated_at":"2016-04-14T19:34:53Z","closed_at":null,"body":"We are using ejabberd 16.02 on red hat linux.\r\n\r\nWhen trying to use the following private_set example from mod_admin_extra.erl file:\r\n%% Example usage:\r\n%% $ ejabberdctl private_set badlop localhost \"\\<aa\\ xmlns=\\'bb\\'\\>Cluth\\</aa\\>\"\r\n%% $ ejabberdctl private_get badlop localhost aa bb\r\n%% <aa xmlns='bb'>Cluth</aa>\r\n\r\nThe private_set command gives the error:\r\nError: the command \"private_set\" requires 1 less argument."},"comment":{"url":"https://api.github.com/repos/processone/ejabberd/issues/comments/210113949","html_url":"https://github.com/processone/ejabberd/issues/1057#issuecomment-210113949","issue_url":"https://api.github.com/repos/processone/ejabberd/issues/1057","id":210113949,"user":{"login":"mrfrostfire","id":3914832,"avatar_url":"https://avatars.githubusercontent.com/u/3914832?v=3","gravatar_id":"","url":"https://api.github.com/users/mrfrostfire","html_url":"https://github.com/mrfrostfire","followers_url":"https://api.github.com/users/mrfrostfire/followers","following_url":"https://api.github.com/users/mrfrostfire/following{/other_user}","gists_url":"https://api.github.com/users/mrfrostfire/gists{/gist_id}","starred_url":"https://api.github.com/users/mrfrostfire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrfrostfire/subscriptions","organizations_url":"https://api.github.com/users/mrfrostfire/orgs","repos_url":"https://api.github.com/users/mrfrostfire/repos","events_url":"https://api.github.com/users/mrfrostfire/events{/privacy}","received_events_url":"https://api.github.com/users/mrfrostfire/received_events","type":"User","site_admin":false},"created_at":"2016-04-14T19:34:53Z","updated_at":"2016-04-14T19:34:53Z","body":"We ran into another obstacle causing us to use pubsub instead,\nNow we have another issue with pubsub and hometree instead. We have traced\nthe issue to where it breaks and we think it is an issue in the ejabberd\ncode.\nThat is offtopic for this ticket however.\nIs there any way to continue that discussion or is the only way to open a\nnew ticket?\nThanks\nPatrick\nmån 11 apr. 2016 kl. 13:22 skrev badlop <notifications@github.com>:\n\n> The commands work correctly for me using ejabberd git 16.02, so maybe the\n> problem is not solved for you with a new release.\n>\n> In the worrst case, you can use other method, like enabling\n> ejabberd_xmlrpc and using a Python script to call the command.\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly or view it on GitHub\n> <https://github.com/processone/ejabberd/issues/1057#issuecomment-208293429>\n>\n"}}