{"action":"created","issue":{"url":"https://api.github.com/repos/sphereio/sphere-node-product-csv-sync/issues/189","repository_url":"https://api.github.com/repos/sphereio/sphere-node-product-csv-sync","labels_url":"https://api.github.com/repos/sphereio/sphere-node-product-csv-sync/issues/189/labels{/name}","comments_url":"https://api.github.com/repos/sphereio/sphere-node-product-csv-sync/issues/189/comments","events_url":"https://api.github.com/repos/sphereio/sphere-node-product-csv-sync/issues/189/events","html_url":"https://github.com/sphereio/sphere-node-product-csv-sync/issues/189","id":287375398,"number":189,"title":"Cannot update the masterVariant when the variantId is not 1","user":{"login":"VasumathiJayakumar","id":4718808,"avatar_url":"https://avatars0.githubusercontent.com/u/4718808?v=4","gravatar_id":"","url":"https://api.github.com/users/VasumathiJayakumar","html_url":"https://github.com/VasumathiJayakumar","followers_url":"https://api.github.com/users/VasumathiJayakumar/followers","following_url":"https://api.github.com/users/VasumathiJayakumar/following{/other_user}","gists_url":"https://api.github.com/users/VasumathiJayakumar/gists{/gist_id}","starred_url":"https://api.github.com/users/VasumathiJayakumar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VasumathiJayakumar/subscriptions","organizations_url":"https://api.github.com/users/VasumathiJayakumar/orgs","repos_url":"https://api.github.com/users/VasumathiJayakumar/repos","events_url":"https://api.github.com/users/VasumathiJayakumar/events{/privacy}","received_events_url":"https://api.github.com/users/VasumathiJayakumar/received_events","type":"User","site_admin":false},"labels":[{"id":450522865,"url":"https://api.github.com/repos/sphereio/sphere-node-product-csv-sync/labels/Status:%20In%20Progress","name":"Status: In Progress","color":"cccccc","default":false},{"id":450522861,"url":"https://api.github.com/repos/sphereio/sphere-node-product-csv-sync/labels/Type:%20Bug","name":"Type: Bug","color":"e11d21","default":false}],"state":"open","locked":false,"assignee":{"login":"wizzy25","id":20454817,"avatar_url":"https://avatars2.githubusercontent.com/u/20454817?v=4","gravatar_id":"","url":"https://api.github.com/users/wizzy25","html_url":"https://github.com/wizzy25","followers_url":"https://api.github.com/users/wizzy25/followers","following_url":"https://api.github.com/users/wizzy25/following{/other_user}","gists_url":"https://api.github.com/users/wizzy25/gists{/gist_id}","starred_url":"https://api.github.com/users/wizzy25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wizzy25/subscriptions","organizations_url":"https://api.github.com/users/wizzy25/orgs","repos_url":"https://api.github.com/users/wizzy25/repos","events_url":"https://api.github.com/users/wizzy25/events{/privacy}","received_events_url":"https://api.github.com/users/wizzy25/received_events","type":"User","site_admin":false},"assignees":[{"login":"wizzy25","id":20454817,"avatar_url":"https://avatars2.githubusercontent.com/u/20454817?v=4","gravatar_id":"","url":"https://api.github.com/users/wizzy25","html_url":"https://github.com/wizzy25","followers_url":"https://api.github.com/users/wizzy25/followers","following_url":"https://api.github.com/users/wizzy25/following{/other_user}","gists_url":"https://api.github.com/users/wizzy25/gists{/gist_id}","starred_url":"https://api.github.com/users/wizzy25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wizzy25/subscriptions","organizations_url":"https://api.github.com/users/wizzy25/orgs","repos_url":"https://api.github.com/users/wizzy25/repos","events_url":"https://api.github.com/users/wizzy25/events{/privacy}","received_events_url":"https://api.github.com/users/wizzy25/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2018-01-10T09:56:04Z","updated_at":"2018-03-21T13:38:42Z","closed_at":null,"author_association":"NONE","body":"### Description\r\nWhen the masterVariant has a variantId apart from 1, the importer is throwing an error.\r\n\r\n`[ '[row 2] We need a product before starting with a variant!' ]`\r\n\r\n### Expected Behavior\r\nShould update the masterVariant with the appropriate variantId\r\n### Current Behavior\r\n* When the masterVariant has variantId is not 1, the importer is throwing an error.\r\n* When the same masterVariant is updated with variantId 1, the update is succeed. But actually the variantId is not 1. The module seems to assume that the masterVariant will always have an ID of 1, which is not always the case (specifically after running the [`changeMasterVariant`](https://dev.commercetools.com/http-api-projects-products.html#change-master-variant) update action)\r\n### Context\r\n<!-- How has this issue affected you? What are you trying to accomplish? -->\r\nMakes it impossible to update the master variant of some products in a project"},"comment":{"url":"https://api.github.com/repos/sphereio/sphere-node-product-csv-sync/issues/comments/374939184","html_url":"https://github.com/sphereio/sphere-node-product-csv-sync/issues/189#issuecomment-374939184","issue_url":"https://api.github.com/repos/sphereio/sphere-node-product-csv-sync/issues/189","id":374939184,"user":{"login":"Oehmi","id":20242140,"avatar_url":"https://avatars1.githubusercontent.com/u/20242140?v=4","gravatar_id":"","url":"https://api.github.com/users/Oehmi","html_url":"https://github.com/Oehmi","followers_url":"https://api.github.com/users/Oehmi/followers","following_url":"https://api.github.com/users/Oehmi/following{/other_user}","gists_url":"https://api.github.com/users/Oehmi/gists{/gist_id}","starred_url":"https://api.github.com/users/Oehmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Oehmi/subscriptions","organizations_url":"https://api.github.com/users/Oehmi/orgs","repos_url":"https://api.github.com/users/Oehmi/repos","events_url":"https://api.github.com/users/Oehmi/events{/privacy}","received_events_url":"https://api.github.com/users/Oehmi/received_events","type":"User","site_admin":false},"created_at":"2018-03-21T13:38:42Z","updated_at":"2018-03-21T13:38:42Z","author_association":"NONE","body":"FYI @MelNiermann : If you are using CLI, then you won't be affected unless you update to the newest version. \r\nHowever, on Impex the changes will break. Most likely, the next Impex update with these changes will be in approx. 3 weeks. "}}
{"actor":{"display_login":"Oehmi"}}