{"action":"created","issue":{"url":"https://api.github.com/repos/ckan/ckan/issues/2668","labels_url":"https://api.github.com/repos/ckan/ckan/issues/2668/labels{/name}","comments_url":"https://api.github.com/repos/ckan/ckan/issues/2668/comments","events_url":"https://api.github.com/repos/ckan/ckan/issues/2668/events","html_url":"https://github.com/ckan/ckan/pull/2668","id":109300064,"number":2668,"title":"Add a before_edit method to the IPackageController","user":{"login":"LaurentGoderre","id":1090826,"avatar_url":"https://avatars.githubusercontent.com/u/1090826?v=3","gravatar_id":"","url":"https://api.github.com/users/LaurentGoderre","html_url":"https://github.com/LaurentGoderre","followers_url":"https://api.github.com/users/LaurentGoderre/followers","following_url":"https://api.github.com/users/LaurentGoderre/following{/other_user}","gists_url":"https://api.github.com/users/LaurentGoderre/gists{/gist_id}","starred_url":"https://api.github.com/users/LaurentGoderre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaurentGoderre/subscriptions","organizations_url":"https://api.github.com/users/LaurentGoderre/orgs","repos_url":"https://api.github.com/users/LaurentGoderre/repos","events_url":"https://api.github.com/users/LaurentGoderre/events{/privacy}","received_events_url":"https://api.github.com/users/LaurentGoderre/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"wardi","id":153258,"avatar_url":"https://avatars.githubusercontent.com/u/153258?v=3","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":"2015-10-01T13:34:51Z","updated_at":"2015-10-13T13:20:38Z","closed_at":"2015-10-13T13:20:38Z","pull_request":{"url":"https://api.github.com/repos/ckan/ckan/pulls/2668","html_url":"https://github.com/ckan/ckan/pull/2668","diff_url":"https://github.com/ckan/ckan/pull/2668.diff","patch_url":"https://github.com/ckan/ckan/pull/2668.patch"},"body":"The reason why we need this is that we use Fluent on datasets titles. For the view pages, we use the `before_view` method to resolve the fluent fields to the current UI language but we can't on the edit page which cause fluent field to be rendered as dictionaries."},"comment":{"url":"https://api.github.com/repos/ckan/ckan/issues/comments/147711806","html_url":"https://github.com/ckan/ckan/pull/2668#issuecomment-147711806","issue_url":"https://api.github.com/repos/ckan/ckan/issues/2668","id":147711806,"user":{"login":"wardi","id":153258,"avatar_url":"https://avatars.githubusercontent.com/u/153258?v=3","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},"created_at":"2015-10-13T13:20:38Z","updated_at":"2015-10-13T13:20:38Z","body":"My preference is to fix the display of multilingual titles the way we're discussing in #2678 For now multilingual titles can already be handled by overriding templates in a number of places.\r\n\r\nThere are also unresolved issues with how this approach could affect data edited in the form in potentially surprising ways."}}