{"action":"created","issue":{"url":"https://api.github.com/repos/ckan/ckan/issues/3252","repository_url":"https://api.github.com/repos/ckan/ckan","labels_url":"https://api.github.com/repos/ckan/ckan/issues/3252/labels{/name}","comments_url":"https://api.github.com/repos/ckan/ckan/issues/3252/comments","events_url":"https://api.github.com/repos/ckan/ckan/issues/3252/events","html_url":"https://github.com/ckan/ckan/pull/3252","id":178128339,"number":3252,"title":"Removing set pkg_dict in package/edit_base.html","user":{"login":"jrods","id":5874122,"avatar_url":"https://avatars1.githubusercontent.com/u/5874122?v=4","gravatar_id":"","url":"https://api.github.com/users/jrods","html_url":"https://github.com/jrods","followers_url":"https://api.github.com/users/jrods/followers","following_url":"https://api.github.com/users/jrods/following{/other_user}","gists_url":"https://api.github.com/users/jrods/gists{/gist_id}","starred_url":"https://api.github.com/users/jrods/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrods/subscriptions","organizations_url":"https://api.github.com/users/jrods/orgs","repos_url":"https://api.github.com/users/jrods/repos","events_url":"https://api.github.com/users/jrods/events{/privacy}","received_events_url":"https://api.github.com/users/jrods/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"wardi","id":153258,"avatar_url":"https://avatars2.githubusercontent.com/u/153258?v=4","gravatar_id":"","url":"https://api.github.com/users/wardi","html_url":"https://github.com/wardi","followers_url":"https://api.github.com/users/wardi/followers","following_url":"https://api.github.com/users/wardi/following{/other_user}","gists_url":"https://api.github.com/users/wardi/gists{/gist_id}","starred_url":"https://api.github.com/users/wardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wardi/subscriptions","organizations_url":"https://api.github.com/users/wardi/orgs","repos_url":"https://api.github.com/users/wardi/repos","events_url":"https://api.github.com/users/wardi/events{/privacy}","received_events_url":"https://api.github.com/users/wardi/received_events","type":"User","site_admin":false},"assignees":[{"login":"wardi","id":153258,"avatar_url":"https://avatars2.githubusercontent.com/u/153258?v=4","gravatar_id":"","url":"https://api.github.com/users/wardi","html_url":"https://github.com/wardi","followers_url":"https://api.github.com/users/wardi/followers","following_url":"https://api.github.com/users/wardi/following{/other_user}","gists_url":"https://api.github.com/users/wardi/gists{/gist_id}","starred_url":"https://api.github.com/users/wardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wardi/subscriptions","organizations_url":"https://api.github.com/users/wardi/orgs","repos_url":"https://api.github.com/users/wardi/repos","events_url":"https://api.github.com/users/wardi/events{/privacy}","received_events_url":"https://api.github.com/users/wardi/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2016-09-20T17:48:13Z","updated_at":"2017-12-11T19:51:34Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/ckan/ckan/pulls/3252","html_url":"https://github.com/ckan/ckan/pull/3252","diff_url":"https://github.com/ckan/ckan/pull/3252.diff","patch_url":"https://github.com/ckan/ckan/pull/3252.patch"},"body":"### Proposed fixes:\n\nThis was causing `pkg_dict` to be overwritten by `c.pkg_dict`, which isn't a set variable while rendering `package/new_resource.html`.\n\nI did a quick search for any other instances of `package/edit_base.html` being extended; Those templates look like they're not using `pkg_dict`.\n### Features:\n- [ ] includes tests covering changes\n- [ ] includes updated documentation\n- [X] includes user-visible changes\n- [ ] includes API changes\n- [ ] includes bugfix for possible backport\n\nPlease [X] all the boxes above that apply\n"},"comment":{"url":"https://api.github.com/repos/ckan/ckan/issues/comments/350837840","html_url":"https://github.com/ckan/ckan/pull/3252#issuecomment-350837840","issue_url":"https://api.github.com/repos/ckan/ckan/issues/3252","id":350837840,"user":{"login":"jrods","id":5874122,"avatar_url":"https://avatars1.githubusercontent.com/u/5874122?v=4","gravatar_id":"","url":"https://api.github.com/users/jrods","html_url":"https://github.com/jrods","followers_url":"https://api.github.com/users/jrods/followers","following_url":"https://api.github.com/users/jrods/following{/other_user}","gists_url":"https://api.github.com/users/jrods/gists{/gist_id}","starred_url":"https://api.github.com/users/jrods/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrods/subscriptions","organizations_url":"https://api.github.com/users/jrods/orgs","repos_url":"https://api.github.com/users/jrods/repos","events_url":"https://api.github.com/users/jrods/events{/privacy}","received_events_url":"https://api.github.com/users/jrods/received_events","type":"User","site_admin":false},"created_at":"2017-12-11T19:51:34Z","updated_at":"2017-12-11T19:51:34Z","author_association":"CONTRIBUTOR","body":"@wardi I'm running into this issue again with ckan v2.7 , but now `c.pkg_dict` doesn't exist for the `new_resource` view.\r\n\r\nRemoving the `c.pkg_dict` var assignments in `package/edit_base.html` to just `{% set pkg = pkg_dict %}` fixes the issue."}}
{"actor":{"display_login":"jrods"}}