{"action":"closed","issue":{"url":"https://api.github.com/repos/dreamcommerce/shop-appstore-lib/issues/5","labels_url":"https://api.github.com/repos/dreamcommerce/shop-appstore-lib/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/dreamcommerce/shop-appstore-lib/issues/5/comments","events_url":"https://api.github.com/repos/dreamcommerce/shop-appstore-lib/issues/5/events","html_url":"https://github.com/dreamcommerce/shop-appstore-lib/issues/5","id":121239577,"number":5,"title":"Metafields can't be loaded in snippet","user":{"login":"Kyniu","id":5645564,"avatar_url":"https://avatars.githubusercontent.com/u/5645564?v=3","gravatar_id":"","url":"https://api.github.com/users/Kyniu","html_url":"https://github.com/Kyniu","followers_url":"https://api.github.com/users/Kyniu/followers","following_url":"https://api.github.com/users/Kyniu/following{/other_user}","gists_url":"https://api.github.com/users/Kyniu/gists{/gist_id}","starred_url":"https://api.github.com/users/Kyniu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kyniu/subscriptions","organizations_url":"https://api.github.com/users/Kyniu/orgs","repos_url":"https://api.github.com/users/Kyniu/repos","events_url":"https://api.github.com/users/Kyniu/events{/privacy}","received_events_url":"https://api.github.com/users/Kyniu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-12-09T13:33:52Z","updated_at":"2016-01-11T11:48:09Z","closed_at":"2016-01-11T11:48:09Z","body":"I'm trying to load metafields in snippets, but it has stopped work (earlier wokred fine).\r\nMy metafields are in database and I can get them like this:\r\n\r\n```php\r\n$resultMetafields = $rMetafield->filters(array(\r\n                'namespace' => 'STARBONUS'\r\n            ))->get('SYSTEM');\r\n\r\n            var_dump($resultMetafields);\r\n```\r\n\r\nGives me:\r\n\r\n```php\r\narray (size=16)\r\n.\r\n.\r\n.\r\n          3 => \r\n            object(ArrayObject)[414]\r\n              private 'storage' => \r\n                array (size=6)\r\n                  'metafield_id' => string '1175' (length=4)\r\n                  'object' => string 'SYSTEM' (length=6)\r\n                  'key' => string 'integration_version' (length=19)\r\n                  'namespace' => string 'STARBONUS' (length=9)\r\n                  'description' => string 'asdfvgbfffffn' (length=13)\r\n                  'type' => string '3' (length=1)\r\n\r\n\r\n.\r\n.\r\n.\r\n```\r\n\r\nBut in snipped:\r\n\r\n```smarty\r\n{metafield.system.STARBONUS.integration_version}\r\n```\r\n\r\ngives me empty result.\r\n\r\nAccording to the documentation it is correct. Something changed?"}}