{"action":"created","issue":{"url":"https://api.github.com/repos/dmishh/SettingsBundle/issues/97","repository_url":"https://api.github.com/repos/dmishh/SettingsBundle","labels_url":"https://api.github.com/repos/dmishh/SettingsBundle/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/dmishh/SettingsBundle/issues/97/comments","events_url":"https://api.github.com/repos/dmishh/SettingsBundle/issues/97/events","html_url":"https://github.com/dmishh/SettingsBundle/issues/97","id":247290097,"number":97,"title":"Entity","user":{"login":"Paktusin","id":19189553,"avatar_url":"https://avatars3.githubusercontent.com/u/19189553?v=4","gravatar_id":"","url":"https://api.github.com/users/Paktusin","html_url":"https://github.com/Paktusin","followers_url":"https://api.github.com/users/Paktusin/followers","following_url":"https://api.github.com/users/Paktusin/following{/other_user}","gists_url":"https://api.github.com/users/Paktusin/gists{/gist_id}","starred_url":"https://api.github.com/users/Paktusin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Paktusin/subscriptions","organizations_url":"https://api.github.com/users/Paktusin/orgs","repos_url":"https://api.github.com/users/Paktusin/repos","events_url":"https://api.github.com/users/Paktusin/events{/privacy}","received_events_url":"https://api.github.com/users/Paktusin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-02T06:52:43Z","updated_at":"2017-08-02T07:32:44Z","closed_at":null,"body":"Hi. Its possible to save Entities in setting field ?\r\n```\r\ndmishh_settings:\r\n    settings:\r\n        project_filter:\r\n            type: entity\r\n            options: {class: AppBundle:Project, multiple: true, choice_label: name}\r\n```\r\n\r\nIn this config it save, but then on form load (/settings/global) symfony throw error\r\n> Entities passed to the choice field must be managed. Maybe persist them in the entity manager?\r\n"},"comment":{"url":"https://api.github.com/repos/dmishh/SettingsBundle/issues/comments/319592396","html_url":"https://github.com/dmishh/SettingsBundle/issues/97#issuecomment-319592396","issue_url":"https://api.github.com/repos/dmishh/SettingsBundle/issues/97","id":319592396,"user":{"login":"Paktusin","id":19189553,"avatar_url":"https://avatars3.githubusercontent.com/u/19189553?v=4","gravatar_id":"","url":"https://api.github.com/users/Paktusin","html_url":"https://github.com/Paktusin","followers_url":"https://api.github.com/users/Paktusin/followers","following_url":"https://api.github.com/users/Paktusin/following{/other_user}","gists_url":"https://api.github.com/users/Paktusin/gists{/gist_id}","starred_url":"https://api.github.com/users/Paktusin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Paktusin/subscriptions","organizations_url":"https://api.github.com/users/Paktusin/orgs","repos_url":"https://api.github.com/users/Paktusin/repos","events_url":"https://api.github.com/users/Paktusin/events{/privacy}","received_events_url":"https://api.github.com/users/Paktusin/received_events","type":"User","site_admin":false},"created_at":"2017-08-02T07:32:44Z","updated_at":"2017-08-02T07:32:44Z","body":"Solved\r\n**choice_value: id**\r\n```\r\ndmishh_settings:\r\n    settings:\r\n        project_filter:\r\n            type: entity\r\n            options: {class: AppBundle:Project, multiple: true, choice_label: name, choice_value: id}\r\n```"}}
{"actor":{"display_login":"Paktusin"}}