{"action":"created","issue":{"url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/issues/1150","labels_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/issues/1150/labels{/name}","comments_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/issues/1150/comments","events_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/issues/1150/events","html_url":"https://github.com/ezsystems/ezpublish-legacy/pull/1150","id":62731010,"number":1150,"title":"Fix EZP-24135: Output buffer gets cleared after legacy call","user":{"login":"glye","id":289744,"avatar_url":"https://avatars.githubusercontent.com/u/289744?v=3","gravatar_id":"","url":"https://api.github.com/users/glye","html_url":"https://github.com/glye","followers_url":"https://api.github.com/users/glye/followers","following_url":"https://api.github.com/users/glye/following{/other_user}","gists_url":"https://api.github.com/users/glye/gists{/gist_id}","starred_url":"https://api.github.com/users/glye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glye/subscriptions","organizations_url":"https://api.github.com/users/glye/orgs","repos_url":"https://api.github.com/users/glye/repos","events_url":"https://api.github.com/users/glye/events{/privacy}","received_events_url":"https://api.github.com/users/glye/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-18T16:10:27Z","updated_at":"2015-03-18T16:29:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/pulls/1150","html_url":"https://github.com/ezsystems/ezpublish-legacy/pull/1150","diff_url":"https://github.com/ezsystems/ezpublish-legacy/pull/1150.diff","patch_url":"https://github.com/ezsystems/ezpublish-legacy/pull/1150.patch"},"body":"Dirty trick to see if we are in legacy context, do ob_end_clean only when we are. Seems to work.\r\n\r\nhttps://jira.ez.no/browse/EZP-24135"},"comment":{"url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/issues/comments/83046978","html_url":"https://github.com/ezsystems/ezpublish-legacy/pull/1150#issuecomment-83046978","issue_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/issues/1150","id":83046978,"user":{"login":"andrerom","id":289757,"avatar_url":"https://avatars.githubusercontent.com/u/289757?v=3","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":"2015-03-18T16:29:51Z","updated_at":"2015-03-18T16:29:51Z","body":"Hmm.. ( hackish.. ;) )\r\n\r\nDid an attempt to see why it is there to begin with, some clues but no clear answer:\r\nhttps://github.com/ezsystems/ezpublish-legacy/commit/17103efe90be66cab408f87c506cd6ca8609fd61\r\nhttps://github.com/ezsystems/ezpublish-legacy/commit/16e1f5f89e34fa1eb91bef0190d4473c896ba8f3#diff-17591b11c0bdab82578dc1ec724410d5\r\n\r\nping @lolautruche "}}