{"action":"created","issue":{"url":"https://api.github.com/repos/Strider-CD/strider-webhooks/issues/4","labels_url":"https://api.github.com/repos/Strider-CD/strider-webhooks/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Strider-CD/strider-webhooks/issues/4/comments","events_url":"https://api.github.com/repos/Strider-CD/strider-webhooks/issues/4/events","html_url":"https://github.com/Strider-CD/strider-webhooks/issues/4","id":35225696,"number":4,"title":"Cannot add any webhooks","user":{"login":"keyvanfatehi","id":175305,"avatar_url":"https://avatars.githubusercontent.com/u/175305?v=3","gravatar_id":"","url":"https://api.github.com/users/keyvanfatehi","html_url":"https://github.com/keyvanfatehi","followers_url":"https://api.github.com/users/keyvanfatehi/followers","following_url":"https://api.github.com/users/keyvanfatehi/following{/other_user}","gists_url":"https://api.github.com/users/keyvanfatehi/gists{/gist_id}","starred_url":"https://api.github.com/users/keyvanfatehi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keyvanfatehi/subscriptions","organizations_url":"https://api.github.com/users/keyvanfatehi/orgs","repos_url":"https://api.github.com/users/keyvanfatehi/repos","events_url":"https://api.github.com/users/keyvanfatehi/events{/privacy}","received_events_url":"https://api.github.com/users/keyvanfatehi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2014-06-08T02:29:55Z","updated_at":"2015-05-13T09:12:41Z","closed_at":null,"body":"Hi. I am running https://github.com/Strider-CD/strider/commit/756c91f0f3e04ffbc5b71d610ed96ff845385fca but the webhooks section does not let me add any webhooks. Screenshot enclosed. \r\n![selection_004](https://cloud.githubusercontent.com/assets/175305/3210337/c16f1536-eeb4-11e3-9f86-0b71e82ad102.png)\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/Strider-CD/strider-webhooks/issues/comments/101584010","html_url":"https://github.com/Strider-CD/strider-webhooks/issues/4#issuecomment-101584010","issue_url":"https://api.github.com/repos/Strider-CD/strider-webhooks/issues/4","id":101584010,"user":{"login":"marcuspoehls","id":837771,"avatar_url":"https://avatars.githubusercontent.com/u/837771?v=3","gravatar_id":"","url":"https://api.github.com/users/marcuspoehls","html_url":"https://github.com/marcuspoehls","followers_url":"https://api.github.com/users/marcuspoehls/followers","following_url":"https://api.github.com/users/marcuspoehls/following{/other_user}","gists_url":"https://api.github.com/users/marcuspoehls/gists{/gist_id}","starred_url":"https://api.github.com/users/marcuspoehls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcuspoehls/subscriptions","organizations_url":"https://api.github.com/users/marcuspoehls/orgs","repos_url":"https://api.github.com/users/marcuspoehls/repos","events_url":"https://api.github.com/users/marcuspoehls/events{/privacy}","received_events_url":"https://api.github.com/users/marcuspoehls/received_events","type":"User","site_admin":false},"created_at":"2015-05-13T09:12:41Z","updated_at":"2015-05-13T09:12:41Z","body":"I got some more insights of this problem on server side and the issue occurs during plugin configuration save. Sending the webhook config from frontend to the server has the following payload\r\n\r\n```\r\n[ { \r\n    '$$hashKey': '01U',\r\n    title: 'test',\r\n    url: 'http://server.url/',\r\n    secret: 'sha1=secret',\r\n    format: '{}' \r\n} ]\r\n```\r\n\r\nTrying to save these information results in a problem running Strider with **MongoDB 2.6 and greater**. The `$` sign is reserved in Mongo for internal functionality.\r\n\r\nThe Mongo error when trying to save\r\n\r\n```\r\ninfo: { [MongoError: The dollar ($) prefixed field '$$hashKey' in 'branches.0.plugins.2.config.0.$$hashKey' is not valid for storage.]\r\nname: 'MongoError',\r\ncode: 52,\r\nerr: 'The dollar ($) prefixed field \\'$$hashKey\\' in \\'branches.0.plugins.2.config.0.$$hashKey\\' is not valid for storage.' }\r\n```\r\n\r\n**My failed try to resolve the problem**\r\nI deleted the `$$hashKey` key from the sent config object and wanted to store the plugin config to Mongo. Looks like the save operation went smooth, at least there wasn’t any error in the console. When reloading the webhook config page in project’s plugin settings page (frontend), no config gets loaded and stored. And also no webhook gets fired during test runs.\r\n\r\n@jaredly @knownasilya Did you guys made any progress on this issue in the past?"}}