{"action":"created","issue":{"url":"https://api.github.com/repos/open-orchestra/open-orchestra-cms-bundle/issues/1087","labels_url":"https://api.github.com/repos/open-orchestra/open-orchestra-cms-bundle/issues/1087/labels{/name}","comments_url":"https://api.github.com/repos/open-orchestra/open-orchestra-cms-bundle/issues/1087/comments","events_url":"https://api.github.com/repos/open-orchestra/open-orchestra-cms-bundle/issues/1087/events","html_url":"https://github.com/open-orchestra/open-orchestra-cms-bundle/issues/1087","id":109747420,"number":1087,"title":"The ValueTransformerManager does not always return a string","user":{"login":"juchi","id":3333098,"avatar_url":"https://avatars.githubusercontent.com/u/3333098?v=3","gravatar_id":"","url":"https://api.github.com/users/juchi","html_url":"https://github.com/juchi","followers_url":"https://api.github.com/users/juchi/followers","following_url":"https://api.github.com/users/juchi/following{/other_user}","gists_url":"https://api.github.com/users/juchi/gists{/gist_id}","starred_url":"https://api.github.com/users/juchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juchi/subscriptions","organizations_url":"https://api.github.com/users/juchi/orgs","repos_url":"https://api.github.com/users/juchi/repos","events_url":"https://api.github.com/users/juchi/events{/privacy}","received_events_url":"https://api.github.com/users/juchi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-05T07:59:01Z","updated_at":"2015-10-21T14:09:47Z","closed_at":"2015-10-21T14:09:47Z","body":"When creating a custom form type for a field in a content type, if the value cannot be casted to a string (an array in my case), then the transform() method will return this value, which will result in an error when saving the stringValue attribute in the DB. (Unless of course a strategy has been added for this custom field).\r\nThe ValueTransformerManager should always return a string, even empty, according to its api."},"comment":{"url":"https://api.github.com/repos/open-orchestra/open-orchestra-cms-bundle/issues/comments/149907728","html_url":"https://github.com/open-orchestra/open-orchestra-cms-bundle/issues/1087#issuecomment-149907728","issue_url":"https://api.github.com/repos/open-orchestra/open-orchestra-cms-bundle/issues/1087","id":149907728,"user":{"login":"nicolasThal","id":2675545,"avatar_url":"https://avatars.githubusercontent.com/u/2675545?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolasThal","html_url":"https://github.com/nicolasThal","followers_url":"https://api.github.com/users/nicolasThal/followers","following_url":"https://api.github.com/users/nicolasThal/following{/other_user}","gists_url":"https://api.github.com/users/nicolasThal/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolasThal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolasThal/subscriptions","organizations_url":"https://api.github.com/users/nicolasThal/orgs","repos_url":"https://api.github.com/users/nicolasThal/repos","events_url":"https://api.github.com/users/nicolasThal/events{/privacy}","received_events_url":"https://api.github.com/users/nicolasThal/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T14:09:47Z","updated_at":"2015-10-21T14:09:47Z","body":"https://github.com/open-orchestra/open-orchestra-cms-bundle/pull/1119"}}