{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/7667","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/7667/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/7667/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/7667/events","html_url":"https://github.com/magento/magento2/pull/7667","id":193118468,"number":7667,"title":"Fixes wrong url rewrites created on shop with multiple storeviews when executing url rewrites programmatically","user":{"login":"hostep","id":85479,"avatar_url":"https://avatars.githubusercontent.com/u/85479?v=3","gravatar_id":"","url":"https://api.github.com/users/hostep","html_url":"https://github.com/hostep","followers_url":"https://api.github.com/users/hostep/followers","following_url":"https://api.github.com/users/hostep/following{/other_user}","gists_url":"https://api.github.com/users/hostep/gists{/gist_id}","starred_url":"https://api.github.com/users/hostep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hostep/subscriptions","organizations_url":"https://api.github.com/users/hostep/orgs","repos_url":"https://api.github.com/users/hostep/repos","events_url":"https://api.github.com/users/hostep/events{/privacy}","received_events_url":"https://api.github.com/users/hostep/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-02T13:40:19Z","updated_at":"2016-12-02T13:40:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/magento/magento2/pulls/7667","html_url":"https://github.com/magento/magento2/pull/7667","diff_url":"https://github.com/magento/magento2/pull/7667.diff","patch_url":"https://github.com/magento/magento2/pull/7667.patch"},"body":"We have a project where we import a bunch of categories and products programmatically.\r\nAnd after that we let the url rewrites being created as this doesn't seem to happen automatically.\r\n\r\nIn Magento 2.1.2, there are problems in the category urls when we do this, where the url's use the url_key from the category data from store id 0 (admin values) instead of from the specific storeview we try to generate the url rewrites for.\r\n\r\nThis PR fixes our issues.\r\n\r\nPossibly related to https://github.com/magento/magento2/issues/4112 and https://github.com/magento/magento2/issues/2619"},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/264455909","html_url":"https://github.com/magento/magento2/pull/7667#issuecomment-264455909","issue_url":"https://api.github.com/repos/magento/magento2/issues/7667","id":264455909,"user":{"login":"magento-cicd2","id":14279950,"avatar_url":"https://avatars.githubusercontent.com/u/14279950?v=3","gravatar_id":"","url":"https://api.github.com/users/magento-cicd2","html_url":"https://github.com/magento-cicd2","followers_url":"https://api.github.com/users/magento-cicd2/followers","following_url":"https://api.github.com/users/magento-cicd2/following{/other_user}","gists_url":"https://api.github.com/users/magento-cicd2/gists{/gist_id}","starred_url":"https://api.github.com/users/magento-cicd2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magento-cicd2/subscriptions","organizations_url":"https://api.github.com/users/magento-cicd2/orgs","repos_url":"https://api.github.com/users/magento-cicd2/repos","events_url":"https://api.github.com/users/magento-cicd2/events{/privacy}","received_events_url":"https://api.github.com/users/magento-cicd2/received_events","type":"User","site_admin":false},"created_at":"2016-12-02T13:40:22Z","updated_at":"2016-12-02T13:40:22Z","body":"[![CLA assistant check](https://cla.dev.magento.com/pull/badge/not_signed)](https://cla.dev.magento.com/magento/magento2?pullRequest=7667) <br/>Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our [Contributor License Agreement](https://cla.dev.magento.com/magento/magento2?pullRequest=7667) before we can accept your contribution.<br/>"}}
{"actor":{"display_login":"magento-cicd2"}}