{"action":"created","comment":{"url":"https://api.github.com/repos/diging/quadriga/pulls/comments/90318271","pull_request_review_id":10837837,"id":90318271,"diff_hunk":"@@ -150,21 +144,19 @@ public ModelAndView saveAbout(@ProjectIdentifier @PathVariable(\"ProjectId\") Stri\n     @InjectProjectById\n     public ResponseEntity<String> visualizeNetworks(@ProjectIdentifier @PathVariable(\"projectId\") String projectid,\n             @PathVariable(\"networkId\") String networkId, Principal principal,\n-            @CheckAccess @InjectProject IProject project) {\n-        ITransformedNetwork transformedNetwork = null;\n+            @CheckAccess @InjectProject IProject project) throws QuadrigaStorageException {\n+        boolean isValid = false;\n         try {\n-            transformedNetwork = transformationManager.getTransformedNetwork(networkId);\n-        } catch (QuadrigaStorageException qse) {\n-            logger.error(\"Error while retrieving networks for display:\", qse);\n+            isValid = nwManager.getNetworkIdsInProject(project.getProjectId()).contains(networkId);","path":"Quadriga/src/main/java/edu/asu/spring/quadriga/web/settings/WebsiteAboutEditController.java","position":null,"original_position":46,"commit_id":"73c778992391fba68643db62e191df6612e8112a","original_commit_id":"73c778992391fba68643db62e191df6612e8112a","user":{"login":"jdamerow","id":8881141,"avatar_url":"https://avatars.githubusercontent.com/u/8881141?v=3","gravatar_id":"","url":"https://api.github.com/users/jdamerow","html_url":"https://github.com/jdamerow","followers_url":"https://api.github.com/users/jdamerow/followers","following_url":"https://api.github.com/users/jdamerow/following{/other_user}","gists_url":"https://api.github.com/users/jdamerow/gists{/gist_id}","starred_url":"https://api.github.com/users/jdamerow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdamerow/subscriptions","organizations_url":"https://api.github.com/users/jdamerow/orgs","repos_url":"https://api.github.com/users/jdamerow/repos","events_url":"https://api.github.com/users/jdamerow/events{/privacy}","received_events_url":"https://api.github.com/users/jdamerow/received_events","type":"User","site_admin":false},"body":"instead of having to get all network ids in a project (which involves at least 2 iterations), you could just ask the network for its project (you just have to call a few ```get...``` methods).","created_at":"2016-11-30T20:16:23Z","updated_at":"2016-11-30T20:17:30Z","html_url":"https://github.com/diging/quadriga/pull/352#discussion_r90318271","pull_request_url":"https://api.github.com/repos/diging/quadriga/pulls/352","_links":{"self":{"href":"https://api.github.com/repos/diging/quadriga/pulls/comments/90318271"},"html":{"href":"https://github.com/diging/quadriga/pull/352#discussion_r90318271"},"pull_request":{"href":"https://api.github.com/repos/diging/quadriga/pulls/352"}}},"pull_request":{"url":"https://api.github.com/repos/diging/quadriga/pulls/352","id":95770826,"html_url":"https://github.com/diging/quadriga/pull/352","diff_url":"https://github.com/diging/quadriga/pull/352.diff","patch_url":"https://github.com/diging/quadriga/pull/352.patch","issue_url":"https://api.github.com/repos/diging/quadriga/issues/352","number":352,"state":"open","locked":false,"title":"[QUAD-144] Add network to Public About Page","user":{"login":"nischalsamji","id":887091,"avatar_url":"https://avatars.githubusercontent.com/u/887091?v=3","gravatar_id":"","url":"https://api.github.com/users/nischalsamji","html_url":"https://github.com/nischalsamji","followers_url":"https://api.github.com/users/nischalsamji/followers","following_url":"https://api.github.com/users/nischalsamji/following{/other_user}","gists_url":"https://api.github.com/users/nischalsamji/gists{/gist_id}","starred_url":"https://api.github.com/users/nischalsamji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nischalsamji/subscriptions","organizations_url":"https://api.github.com/users/nischalsamji/orgs","repos_url":"https://api.github.com/users/nischalsamji/repos","events_url":"https://api.github.com/users/nischalsamji/events{/privacy}","received_events_url":"https://api.github.com/users/nischalsamji/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-29T20:39:13Z","updated_at":"2016-11-30T20:17:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"434e3c82b978b02d9cf380bd2c4087ce65f2fd47","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/diging/quadriga/pulls/352/commits","review_comments_url":"https://api.github.com/repos/diging/quadriga/pulls/352/comments","review_comment_url":"https://api.github.com/repos/diging/quadriga/pulls/comments{/number}","comments_url":"https://api.github.com/repos/diging/quadriga/issues/352/comments","statuses_url":"https://api.github.com/repos/diging/quadriga/statuses/73c778992391fba68643db62e191df6612e8112a","head":{"label":"diging:story/QUAD-144","ref":"story/QUAD-144","sha":"73c778992391fba68643db62e191df6612e8112a","user":{"login":"diging","id":5402168,"avatar_url":"https://avatars.githubusercontent.com/u/5402168?v=3","gravatar_id":"","url":"https://api.github.com/users/diging","html_url":"https://github.com/diging","followers_url":"https://api.github.com/users/diging/followers","following_url":"https://api.github.com/users/diging/following{/other_user}","gists_url":"https://api.github.com/users/diging/gists{/gist_id}","starred_url":"https://api.github.com/users/diging/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diging/subscriptions","organizations_url":"https://api.github.com/users/diging/orgs","repos_url":"https://api.github.com/users/diging/repos","events_url":"https://api.github.com/users/diging/events{/privacy}","received_events_url":"https://api.github.com/users/diging/received_events","type":"Organization","site_admin":false},"repo":{"id":32819066,"name":"quadriga","full_name":"diging/quadriga","owner":{"login":"diging","id":5402168,"avatar_url":"https://avatars.githubusercontent.com/u/5402168?v=3","gravatar_id":"","url":"https://api.github.com/users/diging","html_url":"https://github.com/diging","followers_url":"https://api.github.com/users/diging/followers","following_url":"https://api.github.com/users/diging/following{/other_user}","gists_url":"https://api.github.com/users/diging/gists{/gist_id}","starred_url":"https://api.github.com/users/diging/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diging/subscriptions","organizations_url":"https://api.github.com/users/diging/orgs","repos_url":"https://api.github.com/users/diging/repos","events_url":"https://api.github.com/users/diging/events{/privacy}","received_events_url":"https://api.github.com/users/diging/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/diging/quadriga","description":null,"fork":false,"url":"https://api.github.com/repos/diging/quadriga","forks_url":"https://api.github.com/repos/diging/quadriga/forks","keys_url":"https://api.github.com/repos/diging/quadriga/keys{/key_id}","collaborators_url":"https://api.github.com/repos/diging/quadriga/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/diging/quadriga/teams","hooks_url":"https://api.github.com/repos/diging/quadriga/hooks","issue_events_url":"https://api.github.com/repos/diging/quadriga/issues/events{/number}","events_url":"https://api.github.com/repos/diging/quadriga/events","assignees_url":"https://api.github.com/repos/diging/quadriga/assignees{/user}","branches_url":"https://api.github.com/repos/diging/quadriga/branches{/branch}","tags_url":"https://api.github.com/repos/diging/quadriga/tags","blobs_url":"https://api.github.com/repos/diging/quadriga/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/diging/quadriga/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/diging/quadriga/git/refs{/sha}","trees_url":"https://api.github.com/repos/diging/quadriga/git/trees{/sha}","statuses_url":"https://api.github.com/repos/diging/quadriga/statuses/{sha}","languages_url":"https://api.github.com/repos/diging/quadriga/languages","stargazers_url":"https://api.github.com/repos/diging/quadriga/stargazers","contributors_url":"https://api.github.com/repos/diging/quadriga/contributors","subscribers_url":"https://api.github.com/repos/diging/quadriga/subscribers","subscription_url":"https://api.github.com/repos/diging/quadriga/subscription","commits_url":"https://api.github.com/repos/diging/quadriga/commits{/sha}","git_commits_url":"https://api.github.com/repos/diging/quadriga/git/commits{/sha}","comments_url":"https://api.github.com/repos/diging/quadriga/comments{/number}","issue_comment_url":"https://api.github.com/repos/diging/quadriga/issues/comments{/number}","contents_url":"https://api.github.com/repos/diging/quadriga/contents/{+path}","compare_url":"https://api.github.com/repos/diging/quadriga/compare/{base}...{head}","merges_url":"https://api.github.com/repos/diging/quadriga/merges","archive_url":"https://api.github.com/repos/diging/quadriga/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/diging/quadriga/downloads","issues_url":"https://api.github.com/repos/diging/quadriga/issues{/number}","pulls_url":"https://api.github.com/repos/diging/quadriga/pulls{/number}","milestones_url":"https://api.github.com/repos/diging/quadriga/milestones{/number}","notifications_url":"https://api.github.com/repos/diging/quadriga/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/diging/quadriga/labels{/name}","releases_url":"https://api.github.com/repos/diging/quadriga/releases{/id}","deployments_url":"https://api.github.com/repos/diging/quadriga/deployments","created_at":"2015-03-24T19:05:57Z","updated_at":"2016-10-22T17:34:53Z","pushed_at":"2016-11-30T16:54:47Z","git_url":"git://github.com/diging/quadriga.git","ssh_url":"git@github.com:diging/quadriga.git","clone_url":"https://github.com/diging/quadriga.git","svn_url":"https://github.com/diging/quadriga","homepage":"http://diging.github.io/quadriga/","size":20206,"stargazers_count":6,"watchers_count":6,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":6,"default_branch":"develop"}},"base":{"label":"diging:develop","ref":"develop","sha":"68829f8de912f7e6368269c676a997d64a9a98fe","user":{"login":"diging","id":5402168,"avatar_url":"https://avatars.githubusercontent.com/u/5402168?v=3","gravatar_id":"","url":"https://api.github.com/users/diging","html_url":"https://github.com/diging","followers_url":"https://api.github.com/users/diging/followers","following_url":"https://api.github.com/users/diging/following{/other_user}","gists_url":"https://api.github.com/users/diging/gists{/gist_id}","starred_url":"https://api.github.com/users/diging/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diging/subscriptions","organizations_url":"https://api.github.com/users/diging/orgs","repos_url":"https://api.github.com/users/diging/repos","events_url":"https://api.github.com/users/diging/events{/privacy}","received_events_url":"https://api.github.com/users/diging/received_events","type":"Organization","site_admin":false},"repo":{"id":32819066,"name":"quadriga","full_name":"diging/quadriga","owner":{"login":"diging","id":5402168,"avatar_url":"https://avatars.githubusercontent.com/u/5402168?v=3","gravatar_id":"","url":"https://api.github.com/users/diging","html_url":"https://github.com/diging","followers_url":"https://api.github.com/users/diging/followers","following_url":"https://api.github.com/users/diging/following{/other_user}","gists_url":"https://api.github.com/users/diging/gists{/gist_id}","starred_url":"https://api.github.com/users/diging/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diging/subscriptions","organizations_url":"https://api.github.com/users/diging/orgs","repos_url":"https://api.github.com/users/diging/repos","events_url":"https://api.github.com/users/diging/events{/privacy}","received_events_url":"https://api.github.com/users/diging/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/diging/quadriga","description":null,"fork":false,"url":"https://api.github.com/repos/diging/quadriga","forks_url":"https://api.github.com/repos/diging/quadriga/forks","keys_url":"https://api.github.com/repos/diging/quadriga/keys{/key_id}","collaborators_url":"https://api.github.com/repos/diging/quadriga/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/diging/quadriga/teams","hooks_url":"https://api.github.com/repos/diging/quadriga/hooks","issue_events_url":"https://api.github.com/repos/diging/quadriga/issues/events{/number}","events_url":"https://api.github.com/repos/diging/quadriga/events","assignees_url":"https://api.github.com/repos/diging/quadriga/assignees{/user}","branches_url":"https://api.github.com/repos/diging/quadriga/branches{/branch}","tags_url":"https://api.github.com/repos/diging/quadriga/tags","blobs_url":"https://api.github.com/repos/diging/quadriga/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/diging/quadriga/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/diging/quadriga/git/refs{/sha}","trees_url":"https://api.github.com/repos/diging/quadriga/git/trees{/sha}","statuses_url":"https://api.github.com/repos/diging/quadriga/statuses/{sha}","languages_url":"https://api.github.com/repos/diging/quadriga/languages","stargazers_url":"https://api.github.com/repos/diging/quadriga/stargazers","contributors_url":"https://api.github.com/repos/diging/quadriga/contributors","subscribers_url":"https://api.github.com/repos/diging/quadriga/subscribers","subscription_url":"https://api.github.com/repos/diging/quadriga/subscription","commits_url":"https://api.github.com/repos/diging/quadriga/commits{/sha}","git_commits_url":"https://api.github.com/repos/diging/quadriga/git/commits{/sha}","comments_url":"https://api.github.com/repos/diging/quadriga/comments{/number}","issue_comment_url":"https://api.github.com/repos/diging/quadriga/issues/comments{/number}","contents_url":"https://api.github.com/repos/diging/quadriga/contents/{+path}","compare_url":"https://api.github.com/repos/diging/quadriga/compare/{base}...{head}","merges_url":"https://api.github.com/repos/diging/quadriga/merges","archive_url":"https://api.github.com/repos/diging/quadriga/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/diging/quadriga/downloads","issues_url":"https://api.github.com/repos/diging/quadriga/issues{/number}","pulls_url":"https://api.github.com/repos/diging/quadriga/pulls{/number}","milestones_url":"https://api.github.com/repos/diging/quadriga/milestones{/number}","notifications_url":"https://api.github.com/repos/diging/quadriga/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/diging/quadriga/labels{/name}","releases_url":"https://api.github.com/repos/diging/quadriga/releases{/id}","deployments_url":"https://api.github.com/repos/diging/quadriga/deployments","created_at":"2015-03-24T19:05:57Z","updated_at":"2016-10-22T17:34:53Z","pushed_at":"2016-11-30T16:54:47Z","git_url":"git://github.com/diging/quadriga.git","ssh_url":"git@github.com:diging/quadriga.git","clone_url":"https://github.com/diging/quadriga.git","svn_url":"https://github.com/diging/quadriga","homepage":"http://diging.github.io/quadriga/","size":20206,"stargazers_count":6,"watchers_count":6,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":6,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/diging/quadriga/pulls/352"},"html":{"href":"https://github.com/diging/quadriga/pull/352"},"issue":{"href":"https://api.github.com/repos/diging/quadriga/issues/352"},"comments":{"href":"https://api.github.com/repos/diging/quadriga/issues/352/comments"},"review_comments":{"href":"https://api.github.com/repos/diging/quadriga/pulls/352/comments"},"review_comment":{"href":"https://api.github.com/repos/diging/quadriga/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/diging/quadriga/pulls/352/commits"},"statuses":{"href":"https://api.github.com/repos/diging/quadriga/statuses/73c778992391fba68643db62e191df6612e8112a"}}}}
{"actor":{"display_login":"jdamerow"}}