{"action":"created","issue":{"url":"https://api.github.com/repos/ironmansoftware/universal-dashboard/issues/369","repository_url":"https://api.github.com/repos/ironmansoftware/universal-dashboard","labels_url":"https://api.github.com/repos/ironmansoftware/universal-dashboard/issues/369/labels{/name}","comments_url":"https://api.github.com/repos/ironmansoftware/universal-dashboard/issues/369/comments","events_url":"https://api.github.com/repos/ironmansoftware/universal-dashboard/issues/369/events","html_url":"https://github.com/ironmansoftware/universal-dashboard/issues/369","id":360987462,"node_id":"MDU6SXNzdWUzNjA5ODc0NjI=","number":369,"title":"Endpoints with -ArgumentList fail","user":{"login":"jello3d","id":40499242,"node_id":"MDQ6VXNlcjQwNDk5MjQy","avatar_url":"https://avatars2.githubusercontent.com/u/40499242?v=4","gravatar_id":"","url":"https://api.github.com/users/jello3d","html_url":"https://github.com/jello3d","followers_url":"https://api.github.com/users/jello3d/followers","following_url":"https://api.github.com/users/jello3d/following{/other_user}","gists_url":"https://api.github.com/users/jello3d/gists{/gist_id}","starred_url":"https://api.github.com/users/jello3d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jello3d/subscriptions","organizations_url":"https://api.github.com/users/jello3d/orgs","repos_url":"https://api.github.com/users/jello3d/repos","events_url":"https://api.github.com/users/jello3d/events{/privacy}","received_events_url":"https://api.github.com/users/jello3d/received_events","type":"User","site_admin":false},"labels":[{"id":806338688,"node_id":"MDU6TGFiZWw4MDYzMzg2ODg=","url":"https://api.github.com/repos/ironmansoftware/universal-dashboard/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-09-17T18:24:25Z","updated_at":"2018-10-31T14:57:24Z","closed_at":null,"author_association":"NONE","body":"As I mentioned in the Commands in Buttons thread (closed), clicking the button generated by this code:\r\n\r\n```\r\n$Patch = 'comp1'\r\nNew-UDButton -Text $Patch -OnClick (New-UDEndpoint -Endpoint { Get-WUInstall -ComputerName $ArgumentList[0] -Install -Acceptall -Autoreboot -Verbose } -ArgumentList $Patch )\r\n```\r\nResults in errors like this:\r\n\r\n23:05:48 Quartz.Core.QuartzSchedulerThread Batch acquisition of 0 triggers\r\n23:05:48 ExecutionService ExecutionService constructor\r\n23:05:48 DashboardHub ClientEvent 884bc1fe-d5f4-419e-8c83-b70472770bd2 onClick\r\n23:05:48 EndpointService Get() 884bc1fe-d5f4-419e-8c83-b70472770bd2\r\n23:05:48 DashboardHub Endpoint 884bc1fe-d5f4-419e-8c83-b70472770bd2 not found.\r\n23:05:48 DashboardHub Failed to execute endpoint. Endpoint 884bc1fe-d5f4-419e-8c83-b70472770bd2 not found.\r\n\r\n\r\nI don't know any of what's going on behind the scenes, but it seems as though the endpoint is created when the page is created, but immediately deleted... and when the button attempts to use it, it is no longer available."},"comment":{"url":"https://api.github.com/repos/ironmansoftware/universal-dashboard/issues/comments/434719506","html_url":"https://github.com/ironmansoftware/universal-dashboard/issues/369#issuecomment-434719506","issue_url":"https://api.github.com/repos/ironmansoftware/universal-dashboard/issues/369","id":434719506,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDcxOTUwNg==","user":{"login":"jello3d","id":40499242,"node_id":"MDQ6VXNlcjQwNDk5MjQy","avatar_url":"https://avatars2.githubusercontent.com/u/40499242?v=4","gravatar_id":"","url":"https://api.github.com/users/jello3d","html_url":"https://github.com/jello3d","followers_url":"https://api.github.com/users/jello3d/followers","following_url":"https://api.github.com/users/jello3d/following{/other_user}","gists_url":"https://api.github.com/users/jello3d/gists{/gist_id}","starred_url":"https://api.github.com/users/jello3d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jello3d/subscriptions","organizations_url":"https://api.github.com/users/jello3d/orgs","repos_url":"https://api.github.com/users/jello3d/repos","events_url":"https://api.github.com/users/jello3d/events{/privacy}","received_events_url":"https://api.github.com/users/jello3d/received_events","type":"User","site_admin":false},"created_at":"2018-10-31T14:57:24Z","updated_at":"2018-10-31T14:57:24Z","author_association":"NONE","body":"It suppressed, but still did not complete, tried it with another machine just to be sure it wasn't that particular machine rejecting it. "}}
{"actor":{"display_login":"jello3d"}}