{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/6634","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/6634/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/6634/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/6634/events","html_url":"https://github.com/magento/magento2/issues/6634","id":177361069,"number":6634,"title":"Yes/No attribute value is not shown on a product details page","user":{"login":"alexkuk","id":2719860,"avatar_url":"https://avatars.githubusercontent.com/u/2719860?v=3","gravatar_id":"","url":"https://api.github.com/users/alexkuk","html_url":"https://github.com/alexkuk","followers_url":"https://api.github.com/users/alexkuk/followers","following_url":"https://api.github.com/users/alexkuk/following{/other_user}","gists_url":"https://api.github.com/users/alexkuk/gists{/gist_id}","starred_url":"https://api.github.com/users/alexkuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexkuk/subscriptions","organizations_url":"https://api.github.com/users/alexkuk/orgs","repos_url":"https://api.github.com/users/alexkuk/repos","events_url":"https://api.github.com/users/alexkuk/events{/privacy}","received_events_url":"https://api.github.com/users/alexkuk/received_events","type":"User","site_admin":false},"labels":[{"id":429635502,"url":"https://api.github.com/repos/magento/magento2/labels/2.1.x","name":"2.1.x","color":"fbca04","default":false},{"id":21716835,"url":"https://api.github.com/repos/magento/magento2/labels/acknowledged","name":"acknowledged","color":"02d7e1","default":false},{"id":147131376,"url":"https://api.github.com/repos/magento/magento2/labels/bug%20report","name":"bug report","color":"d93f0b","default":false},{"id":374038437,"url":"https://api.github.com/repos/magento/magento2/labels/Catalog","name":"Catalog","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-16T07:26:42Z","updated_at":"2016-11-30T12:44:06Z","closed_at":null,"body":"# Preconditions\n- Magento CE 2.1.1 with sample data (Luma theme). \n# Steps to reproduce\n1. Navigate to the backend.\n2. Go to Stores -> Attributes -> Product\n3. Click on the Add New Attribute button\n4. Set \"Catalog Input Type for Store Owner\" = Yes/No, set \"Visible on Catalog Pages on Storefront\" = Yes, and fill other required fields.\n5. Click Save Attribute button\n6. Go to Products -> Catalog. Click on some product that is visible on storefront.\n7. Find the newly created attribute field and fill it with Yes or No value. Save product. \n8. Clean cache and reindex: \n\n```\n$ bin/magento cache:clean\n$ bin/magento indexer:reindex\n```\n1. Open a storefront product page. \n# Actual result\n\nThe More Information tab doesn't contain our newly created attribute.\n# Expected result\n\nThe More Information tab contains our newly created attribute.\n# Additional information\n\nIf I make some yes/no attribute visible on frontend, it doesn't appear in the More Information tab on a product details page. I debugged it and found that this relates to the fact that translated string are wrapped into the Phrase object: https://community.magento.com/t5/Magento-2-Feature-Requests-and/function-returns-Phrase-object-Could-this-return-string/idi-p/45075\n\nParticularly, it's \\Magento\\Catalog\\Block\\Product\\View\\Attributes::getAdditionalData() - it requires  $value to be string to be added to the $data array. In case of Yes/No attributes $value is an object of \\Magento\\Framework\\Phrase.\n"},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/263864627","html_url":"https://github.com/magento/magento2/issues/6634#issuecomment-263864627","issue_url":"https://api.github.com/repos/magento/magento2/issues/6634","id":263864627,"user":{"login":"craigcarnell","id":1188869,"avatar_url":"https://avatars.githubusercontent.com/u/1188869?v=3","gravatar_id":"","url":"https://api.github.com/users/craigcarnell","html_url":"https://github.com/craigcarnell","followers_url":"https://api.github.com/users/craigcarnell/followers","following_url":"https://api.github.com/users/craigcarnell/following{/other_user}","gists_url":"https://api.github.com/users/craigcarnell/gists{/gist_id}","starred_url":"https://api.github.com/users/craigcarnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigcarnell/subscriptions","organizations_url":"https://api.github.com/users/craigcarnell/orgs","repos_url":"https://api.github.com/users/craigcarnell/repos","events_url":"https://api.github.com/users/craigcarnell/events{/privacy}","received_events_url":"https://api.github.com/users/craigcarnell/received_events","type":"User","site_admin":false},"created_at":"2016-11-30T12:44:06Z","updated_at":"2016-11-30T12:44:06Z","body":"When will this be fixed?"}}
{"actor":{"display_login":"craigcarnell"}}