{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/15819","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/15819/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/15819/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/15819/events","html_url":"https://github.com/magento/magento2/issues/15819","id":329327991,"node_id":"MDU6SXNzdWUzMjkzMjc5OTE=","number":15819,"title":"Magento 2.2.x - Product save not working correctly after changed attributes by API code","user":{"login":"vutrankien","id":14917460,"node_id":"MDQ6VXNlcjE0OTE3NDYw","avatar_url":"https://avatars3.githubusercontent.com/u/14917460?v=4","gravatar_id":"","url":"https://api.github.com/users/vutrankien","html_url":"https://github.com/vutrankien","followers_url":"https://api.github.com/users/vutrankien/followers","following_url":"https://api.github.com/users/vutrankien/following{/other_user}","gists_url":"https://api.github.com/users/vutrankien/gists{/gist_id}","starred_url":"https://api.github.com/users/vutrankien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vutrankien/subscriptions","organizations_url":"https://api.github.com/users/vutrankien/orgs","repos_url":"https://api.github.com/users/vutrankien/repos","events_url":"https://api.github.com/users/vutrankien/events{/privacy}","received_events_url":"https://api.github.com/users/vutrankien/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":5,"created_at":"2018-06-05T07:11:34Z","updated_at":"2018-06-07T07:29:45Z","closed_at":null,"author_association":"NONE","body":"Hello Magento Team\r\n\r\nI have meeting the problem with magento 2.2.4 when change attribute of product via API, after changed attributes of product via API code, if admin change any attributes of product in backend, frontend will not show data changed\r\n\r\n### Preconditions\r\n<!---\r\n    Please provide as detailed information about your environment as possible.\r\n    For example Magento version, tag, HEAD, PHP & MySQL version, etc..\r\n-->\r\n1. Magento 2.2.4\r\n2. PHP Version 7.1.16 + MySQL 5.6.39\r\n\r\n### Steps to reproduce\r\n<!---\r\n    It is important to provide a set of clear steps to reproduce this bug.\r\n    If relevant please include code samples\r\n-->\r\n1. Update product already in magento store via API :\r\n```\r\n$objectManager = \\Magento\\Framework\\App\\ObjectManager::getInstance();\r\n$product = $objectManager->create('\\Magento\\Catalog\\Api\\ProductRepositoryInterface')->getById(18);\r\n$product->setName('test 44 55 66 77');\r\n$objectManager->create('\\Magento\\Catalog\\Api\\ProductRepositoryInterface')->save($product);\r\n```\r\n2. After ran code change attributes of product by API like above, if admin change name or any attributes of product in backed, product detail will not show data changed at frontend\r\n\r\n### Expected result\r\n<!--- Tell us what should happen -->\r\nAfter changed attributes of product by admin, product detail need show data changed correct on frontend\r\n\r\n### Actual result\r\n<!--- Tell us what happens instead -->\r\nAfter changed attributes of product by admin, product detail will show data changed not correct on frontend\r\n\r\nThank you for your help.\r\n"},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/395321385","html_url":"https://github.com/magento/magento2/issues/15819#issuecomment-395321385","issue_url":"https://api.github.com/repos/magento/magento2/issues/15819","id":395321385,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTMyMTM4NQ==","user":{"login":"vutrankien","id":14917460,"node_id":"MDQ6VXNlcjE0OTE3NDYw","avatar_url":"https://avatars3.githubusercontent.com/u/14917460?v=4","gravatar_id":"","url":"https://api.github.com/users/vutrankien","html_url":"https://github.com/vutrankien","followers_url":"https://api.github.com/users/vutrankien/followers","following_url":"https://api.github.com/users/vutrankien/following{/other_user}","gists_url":"https://api.github.com/users/vutrankien/gists{/gist_id}","starred_url":"https://api.github.com/users/vutrankien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vutrankien/subscriptions","organizations_url":"https://api.github.com/users/vutrankien/orgs","repos_url":"https://api.github.com/users/vutrankien/repos","events_url":"https://api.github.com/users/vutrankien/events{/privacy}","received_events_url":"https://api.github.com/users/vutrankien/received_events","type":"User","site_admin":false},"created_at":"2018-06-07T07:29:45Z","updated_at":"2018-06-07T07:29:45Z","author_association":"NONE","body":"I think you can try install magento 2.2.4 on localhost and check by yourself"}}
{"actor":{"display_login":"vutrankien"}}