{"action":"created","issue":{"url":"https://api.github.com/repos/openwhisk/openwhisk/issues/239","repository_url":"https://api.github.com/repos/openwhisk/openwhisk","labels_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/239/labels{/name}","comments_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/239/comments","events_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/239/events","html_url":"https://github.com/openwhisk/openwhisk/issues/239","id":149890471,"number":239,"title":"confusing error message on trying to create rule with shared action","user":{"login":"csantanapr","id":1094878,"avatar_url":"https://avatars.githubusercontent.com/u/1094878?v=3","gravatar_id":"","url":"https://api.github.com/users/csantanapr","html_url":"https://github.com/csantanapr","followers_url":"https://api.github.com/users/csantanapr/followers","following_url":"https://api.github.com/users/csantanapr/following{/other_user}","gists_url":"https://api.github.com/users/csantanapr/gists{/gist_id}","starred_url":"https://api.github.com/users/csantanapr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csantanapr/subscriptions","organizations_url":"https://api.github.com/users/csantanapr/orgs","repos_url":"https://api.github.com/users/csantanapr/repos","events_url":"https://api.github.com/users/csantanapr/events{/privacy}","received_events_url":"https://api.github.com/users/csantanapr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openwhisk/openwhisk/labels/API","name":"API","color":"0052cc"},{"url":"https://api.github.com/repos/openwhisk/openwhisk/labels/CLI","name":"CLI","color":"006b75"},{"url":"https://api.github.com/repos/openwhisk/openwhisk/labels/documentation","name":"documentation","color":"c5def5"}],"state":"open","locked":false,"assignee":{"login":"csantanapr","id":1094878,"avatar_url":"https://avatars.githubusercontent.com/u/1094878?v=3","gravatar_id":"","url":"https://api.github.com/users/csantanapr","html_url":"https://github.com/csantanapr","followers_url":"https://api.github.com/users/csantanapr/followers","following_url":"https://api.github.com/users/csantanapr/following{/other_user}","gists_url":"https://api.github.com/users/csantanapr/gists{/gist_id}","starred_url":"https://api.github.com/users/csantanapr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csantanapr/subscriptions","organizations_url":"https://api.github.com/users/csantanapr/orgs","repos_url":"https://api.github.com/users/csantanapr/repos","events_url":"https://api.github.com/users/csantanapr/events{/privacy}","received_events_url":"https://api.github.com/users/csantanapr/received_events","type":"User","site_admin":false},"assignees":[{"login":"csantanapr","id":1094878,"avatar_url":"https://avatars.githubusercontent.com/u/1094878?v=3","gravatar_id":"","url":"https://api.github.com/users/csantanapr","html_url":"https://github.com/csantanapr","followers_url":"https://api.github.com/users/csantanapr/followers","following_url":"https://api.github.com/users/csantanapr/following{/other_user}","gists_url":"https://api.github.com/users/csantanapr/gists{/gist_id}","starred_url":"https://api.github.com/users/csantanapr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csantanapr/subscriptions","organizations_url":"https://api.github.com/users/csantanapr/orgs","repos_url":"https://api.github.com/users/csantanapr/repos","events_url":"https://api.github.com/users/csantanapr/events{/privacy}","received_events_url":"https://api.github.com/users/csantanapr/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2016-04-20T21:25:46Z","updated_at":"2016-08-31T17:57:11Z","closed_at":null,"body":"Trying this in the CLI\r\n```\r\n$ wsk rule create ifGitThenEcho myGitTrigger /whisk.system/samples/echo\r\nerror: The request content was malformed:\r\nentity name malformed (code 1385580)\r\n```\r\n\r\nIn `wsk rule create name trigger action` trigger or action can't be private\r\nUser needs to copy the action to his space like\r\n```\r\n$ wsk action create echo --copy /whisk.system/samples/echo\r\nok: created action echo\r\n```\r\nCLI error should be more clear about this and the [docs](https://github.com/openwhisk/openwhisk/blob/master/docs/triggers_rules.md#using-rules-to-associate-triggers-and-actions) should be updated to reflect this"},"comment":{"url":"https://api.github.com/repos/openwhisk/openwhisk/issues/comments/243847052","html_url":"https://github.com/openwhisk/openwhisk/issues/239#issuecomment-243847052","issue_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/239","id":243847052,"user":{"login":"csantanapr","id":1094878,"avatar_url":"https://avatars.githubusercontent.com/u/1094878?v=3","gravatar_id":"","url":"https://api.github.com/users/csantanapr","html_url":"https://github.com/csantanapr","followers_url":"https://api.github.com/users/csantanapr/followers","following_url":"https://api.github.com/users/csantanapr/following{/other_user}","gists_url":"https://api.github.com/users/csantanapr/gists{/gist_id}","starred_url":"https://api.github.com/users/csantanapr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csantanapr/subscriptions","organizations_url":"https://api.github.com/users/csantanapr/orgs","repos_url":"https://api.github.com/users/csantanapr/repos","events_url":"https://api.github.com/users/csantanapr/events{/privacy}","received_events_url":"https://api.github.com/users/csantanapr/received_events","type":"User","site_admin":false},"created_at":"2016-08-31T17:57:10Z","updated_at":"2016-08-31T17:57:10Z","body":"current workarounds are \r\n1. put the action inside a sequence\r\n2. copy the action to the namespace outside of a package\r\nexample for 1. :\r\n```\r\n$ wsk action create --sequence s1 /whisk.system/samples/echo,/whisk.system/samples/echo\r\nok: created action s1\r\n$ wsk rule create r1 t1 s1\r\nok: created rule r1\r\n```"}}
{"actor":{"display_login":"csantanapr"}}