{"action":"created","issue":{"url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/issues/1375","repository_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy","labels_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/issues/1375/labels{/name}","comments_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/issues/1375/comments","events_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/issues/1375/events","html_url":"https://github.com/ezsystems/ezpublish-legacy/pull/1375","id":339265499,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5OTY1Mzcw","number":1375,"title":"Purge preview cache in `attribute_edit.php`","user":{"login":"zerustech","id":417412,"node_id":"MDQ6VXNlcjQxNzQxMg==","avatar_url":"https://avatars1.githubusercontent.com/u/417412?v=4","gravatar_id":"","url":"https://api.github.com/users/zerustech","html_url":"https://github.com/zerustech","followers_url":"https://api.github.com/users/zerustech/followers","following_url":"https://api.github.com/users/zerustech/following{/other_user}","gists_url":"https://api.github.com/users/zerustech/gists{/gist_id}","starred_url":"https://api.github.com/users/zerustech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zerustech/subscriptions","organizations_url":"https://api.github.com/users/zerustech/orgs","repos_url":"https://api.github.com/users/zerustech/repos","events_url":"https://api.github.com/users/zerustech/events{/privacy}","received_events_url":"https://api.github.com/users/zerustech/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-08T22:55:25Z","updated_at":"2018-07-19T09:39:21Z","closed_at":"2018-07-19T09:39:21Z","author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/pulls/1375","html_url":"https://github.com/ezsystems/ezpublish-legacy/pull/1375","diff_url":"https://github.com/ezsystems/ezpublish-legacy/pull/1375.diff","patch_url":"https://github.com/ezsystems/ezpublish-legacy/pull/1375.patch"},"body":"The admin preview function does not work as expected: it always fetches\r\ncontent from the view cache, so the draft content being edited never\r\nshows up.\r\n\r\nTo fix this issue, view cache should be purged by triggering listeners\r\nattached to `content/cache/translations`.\r\n\r\nThis PR is related to ezsystems/LegacyBridge#153\r\n\r\n| Question           | Answer\r\n| ------------------ | ------------------\r\n| **JIRA issue**     | n/a\r\n| **Bug**            | yes\r\n| **New feature**    | no\r\n| **Target version** | `2017.12`\r\n| **BC breaks**      | no\r\n| **Tests pass**     | yes\r\n| **Doc needed**     | no\r\n\r\n**TODO**:\r\n- [ ] Implement feature / fix a bug.\r\n- [ ] Implement tests.\r\n- [ ] Fix new code according to Coding Standards (`$ composer fix-cs`).\r\n- [x] Ask for Code Review."},"comment":{"url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/issues/comments/406217797","html_url":"https://github.com/ezsystems/ezpublish-legacy/pull/1375#issuecomment-406217797","issue_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/issues/1375","id":406217797,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjIxNzc5Nw==","user":{"login":"andrerom","id":289757,"node_id":"MDQ6VXNlcjI4OTc1Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/289757?v=4","gravatar_id":"","url":"https://api.github.com/users/andrerom","html_url":"https://github.com/andrerom","followers_url":"https://api.github.com/users/andrerom/followers","following_url":"https://api.github.com/users/andrerom/following{/other_user}","gists_url":"https://api.github.com/users/andrerom/gists{/gist_id}","starred_url":"https://api.github.com/users/andrerom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrerom/subscriptions","organizations_url":"https://api.github.com/users/andrerom/orgs","repos_url":"https://api.github.com/users/andrerom/repos","events_url":"https://api.github.com/users/andrerom/events{/privacy}","received_events_url":"https://api.github.com/users/andrerom/received_events","type":"User","site_admin":false},"created_at":"2018-07-19T09:39:21Z","updated_at":"2018-07-19T09:39:21Z","author_association":"MEMBER","body":"Closing, alternative solution posted in https://github.com/ezsystems/LegacyBridge/pull/153"}}
{"actor":{"display_login":"andrerom"}}