{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/16692","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/16692/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/16692/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/16692/events","html_url":"https://github.com/magento/magento2/issues/16692","id":339837880,"node_id":"MDU6SXNzdWUzMzk4Mzc4ODA=","number":16692,"title":"Quote returns incorrect product names in all Items Magento 2.2.3","user":{"login":"kilis","id":1228091,"node_id":"MDQ6VXNlcjEyMjgwOTE=","avatar_url":"https://avatars1.githubusercontent.com/u/1228091?v=4","gravatar_id":"","url":"https://api.github.com/users/kilis","html_url":"https://github.com/kilis","followers_url":"https://api.github.com/users/kilis/followers","following_url":"https://api.github.com/users/kilis/following{/other_user}","gists_url":"https://api.github.com/users/kilis/gists{/gist_id}","starred_url":"https://api.github.com/users/kilis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kilis/subscriptions","organizations_url":"https://api.github.com/users/kilis/orgs","repos_url":"https://api.github.com/users/kilis/repos","events_url":"https://api.github.com/users/kilis/events{/privacy}","received_events_url":"https://api.github.com/users/kilis/received_events","type":"User","site_admin":false},"labels":[{"id":688811200,"node_id":"MDU6TGFiZWw2ODg4MTEyMDA=","url":"https://api.github.com/repos/magento/magento2/labels/G1%20Passed","name":"G1 Passed","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-10T13:16:55Z","updated_at":"2018-07-10T13:16:58Z","closed_at":null,"author_association":"NONE","body":"Magento 2.2.3 In Quote item returns incorrect product name. For example we have a multi store website with a Product A with different product Name in each store.\r\nStore A(base store): Shoe\r\nStore B: Schuh\r\nAdding product to cart from store B and triggering a code to get product name form quote returns base store value for name.  \r\n\r\n### Preconditions\r\n1.  Magento 2.2.3\r\n2. PHP 7\r\n3. Mysql 5.7\r\n\r\n### Steps to reproduce\r\n1. Have Magento 2.2.3 Instance\r\n2. Create multi store site with at least 2 stores \r\n3. Add a product\r\n4. In store A (base) name product Shoe\r\n5. In store B name the same product Schuh\r\n6. In FE add product to cart from store B.\r\n7. Have some kind of collection (code) to collect product quote  (i.e. reminder email functionality)\r\n```\r\n/** @var Quote $quote */\r\n$quote = $this->quoteFactory->create();\r\n        \r\nreturn $quote->getCollection()\r\n            ->addFieldToFilter('customer_id', $customerId)\r\n            ->getLastItem();\r\n```\r\n\r\n7. Get product name from collection\r\n```\r\nforeach ($quote->getAllItems() as $item) {\r\n    $name = $item->getName();\r\n}\r\n```\r\n\r\n### Expected result\r\n1. getName returns Shoe\r\n\r\n### Actual result\r\n1. getName returns Schuh\r\n\r\nWorks correctly only in version below 2.2"},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/403818160","html_url":"https://github.com/magento/magento2/issues/16692#issuecomment-403818160","issue_url":"https://api.github.com/repos/magento/magento2/issues/16692","id":403818160,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzgxODE2MA==","user":{"login":"magento-engcom-team","id":31669971,"node_id":"MDQ6VXNlcjMxNjY5OTcx","avatar_url":"https://avatars1.githubusercontent.com/u/31669971?v=4","gravatar_id":"","url":"https://api.github.com/users/magento-engcom-team","html_url":"https://github.com/magento-engcom-team","followers_url":"https://api.github.com/users/magento-engcom-team/followers","following_url":"https://api.github.com/users/magento-engcom-team/following{/other_user}","gists_url":"https://api.github.com/users/magento-engcom-team/gists{/gist_id}","starred_url":"https://api.github.com/users/magento-engcom-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magento-engcom-team/subscriptions","organizations_url":"https://api.github.com/users/magento-engcom-team/orgs","repos_url":"https://api.github.com/users/magento-engcom-team/repos","events_url":"https://api.github.com/users/magento-engcom-team/events{/privacy}","received_events_url":"https://api.github.com/users/magento-engcom-team/received_events","type":"User","site_admin":false},"created_at":"2018-07-10T13:16:58Z","updated_at":"2018-07-10T13:16:58Z","author_association":"CONTRIBUTOR","body":"Hi @kilis. Thank you for your report. \nTo help us process this issue please make sure that you provided the following information:\n- [ ] Summary of the issue\n- [ ] Information on your environment\n- [ ] Steps to reproduce\n- [ ] Expected and actual results\n\nPlease make sure that the issue is reproducible on the vanilla Magento instance following **Steps to reproduce**. To deploy vanilla Magento instance on our environment, please, add a comment to the issue: \n\n`@magento-engcom-team give me {$VERSION} instance` \n\nwhere `{$VERSION}` is [version tags](https://github.com/magento/magento2/tags) (starting from 2.2.0+) or develop branches (2.2-develop +). \nFor more details, please, review the [Magento Contributor Assistant](https://github.com/magento/magento2/wiki/Magento-Contributor-Assistant) documentation.\n\n@kilis do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?\n- [ ] yes\n- [ ] no"}}
{"actor":{"display_login":"magento-engcom-team"}}