{"action":"opened","number":1458,"pull_request":{"url":"https://api.github.com/repos/jonmak08/liferay-portal/pulls/1458","id":58032532,"html_url":"https://github.com/jonmak08/liferay-portal/pull/1458","diff_url":"https://github.com/jonmak08/liferay-portal/pull/1458.diff","patch_url":"https://github.com/jonmak08/liferay-portal/pull/1458.patch","issue_url":"https://api.github.com/repos/jonmak08/liferay-portal/issues/1458","number":1458,"state":"open","locked":false,"title":"LPS-62639 Javascript error when creating new Export process","user":{"login":"thektan","id":4496722,"avatar_url":"https://avatars.githubusercontent.com/u/4496722?v=3","gravatar_id":"","url":"https://api.github.com/users/thektan","html_url":"https://github.com/thektan","followers_url":"https://api.github.com/users/thektan/followers","following_url":"https://api.github.com/users/thektan/following{/other_user}","gists_url":"https://api.github.com/users/thektan/gists{/gist_id}","starred_url":"https://api.github.com/users/thektan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thektan/subscriptions","organizations_url":"https://api.github.com/users/thektan/orgs","repos_url":"https://api.github.com/users/thektan/repos","events_url":"https://api.github.com/users/thektan/events{/privacy}","received_events_url":"https://api.github.com/users/thektan/received_events","type":"User","site_admin":false},"body":"Hi @jonmak08,\r\n\r\nUpdate for: https://issues.liferay.com/browse/LPS-62639\r\n\r\nThe error is thrown when `treeView` is undefined so I added in a check if it exists before any other functions are called on it. The error only occurs when the page is first loaded and it's defining `treeView` before the `tree-view` element is initially loaded, but there doesn't seem to be any other problems of it after just adding in a check.\r\n\r\nThanks!","created_at":"2016-02-02T18:55:13Z","updated_at":"2016-02-02T18:55:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jonmak08/liferay-portal/pulls/1458/commits","review_comments_url":"https://api.github.com/repos/jonmak08/liferay-portal/pulls/1458/comments","review_comment_url":"https://api.github.com/repos/jonmak08/liferay-portal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jonmak08/liferay-portal/issues/1458/comments","statuses_url":"https://api.github.com/repos/jonmak08/liferay-portal/statuses/369625e62d1b8c95eba3ecf678bf59171f83c37a","head":{"label":"thektan:LPS-62639-export-js-error","ref":"LPS-62639-export-js-error","sha":"369625e62d1b8c95eba3ecf678bf59171f83c37a","user":{"login":"thektan","id":4496722,"avatar_url":"https://avatars.githubusercontent.com/u/4496722?v=3","gravatar_id":"","url":"https://api.github.com/users/thektan","html_url":"https://github.com/thektan","followers_url":"https://api.github.com/users/thektan/followers","following_url":"https://api.github.com/users/thektan/following{/other_user}","gists_url":"https://api.github.com/users/thektan/gists{/gist_id}","starred_url":"https://api.github.com/users/thektan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thektan/subscriptions","organizations_url":"https://api.github.com/users/thektan/orgs","repos_url":"https://api.github.com/users/thektan/repos","events_url":"https://api.github.com/users/thektan/events{/privacy}","received_events_url":"https://api.github.com/users/thektan/received_events","type":"User","site_admin":false},"repo":{"id":43705364,"name":"liferay-portal","full_name":"thektan/liferay-portal","owner":{"login":"thektan","id":4496722,"avatar_url":"https://avatars.githubusercontent.com/u/4496722?v=3","gravatar_id":"","url":"https://api.github.com/users/thektan","html_url":"https://github.com/thektan","followers_url":"https://api.github.com/users/thektan/followers","following_url":"https://api.github.com/users/thektan/following{/other_user}","gists_url":"https://api.github.com/users/thektan/gists{/gist_id}","starred_url":"https://api.github.com/users/thektan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thektan/subscriptions","organizations_url":"https://api.github.com/users/thektan/orgs","repos_url":"https://api.github.com/users/thektan/repos","events_url":"https://api.github.com/users/thektan/events{/privacy}","received_events_url":"https://api.github.com/users/thektan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thektan/liferay-portal","description":"","fork":true,"url":"https://api.github.com/repos/thektan/liferay-portal","forks_url":"https://api.github.com/repos/thektan/liferay-portal/forks","keys_url":"https://api.github.com/repos/thektan/liferay-portal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thektan/liferay-portal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thektan/liferay-portal/teams","hooks_url":"https://api.github.com/repos/thektan/liferay-portal/hooks","issue_events_url":"https://api.github.com/repos/thektan/liferay-portal/issues/events{/number}","events_url":"https://api.github.com/repos/thektan/liferay-portal/events","assignees_url":"https://api.github.com/repos/thektan/liferay-portal/assignees{/user}","branches_url":"https://api.github.com/repos/thektan/liferay-portal/branches{/branch}","tags_url":"https://api.github.com/repos/thektan/liferay-portal/tags","blobs_url":"https://api.github.com/repos/thektan/liferay-portal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thektan/liferay-portal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thektan/liferay-portal/git/refs{/sha}","trees_url":"https://api.github.com/repos/thektan/liferay-portal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thektan/liferay-portal/statuses/{sha}","languages_url":"https://api.github.com/repos/thektan/liferay-portal/languages","stargazers_url":"https://api.github.com/repos/thektan/liferay-portal/stargazers","contributors_url":"https://api.github.com/repos/thektan/liferay-portal/contributors","subscribers_url":"https://api.github.com/repos/thektan/liferay-portal/subscribers","subscription_url":"https://api.github.com/repos/thektan/liferay-portal/subscription","commits_url":"https://api.github.com/repos/thektan/liferay-portal/commits{/sha}","git_commits_url":"https://api.github.com/repos/thektan/liferay-portal/git/commits{/sha}","comments_url":"https://api.github.com/repos/thektan/liferay-portal/comments{/number}","issue_comment_url":"https://api.github.com/repos/thektan/liferay-portal/issues/comments{/number}","contents_url":"https://api.github.com/repos/thektan/liferay-portal/contents/{+path}","compare_url":"https://api.github.com/repos/thektan/liferay-portal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thektan/liferay-portal/merges","archive_url":"https://api.github.com/repos/thektan/liferay-portal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thektan/liferay-portal/downloads","issues_url":"https://api.github.com/repos/thektan/liferay-portal/issues{/number}","pulls_url":"https://api.github.com/repos/thektan/liferay-portal/pulls{/number}","milestones_url":"https://api.github.com/repos/thektan/liferay-portal/milestones{/number}","notifications_url":"https://api.github.com/repos/thektan/liferay-portal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thektan/liferay-portal/labels{/name}","releases_url":"https://api.github.com/repos/thektan/liferay-portal/releases{/id}","deployments_url":"https://api.github.com/repos/thektan/liferay-portal/deployments","created_at":"2015-10-05T18:34:40Z","updated_at":"2016-01-11T17:36:48Z","pushed_at":"2016-02-02T18:39:32Z","git_url":"git://github.com/thektan/liferay-portal.git","ssh_url":"git@github.com:thektan/liferay-portal.git","clone_url":"https://github.com/thektan/liferay-portal.git","svn_url":"https://github.com/thektan/liferay-portal","homepage":"http://liferay.com","size":5546966,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"jonmak08:master","ref":"master","sha":"97c5ec30757deff4d8749198dd6eb5564a16693e","user":{"login":"jonmak08","id":860951,"avatar_url":"https://avatars.githubusercontent.com/u/860951?v=3","gravatar_id":"","url":"https://api.github.com/users/jonmak08","html_url":"https://github.com/jonmak08","followers_url":"https://api.github.com/users/jonmak08/followers","following_url":"https://api.github.com/users/jonmak08/following{/other_user}","gists_url":"https://api.github.com/users/jonmak08/gists{/gist_id}","starred_url":"https://api.github.com/users/jonmak08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonmak08/subscriptions","organizations_url":"https://api.github.com/users/jonmak08/orgs","repos_url":"https://api.github.com/users/jonmak08/repos","events_url":"https://api.github.com/users/jonmak08/events{/privacy}","received_events_url":"https://api.github.com/users/jonmak08/received_events","type":"User","site_admin":false},"repo":{"id":1925148,"name":"liferay-portal","full_name":"jonmak08/liferay-portal","owner":{"login":"jonmak08","id":860951,"avatar_url":"https://avatars.githubusercontent.com/u/860951?v=3","gravatar_id":"","url":"https://api.github.com/users/jonmak08","html_url":"https://github.com/jonmak08","followers_url":"https://api.github.com/users/jonmak08/followers","following_url":"https://api.github.com/users/jonmak08/following{/other_user}","gists_url":"https://api.github.com/users/jonmak08/gists{/gist_id}","starred_url":"https://api.github.com/users/jonmak08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonmak08/subscriptions","organizations_url":"https://api.github.com/users/jonmak08/orgs","repos_url":"https://api.github.com/users/jonmak08/repos","events_url":"https://api.github.com/users/jonmak08/events{/privacy}","received_events_url":"https://api.github.com/users/jonmak08/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jonmak08/liferay-portal","description":"","fork":true,"url":"https://api.github.com/repos/jonmak08/liferay-portal","forks_url":"https://api.github.com/repos/jonmak08/liferay-portal/forks","keys_url":"https://api.github.com/repos/jonmak08/liferay-portal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jonmak08/liferay-portal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jonmak08/liferay-portal/teams","hooks_url":"https://api.github.com/repos/jonmak08/liferay-portal/hooks","issue_events_url":"https://api.github.com/repos/jonmak08/liferay-portal/issues/events{/number}","events_url":"https://api.github.com/repos/jonmak08/liferay-portal/events","assignees_url":"https://api.github.com/repos/jonmak08/liferay-portal/assignees{/user}","branches_url":"https://api.github.com/repos/jonmak08/liferay-portal/branches{/branch}","tags_url":"https://api.github.com/repos/jonmak08/liferay-portal/tags","blobs_url":"https://api.github.com/repos/jonmak08/liferay-portal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jonmak08/liferay-portal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jonmak08/liferay-portal/git/refs{/sha}","trees_url":"https://api.github.com/repos/jonmak08/liferay-portal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jonmak08/liferay-portal/statuses/{sha}","languages_url":"https://api.github.com/repos/jonmak08/liferay-portal/languages","stargazers_url":"https://api.github.com/repos/jonmak08/liferay-portal/stargazers","contributors_url":"https://api.github.com/repos/jonmak08/liferay-portal/contributors","subscribers_url":"https://api.github.com/repos/jonmak08/liferay-portal/subscribers","subscription_url":"https://api.github.com/repos/jonmak08/liferay-portal/subscription","commits_url":"https://api.github.com/repos/jonmak08/liferay-portal/commits{/sha}","git_commits_url":"https://api.github.com/repos/jonmak08/liferay-portal/git/commits{/sha}","comments_url":"https://api.github.com/repos/jonmak08/liferay-portal/comments{/number}","issue_comment_url":"https://api.github.com/repos/jonmak08/liferay-portal/issues/comments{/number}","contents_url":"https://api.github.com/repos/jonmak08/liferay-portal/contents/{+path}","compare_url":"https://api.github.com/repos/jonmak08/liferay-portal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jonmak08/liferay-portal/merges","archive_url":"https://api.github.com/repos/jonmak08/liferay-portal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jonmak08/liferay-portal/downloads","issues_url":"https://api.github.com/repos/jonmak08/liferay-portal/issues{/number}","pulls_url":"https://api.github.com/repos/jonmak08/liferay-portal/pulls{/number}","milestones_url":"https://api.github.com/repos/jonmak08/liferay-portal/milestones{/number}","notifications_url":"https://api.github.com/repos/jonmak08/liferay-portal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jonmak08/liferay-portal/labels{/name}","releases_url":"https://api.github.com/repos/jonmak08/liferay-portal/releases{/id}","deployments_url":"https://api.github.com/repos/jonmak08/liferay-portal/deployments","created_at":"2011-06-20T18:47:04Z","updated_at":"2015-05-08T01:38:25Z","pushed_at":"2016-02-02T18:55:13Z","git_url":"git://github.com/jonmak08/liferay-portal.git","ssh_url":"git@github.com:jonmak08/liferay-portal.git","clone_url":"https://github.com/jonmak08/liferay-portal.git","svn_url":"https://github.com/jonmak08/liferay-portal","homepage":"http://liferay.com","size":5547426,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":26,"forks":0,"open_issues":26,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jonmak08/liferay-portal/pulls/1458"},"html":{"href":"https://github.com/jonmak08/liferay-portal/pull/1458"},"issue":{"href":"https://api.github.com/repos/jonmak08/liferay-portal/issues/1458"},"comments":{"href":"https://api.github.com/repos/jonmak08/liferay-portal/issues/1458/comments"},"review_comments":{"href":"https://api.github.com/repos/jonmak08/liferay-portal/pulls/1458/comments"},"review_comment":{"href":"https://api.github.com/repos/jonmak08/liferay-portal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jonmak08/liferay-portal/pulls/1458/commits"},"statuses":{"href":"https://api.github.com/repos/jonmak08/liferay-portal/statuses/369625e62d1b8c95eba3ecf678bf59171f83c37a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":114,"additions":1328,"deletions":2725,"changed_files":222}}