{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/foswiki/DBCachePlugin/pulls/1","id":46392111,"html_url":"https://github.com/foswiki/DBCachePlugin/pull/1","diff_url":"https://github.com/foswiki/DBCachePlugin/pull/1.diff","patch_url":"https://github.com/foswiki/DBCachePlugin/pull/1.patch","issue_url":"https://api.github.com/repos/foswiki/DBCachePlugin/issues/1","number":1,"state":"closed","locked":false,"title":"Item13768: Fix odd behavior in afterSaveHandler with unusual base topic.","user":{"login":"mgla","id":1576103,"avatar_url":"https://avatars.githubusercontent.com/u/1576103?v=3","gravatar_id":"","url":"https://api.github.com/users/mgla","html_url":"https://github.com/mgla","followers_url":"https://api.github.com/users/mgla/followers","following_url":"https://api.github.com/users/mgla/following{/other_user}","gists_url":"https://api.github.com/users/mgla/gists{/gist_id}","starred_url":"https://api.github.com/users/mgla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgla/subscriptions","organizations_url":"https://api.github.com/users/mgla/orgs","repos_url":"https://api.github.com/users/mgla/repos","events_url":"https://api.github.com/users/mgla/events{/privacy}","received_events_url":"https://api.github.com/users/mgla/received_events","type":"User","site_admin":false},"body":"This fixes Item13768, see http://foswiki.org/Tasks/Item13768\r\n\r\nWhen afterSaveHandler is called with unusual \"$baseTopic\" or \"$baseWeb\"\r\n(actually $topic and $web from initPlugin(), e.g. from a REST handler.\r\n\r\nExample: bin/rest/ExamplePlugin/handlername?arg=val might set $web to\r\n\"ExamplePlugin\" in initPlugin().\r\n\r\nAlso, minimize the number of loadTopic() calls.","created_at":"2015-09-30T11:54:15Z","updated_at":"2015-10-01T08:03:35Z","closed_at":"2015-10-01T08:03:35Z","merged_at":null,"merge_commit_sha":"bed483ff79116e979a3cef9fae60c28ed57d6602","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/foswiki/DBCachePlugin/pulls/1/commits","review_comments_url":"https://api.github.com/repos/foswiki/DBCachePlugin/pulls/1/comments","review_comment_url":"https://api.github.com/repos/foswiki/DBCachePlugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/foswiki/DBCachePlugin/issues/1/comments","statuses_url":"https://api.github.com/repos/foswiki/DBCachePlugin/statuses/f2ae196d14829918a1b1e5d8056bea05b6e0eac7","head":{"label":"mgla:master","ref":"master","sha":"f2ae196d14829918a1b1e5d8056bea05b6e0eac7","user":{"login":"mgla","id":1576103,"avatar_url":"https://avatars.githubusercontent.com/u/1576103?v=3","gravatar_id":"","url":"https://api.github.com/users/mgla","html_url":"https://github.com/mgla","followers_url":"https://api.github.com/users/mgla/followers","following_url":"https://api.github.com/users/mgla/following{/other_user}","gists_url":"https://api.github.com/users/mgla/gists{/gist_id}","starred_url":"https://api.github.com/users/mgla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgla/subscriptions","organizations_url":"https://api.github.com/users/mgla/orgs","repos_url":"https://api.github.com/users/mgla/repos","events_url":"https://api.github.com/users/mgla/events{/privacy}","received_events_url":"https://api.github.com/users/mgla/received_events","type":"User","site_admin":false},"repo":{"id":43429759,"name":"DBCachePlugin","full_name":"mgla/DBCachePlugin","owner":{"login":"mgla","id":1576103,"avatar_url":"https://avatars.githubusercontent.com/u/1576103?v=3","gravatar_id":"","url":"https://api.github.com/users/mgla","html_url":"https://github.com/mgla","followers_url":"https://api.github.com/users/mgla/followers","following_url":"https://api.github.com/users/mgla/following{/other_user}","gists_url":"https://api.github.com/users/mgla/gists{/gist_id}","starred_url":"https://api.github.com/users/mgla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgla/subscriptions","organizations_url":"https://api.github.com/users/mgla/orgs","repos_url":"https://api.github.com/users/mgla/repos","events_url":"https://api.github.com/users/mgla/events{/privacy}","received_events_url":"https://api.github.com/users/mgla/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mgla/DBCachePlugin","description":"Foswiki's DBCachePlugin","fork":true,"url":"https://api.github.com/repos/mgla/DBCachePlugin","forks_url":"https://api.github.com/repos/mgla/DBCachePlugin/forks","keys_url":"https://api.github.com/repos/mgla/DBCachePlugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mgla/DBCachePlugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mgla/DBCachePlugin/teams","hooks_url":"https://api.github.com/repos/mgla/DBCachePlugin/hooks","issue_events_url":"https://api.github.com/repos/mgla/DBCachePlugin/issues/events{/number}","events_url":"https://api.github.com/repos/mgla/DBCachePlugin/events","assignees_url":"https://api.github.com/repos/mgla/DBCachePlugin/assignees{/user}","branches_url":"https://api.github.com/repos/mgla/DBCachePlugin/branches{/branch}","tags_url":"https://api.github.com/repos/mgla/DBCachePlugin/tags","blobs_url":"https://api.github.com/repos/mgla/DBCachePlugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mgla/DBCachePlugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mgla/DBCachePlugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/mgla/DBCachePlugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mgla/DBCachePlugin/statuses/{sha}","languages_url":"https://api.github.com/repos/mgla/DBCachePlugin/languages","stargazers_url":"https://api.github.com/repos/mgla/DBCachePlugin/stargazers","contributors_url":"https://api.github.com/repos/mgla/DBCachePlugin/contributors","subscribers_url":"https://api.github.com/repos/mgla/DBCachePlugin/subscribers","subscription_url":"https://api.github.com/repos/mgla/DBCachePlugin/subscription","commits_url":"https://api.github.com/repos/mgla/DBCachePlugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/mgla/DBCachePlugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/mgla/DBCachePlugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/mgla/DBCachePlugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/mgla/DBCachePlugin/contents/{+path}","compare_url":"https://api.github.com/repos/mgla/DBCachePlugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mgla/DBCachePlugin/merges","archive_url":"https://api.github.com/repos/mgla/DBCachePlugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mgla/DBCachePlugin/downloads","issues_url":"https://api.github.com/repos/mgla/DBCachePlugin/issues{/number}","pulls_url":"https://api.github.com/repos/mgla/DBCachePlugin/pulls{/number}","milestones_url":"https://api.github.com/repos/mgla/DBCachePlugin/milestones{/number}","notifications_url":"https://api.github.com/repos/mgla/DBCachePlugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mgla/DBCachePlugin/labels{/name}","releases_url":"https://api.github.com/repos/mgla/DBCachePlugin/releases{/id}","created_at":"2015-09-30T11:43:55Z","updated_at":"2015-09-30T11:43:56Z","pushed_at":"2015-09-30T11:53:21Z","git_url":"git://github.com/mgla/DBCachePlugin.git","ssh_url":"git@github.com:mgla/DBCachePlugin.git","clone_url":"https://github.com/mgla/DBCachePlugin.git","svn_url":"https://github.com/mgla/DBCachePlugin","homepage":"http://foswiki.org/Extensions/DBCachePlugin","size":568,"stargazers_count":0,"watchers_count":0,"language":"Perl","has_issues":false,"has_downloads":false,"has_wiki":false,"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":"foswiki:master","ref":"master","sha":"d466b077f0458189f94eb712ae7052c93f75cd5c","user":{"login":"foswiki","id":38010,"avatar_url":"https://avatars.githubusercontent.com/u/38010?v=3","gravatar_id":"","url":"https://api.github.com/users/foswiki","html_url":"https://github.com/foswiki","followers_url":"https://api.github.com/users/foswiki/followers","following_url":"https://api.github.com/users/foswiki/following{/other_user}","gists_url":"https://api.github.com/users/foswiki/gists{/gist_id}","starred_url":"https://api.github.com/users/foswiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foswiki/subscriptions","organizations_url":"https://api.github.com/users/foswiki/orgs","repos_url":"https://api.github.com/users/foswiki/repos","events_url":"https://api.github.com/users/foswiki/events{/privacy}","received_events_url":"https://api.github.com/users/foswiki/received_events","type":"Organization","site_admin":false},"repo":{"id":1229808,"name":"DBCachePlugin","full_name":"foswiki/DBCachePlugin","owner":{"login":"foswiki","id":38010,"avatar_url":"https://avatars.githubusercontent.com/u/38010?v=3","gravatar_id":"","url":"https://api.github.com/users/foswiki","html_url":"https://github.com/foswiki","followers_url":"https://api.github.com/users/foswiki/followers","following_url":"https://api.github.com/users/foswiki/following{/other_user}","gists_url":"https://api.github.com/users/foswiki/gists{/gist_id}","starred_url":"https://api.github.com/users/foswiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foswiki/subscriptions","organizations_url":"https://api.github.com/users/foswiki/orgs","repos_url":"https://api.github.com/users/foswiki/repos","events_url":"https://api.github.com/users/foswiki/events{/privacy}","received_events_url":"https://api.github.com/users/foswiki/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/foswiki/DBCachePlugin","description":"Foswiki's DBCachePlugin","fork":false,"url":"https://api.github.com/repos/foswiki/DBCachePlugin","forks_url":"https://api.github.com/repos/foswiki/DBCachePlugin/forks","keys_url":"https://api.github.com/repos/foswiki/DBCachePlugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/foswiki/DBCachePlugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/foswiki/DBCachePlugin/teams","hooks_url":"https://api.github.com/repos/foswiki/DBCachePlugin/hooks","issue_events_url":"https://api.github.com/repos/foswiki/DBCachePlugin/issues/events{/number}","events_url":"https://api.github.com/repos/foswiki/DBCachePlugin/events","assignees_url":"https://api.github.com/repos/foswiki/DBCachePlugin/assignees{/user}","branches_url":"https://api.github.com/repos/foswiki/DBCachePlugin/branches{/branch}","tags_url":"https://api.github.com/repos/foswiki/DBCachePlugin/tags","blobs_url":"https://api.github.com/repos/foswiki/DBCachePlugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/foswiki/DBCachePlugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/foswiki/DBCachePlugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/foswiki/DBCachePlugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/foswiki/DBCachePlugin/statuses/{sha}","languages_url":"https://api.github.com/repos/foswiki/DBCachePlugin/languages","stargazers_url":"https://api.github.com/repos/foswiki/DBCachePlugin/stargazers","contributors_url":"https://api.github.com/repos/foswiki/DBCachePlugin/contributors","subscribers_url":"https://api.github.com/repos/foswiki/DBCachePlugin/subscribers","subscription_url":"https://api.github.com/repos/foswiki/DBCachePlugin/subscription","commits_url":"https://api.github.com/repos/foswiki/DBCachePlugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/foswiki/DBCachePlugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/foswiki/DBCachePlugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/foswiki/DBCachePlugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/foswiki/DBCachePlugin/contents/{+path}","compare_url":"https://api.github.com/repos/foswiki/DBCachePlugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/foswiki/DBCachePlugin/merges","archive_url":"https://api.github.com/repos/foswiki/DBCachePlugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/foswiki/DBCachePlugin/downloads","issues_url":"https://api.github.com/repos/foswiki/DBCachePlugin/issues{/number}","pulls_url":"https://api.github.com/repos/foswiki/DBCachePlugin/pulls{/number}","milestones_url":"https://api.github.com/repos/foswiki/DBCachePlugin/milestones{/number}","notifications_url":"https://api.github.com/repos/foswiki/DBCachePlugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/foswiki/DBCachePlugin/labels{/name}","releases_url":"https://api.github.com/repos/foswiki/DBCachePlugin/releases{/id}","created_at":"2011-01-07T14:52:16Z","updated_at":"2015-03-04T08:11:21Z","pushed_at":"2015-09-30T11:54:15Z","git_url":"git://github.com/foswiki/DBCachePlugin.git","ssh_url":"git@github.com:foswiki/DBCachePlugin.git","clone_url":"https://github.com/foswiki/DBCachePlugin.git","svn_url":"https://github.com/foswiki/DBCachePlugin","homepage":"http://foswiki.org/Extensions/DBCachePlugin","size":568,"stargazers_count":1,"watchers_count":1,"language":"Perl","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/foswiki/DBCachePlugin/pulls/1"},"html":{"href":"https://github.com/foswiki/DBCachePlugin/pull/1"},"issue":{"href":"https://api.github.com/repos/foswiki/DBCachePlugin/issues/1"},"comments":{"href":"https://api.github.com/repos/foswiki/DBCachePlugin/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/foswiki/DBCachePlugin/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/foswiki/DBCachePlugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/foswiki/DBCachePlugin/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/foswiki/DBCachePlugin/statuses/f2ae196d14829918a1b1e5d8056bea05b6e0eac7"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":15,"deletions":28,"changed_files":1}}