{"action":"opened","issue":{"url":"https://api.github.com/repos/FluidTYPO3/vhs/issues/1454","repository_url":"https://api.github.com/repos/FluidTYPO3/vhs","labels_url":"https://api.github.com/repos/FluidTYPO3/vhs/issues/1454/labels{/name}","comments_url":"https://api.github.com/repos/FluidTYPO3/vhs/issues/1454/comments","events_url":"https://api.github.com/repos/FluidTYPO3/vhs/issues/1454/events","html_url":"https://github.com/FluidTYPO3/vhs/issues/1454","id":302352839,"number":1454,"title":"Empty Array v:resource.file when identifier = SVG","user":{"login":"beam2web","id":8706639,"avatar_url":"https://avatars1.githubusercontent.com/u/8706639?v=4","gravatar_id":"","url":"https://api.github.com/users/beam2web","html_url":"https://github.com/beam2web","followers_url":"https://api.github.com/users/beam2web/followers","following_url":"https://api.github.com/users/beam2web/following{/other_user}","gists_url":"https://api.github.com/users/beam2web/gists{/gist_id}","starred_url":"https://api.github.com/users/beam2web/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beam2web/subscriptions","organizations_url":"https://api.github.com/users/beam2web/orgs","repos_url":"https://api.github.com/users/beam2web/repos","events_url":"https://api.github.com/users/beam2web/events{/privacy}","received_events_url":"https://api.github.com/users/beam2web/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-05T15:51:47Z","updated_at":"2018-03-05T15:51:47Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"https://github.com/FluidTYPO3/vhs/blob/master/Classes/ViewHelpers/Resource/FileViewHelper.php\r\n\r\nWhen the identifier is path to png/jpeg all works correct, but not with path to an svg File\r\n\r\n**Path to PNG/JPEG**\r\n```\r\n    <v:variable.set\r\n            name=\"myImage\"\r\n            value=\"{v:resource.file(identifier: pathToPng)}\" />\r\n\r\n    <f:debug>{myImage}</f:debug>\r\n```\r\n=> Filled array (correct)\r\n\r\n**Path to SVG**\r\n```\r\n    <v:variable.set\r\n            name=\"myImage\"\r\n            value=\"{v:resource.file(identifier: pathToSVG)}\" />\r\n\r\n    <f:debug>{myImage}</f:debug>\r\n```\r\n=> Empty Array (wrong)"}}
{"actor":{"display_login":"beam2web"}}