{"action":"created","issue":{"url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/1198","labels_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/1198/labels{/name}","comments_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/1198/comments","events_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/1198/events","html_url":"https://github.com/ezsystems/ezpublish-kernel/pull/1198","id":58271556,"number":1198,"title":"EZP-23941: Move field map to storage 1/2","user":{"login":"pspanja","id":1135425,"avatar_url":"https://avatars.githubusercontent.com/u/1135425?v=3","gravatar_id":"","url":"https://api.github.com/users/pspanja","html_url":"https://github.com/pspanja","followers_url":"https://api.github.com/users/pspanja/followers","following_url":"https://api.github.com/users/pspanja/following{/other_user}","gists_url":"https://api.github.com/users/pspanja/gists{/gist_id}","starred_url":"https://api.github.com/users/pspanja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pspanja/subscriptions","organizations_url":"https://api.github.com/users/pspanja/orgs","repos_url":"https://api.github.com/users/pspanja/repos","events_url":"https://api.github.com/users/pspanja/events{/privacy}","received_events_url":"https://api.github.com/users/pspanja/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/labels/Ready%20for%20review","name":"Ready for review","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-19T21:20:42Z","updated_at":"2015-02-23T08:42:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/pulls/1198","html_url":"https://github.com/ezsystems/ezpublish-kernel/pull/1198","diff_url":"https://github.com/ezsystems/ezpublish-kernel/pull/1198.diff","patch_url":"https://github.com/ezsystems/ezpublish-kernel/pull/1198.patch"},"body":"This PR resolves https://jira.ez.no/browse/EZP-23941\r\n\r\nFirst part of the issue, required to implement the field map on the ContentType handler.\r\n\r\n`ContentUpdater` service, used by ContentType handler to update Content instances when FieldDefinition is added or removed was using search handler to find Content instances of a specific ContentType.\r\nThis would create a circular dependency and therefore needed to be removed. Search handler is here replaced by new method in Content gateway `getContentIdsByType()`.\r\n\r\nAdditionally a bug in `ContentUpdater` is fixed, where added Field ids were not retained across versions and external storages were not notified for store/delete for all necessary versions."},"comment":{"url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/comments/75506181","html_url":"https://github.com/ezsystems/ezpublish-kernel/pull/1198#issuecomment-75506181","issue_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/1198","id":75506181,"user":{"login":"pspanja","id":1135425,"avatar_url":"https://avatars.githubusercontent.com/u/1135425?v=3","gravatar_id":"","url":"https://api.github.com/users/pspanja","html_url":"https://github.com/pspanja","followers_url":"https://api.github.com/users/pspanja/followers","following_url":"https://api.github.com/users/pspanja/following{/other_user}","gists_url":"https://api.github.com/users/pspanja/gists{/gist_id}","starred_url":"https://api.github.com/users/pspanja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pspanja/subscriptions","organizations_url":"https://api.github.com/users/pspanja/orgs","repos_url":"https://api.github.com/users/pspanja/repos","events_url":"https://api.github.com/users/pspanja/events{/privacy}","received_events_url":"https://api.github.com/users/pspanja/received_events","type":"User","site_admin":false},"created_at":"2015-02-23T08:42:02Z","updated_at":"2015-02-23T08:42:02Z","body":"Review ping @andrerom, @bdunogier, @lolautruche, @yannickroger, @glye."}}