{"action":"closed","issue":{"url":"https://api.github.com/repos/netgen/NetgenOpenGraphBundle/issues/1","labels_url":"https://api.github.com/repos/netgen/NetgenOpenGraphBundle/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/netgen/NetgenOpenGraphBundle/issues/1/comments","events_url":"https://api.github.com/repos/netgen/NetgenOpenGraphBundle/issues/1/events","html_url":"https://github.com/netgen/NetgenOpenGraphBundle/issues/1","id":70111861,"number":1,"title":"Field type handler fallbacks","user":{"login":"iherak","id":5854428,"avatar_url":"https://avatars.githubusercontent.com/u/5854428?v=3","gravatar_id":"","url":"https://api.github.com/users/iherak","html_url":"https://github.com/iherak","followers_url":"https://api.github.com/users/iherak/followers","following_url":"https://api.github.com/users/iherak/following{/other_user}","gists_url":"https://api.github.com/users/iherak/gists{/gist_id}","starred_url":"https://api.github.com/users/iherak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iherak/subscriptions","organizations_url":"https://api.github.com/users/iherak/orgs","repos_url":"https://api.github.com/users/iherak/repos","events_url":"https://api.github.com/users/iherak/events{/privacy}","received_events_url":"https://api.github.com/users/iherak/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/netgen/NetgenOpenGraphBundle/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-22T12:25:28Z","updated_at":"2015-04-23T12:01:47Z","closed_at":"2015-04-23T12:01:47Z","body":"When defining field type handlers for a tag, it should be possible to define falback field identifier through parameters.\r\n\r\nSomething along the lines of:\r\n- { handler: field_type/ezstring, tag: 'og:desription', params: [['line_intro', 'full_intro'], 'My fallback description'] }\r\n\r\nDesired behaviour:\r\n- handler checks whether line_intro is empty, if not, use it. If empty, check full_intro. If full_intro is empty, use fallback value defined as second parameter."}}