{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/carbon-business-messaging/pulls/comments/43232167","id":43232167,"diff_hunk":"@@ -190,6 +190,10 @@ function addTopic() {\n     topic.value = topic.value.replace(/^\\s+|\\s+$/g, \"\");\r\n     if (topic.value == \"\") {\r\n         error = \"Topic name cannot be empty.\\n\";\r\n+    }else if (!isValidTopicName(topic.value)) {\r","path":"components/andes/org.wso2.carbon.andes.event.ui/src/main/resources/web/topics/js/treecontrol.js","position":4,"original_position":4,"commit_id":"6842e4728460fce09e366a00607626a442c6aa14","original_commit_id":"6842e4728460fce09e366a00607626a442c6aa14","user":{"login":"a5anka","id":1148405,"avatar_url":"https://avatars.githubusercontent.com/u/1148405?v=3","gravatar_id":"","url":"https://api.github.com/users/a5anka","html_url":"https://github.com/a5anka","followers_url":"https://api.github.com/users/a5anka/followers","following_url":"https://api.github.com/users/a5anka/following{/other_user}","gists_url":"https://api.github.com/users/a5anka/gists{/gist_id}","starred_url":"https://api.github.com/users/a5anka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a5anka/subscriptions","organizations_url":"https://api.github.com/users/a5anka/orgs","repos_url":"https://api.github.com/users/a5anka/repos","events_url":"https://api.github.com/users/a5anka/events{/privacy}","received_events_url":"https://api.github.com/users/a5anka/received_events","type":"User","site_admin":false},"body":"Need to have a space before else.\r\ni.e.\r\n `} else`","created_at":"2015-10-28T09:24:28Z","updated_at":"2015-10-28T09:24:28Z","html_url":"https://github.com/wso2/carbon-business-messaging/pull/208#discussion_r43232167","pull_request_url":"https://api.github.com/repos/wso2/carbon-business-messaging/pulls/208","_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-business-messaging/pulls/comments/43232167"},"html":{"href":"https://github.com/wso2/carbon-business-messaging/pull/208#discussion_r43232167"},"pull_request":{"href":"https://api.github.com/repos/wso2/carbon-business-messaging/pulls/208"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/carbon-business-messaging/pulls/208","id":48980061,"html_url":"https://github.com/wso2/carbon-business-messaging/pull/208","diff_url":"https://github.com/wso2/carbon-business-messaging/pull/208.diff","patch_url":"https://github.com/wso2/carbon-business-messaging/pull/208.patch","issue_url":"https://api.github.com/repos/wso2/carbon-business-messaging/issues/208","number":208,"state":"open","locked":false,"title":"MB-1536, MB-1319","user":{"login":"ThilankaBowala","id":8558066,"avatar_url":"https://avatars.githubusercontent.com/u/8558066?v=3","gravatar_id":"","url":"https://api.github.com/users/ThilankaBowala","html_url":"https://github.com/ThilankaBowala","followers_url":"https://api.github.com/users/ThilankaBowala/followers","following_url":"https://api.github.com/users/ThilankaBowala/following{/other_user}","gists_url":"https://api.github.com/users/ThilankaBowala/gists{/gist_id}","starred_url":"https://api.github.com/users/ThilankaBowala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThilankaBowala/subscriptions","organizations_url":"https://api.github.com/users/ThilankaBowala/orgs","repos_url":"https://api.github.com/users/ThilankaBowala/repos","events_url":"https://api.github.com/users/ThilankaBowala/events{/privacy}","received_events_url":"https://api.github.com/users/ThilankaBowala/received_events","type":"User","site_admin":false},"body":"MB-1536 : Cannot add sub topics from hierarchical view\r\nMB-1319 : When \"&\" is in the queue or topic name, inconsistent behaviors were observed\r\n\r\nPlease merge with : https://github.com/wso2/andes/pull/453\r\n","created_at":"2015-10-28T09:14:31Z","updated_at":"2015-10-28T09:24:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c392a3b7b23370886929a52710df5ebfc760e99a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wso2/carbon-business-messaging/pulls/208/commits","review_comments_url":"https://api.github.com/repos/wso2/carbon-business-messaging/pulls/208/comments","review_comment_url":"https://api.github.com/repos/wso2/carbon-business-messaging/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2/carbon-business-messaging/issues/208/comments","statuses_url":"https://api.github.com/repos/wso2/carbon-business-messaging/statuses/6842e4728460fce09e366a00607626a442c6aa14","head":{"label":"ThilankaBowala:jira-1391","ref":"jira-1391","sha":"6842e4728460fce09e366a00607626a442c6aa14","user":{"login":"ThilankaBowala","id":8558066,"avatar_url":"https://avatars.githubusercontent.com/u/8558066?v=3","gravatar_id":"","url":"https://api.github.com/users/ThilankaBowala","html_url":"https://github.com/ThilankaBowala","followers_url":"https://api.github.com/users/ThilankaBowala/followers","following_url":"https://api.github.com/users/ThilankaBowala/following{/other_user}","gists_url":"https://api.github.com/users/ThilankaBowala/gists{/gist_id}","starred_url":"https://api.github.com/users/ThilankaBowala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThilankaBowala/subscriptions","organizations_url":"https://api.github.com/users/ThilankaBowala/orgs","repos_url":"https://api.github.com/users/ThilankaBowala/repos","events_url":"https://api.github.com/users/ThilankaBowala/events{/privacy}","received_events_url":"https://api.github.com/users/ThilankaBowala/received_events","type":"User","site_admin":false},"repo":{"id":41344520,"name":"carbon-business-messaging","full_name":"ThilankaBowala/carbon-business-messaging","owner":{"login":"ThilankaBowala","id":8558066,"avatar_url":"https://avatars.githubusercontent.com/u/8558066?v=3","gravatar_id":"","url":"https://api.github.com/users/ThilankaBowala","html_url":"https://github.com/ThilankaBowala","followers_url":"https://api.github.com/users/ThilankaBowala/followers","following_url":"https://api.github.com/users/ThilankaBowala/following{/other_user}","gists_url":"https://api.github.com/users/ThilankaBowala/gists{/gist_id}","starred_url":"https://api.github.com/users/ThilankaBowala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThilankaBowala/subscriptions","organizations_url":"https://api.github.com/users/ThilankaBowala/orgs","repos_url":"https://api.github.com/users/ThilankaBowala/repos","events_url":"https://api.github.com/users/ThilankaBowala/events{/privacy}","received_events_url":"https://api.github.com/users/ThilankaBowala/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ThilankaBowala/carbon-business-messaging","description":"","fork":true,"url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging","forks_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/forks","keys_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/teams","hooks_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/hooks","issue_events_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/issues/events{/number}","events_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/events","assignees_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/assignees{/user}","branches_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/branches{/branch}","tags_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/tags","blobs_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/git/refs{/sha}","trees_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/statuses/{sha}","languages_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/languages","stargazers_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/stargazers","contributors_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/contributors","subscribers_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/subscribers","subscription_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/subscription","commits_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/commits{/sha}","git_commits_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/git/commits{/sha}","comments_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/comments{/number}","issue_comment_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/issues/comments{/number}","contents_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/contents/{+path}","compare_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/merges","archive_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/downloads","issues_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/issues{/number}","pulls_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/pulls{/number}","milestones_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/milestones{/number}","notifications_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/labels{/name}","releases_url":"https://api.github.com/repos/ThilankaBowala/carbon-business-messaging/releases{/id}","created_at":"2015-08-25T05:23:22Z","updated_at":"2015-08-25T05:23:23Z","pushed_at":"2015-10-28T09:13:20Z","git_url":"git://github.com/ThilankaBowala/carbon-business-messaging.git","ssh_url":"git@github.com:ThilankaBowala/carbon-business-messaging.git","clone_url":"https://github.com/ThilankaBowala/carbon-business-messaging.git","svn_url":"https://github.com/ThilankaBowala/carbon-business-messaging","homepage":null,"size":2169,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"wso2:master","ref":"master","sha":"c3928700675146c9db433b724b3244c65b0e0eb9","user":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"repo":{"id":16577142,"name":"carbon-business-messaging","full_name":"wso2/carbon-business-messaging","owner":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wso2/carbon-business-messaging","description":"","fork":false,"url":"https://api.github.com/repos/wso2/carbon-business-messaging","forks_url":"https://api.github.com/repos/wso2/carbon-business-messaging/forks","keys_url":"https://api.github.com/repos/wso2/carbon-business-messaging/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2/carbon-business-messaging/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2/carbon-business-messaging/teams","hooks_url":"https://api.github.com/repos/wso2/carbon-business-messaging/hooks","issue_events_url":"https://api.github.com/repos/wso2/carbon-business-messaging/issues/events{/number}","events_url":"https://api.github.com/repos/wso2/carbon-business-messaging/events","assignees_url":"https://api.github.com/repos/wso2/carbon-business-messaging/assignees{/user}","branches_url":"https://api.github.com/repos/wso2/carbon-business-messaging/branches{/branch}","tags_url":"https://api.github.com/repos/wso2/carbon-business-messaging/tags","blobs_url":"https://api.github.com/repos/wso2/carbon-business-messaging/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2/carbon-business-messaging/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2/carbon-business-messaging/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2/carbon-business-messaging/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2/carbon-business-messaging/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2/carbon-business-messaging/languages","stargazers_url":"https://api.github.com/repos/wso2/carbon-business-messaging/stargazers","contributors_url":"https://api.github.com/repos/wso2/carbon-business-messaging/contributors","subscribers_url":"https://api.github.com/repos/wso2/carbon-business-messaging/subscribers","subscription_url":"https://api.github.com/repos/wso2/carbon-business-messaging/subscription","commits_url":"https://api.github.com/repos/wso2/carbon-business-messaging/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2/carbon-business-messaging/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2/carbon-business-messaging/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2/carbon-business-messaging/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2/carbon-business-messaging/contents/{+path}","compare_url":"https://api.github.com/repos/wso2/carbon-business-messaging/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2/carbon-business-messaging/merges","archive_url":"https://api.github.com/repos/wso2/carbon-business-messaging/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2/carbon-business-messaging/downloads","issues_url":"https://api.github.com/repos/wso2/carbon-business-messaging/issues{/number}","pulls_url":"https://api.github.com/repos/wso2/carbon-business-messaging/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2/carbon-business-messaging/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2/carbon-business-messaging/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2/carbon-business-messaging/labels{/name}","releases_url":"https://api.github.com/repos/wso2/carbon-business-messaging/releases{/id}","created_at":"2014-02-06T11:21:27Z","updated_at":"2015-09-17T06:46:00Z","pushed_at":"2015-10-28T09:14:31Z","git_url":"git://github.com/wso2/carbon-business-messaging.git","ssh_url":"git@github.com:wso2/carbon-business-messaging.git","clone_url":"https://github.com/wso2/carbon-business-messaging.git","svn_url":"https://github.com/wso2/carbon-business-messaging","homepage":null,"size":3508,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":33,"mirror_url":null,"open_issues_count":3,"forks":33,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-business-messaging/pulls/208"},"html":{"href":"https://github.com/wso2/carbon-business-messaging/pull/208"},"issue":{"href":"https://api.github.com/repos/wso2/carbon-business-messaging/issues/208"},"comments":{"href":"https://api.github.com/repos/wso2/carbon-business-messaging/issues/208/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/carbon-business-messaging/pulls/208/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2/carbon-business-messaging/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2/carbon-business-messaging/pulls/208/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/carbon-business-messaging/statuses/6842e4728460fce09e366a00607626a442c6aa14"}}}}