{"action":"opened","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/19293","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/19293/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/19293/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/19293/events","html_url":"https://github.com/magento/magento2/issues/19293","id":383053106,"node_id":"MDU6SXNzdWUzODMwNTMxMDY=","number":19293,"title":"Invisible products do not update url_rewrite properly","user":{"login":"dverkade","id":1058480,"node_id":"MDQ6VXNlcjEwNTg0ODA=","avatar_url":"https://avatars3.githubusercontent.com/u/1058480?v=4","gravatar_id":"","url":"https://api.github.com/users/dverkade","html_url":"https://github.com/dverkade","followers_url":"https://api.github.com/users/dverkade/followers","following_url":"https://api.github.com/users/dverkade/following{/other_user}","gists_url":"https://api.github.com/users/dverkade/gists{/gist_id}","starred_url":"https://api.github.com/users/dverkade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dverkade/subscriptions","organizations_url":"https://api.github.com/users/dverkade/orgs","repos_url":"https://api.github.com/users/dverkade/repos","events_url":"https://api.github.com/users/dverkade/events{/privacy}","received_events_url":"https://api.github.com/users/dverkade/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-21T10:31:36Z","updated_at":"2018-11-21T10:31:36Z","closed_at":null,"author_association":"MEMBER","body":"### Preconditions (*)\r\n1. Magento 2.2.6\r\n\r\n### Steps to reproduce (*)\r\n1. Have a product in the Magento backoffice with the visibility \"Not visible individually\". Set the URL key of the product to \"product-a\"\r\n2. Open the product in de backoffice and change the URL Key to \"product-b\" and check the \"create permanent redirect\" checkbox\r\n3. Save the product. \r\n4. Open the product again, change the visibility of the product to \"Catalog, search\" and change the URL key to \"product-c\", check the \"create permanent redirect\" checkbox.\r\n5. Save the product again.\r\n\r\n### Expected result (*)\r\n1. Permanent redirects should be present in the url rewrite database table from product-a to product-b\r\n2. Permanent redirects should be present in the url rewrite database table from product-b to product-c\r\n\r\n### Actual result (*)\r\n1. In the URL rewrite database table, only a references to product-c are available and permanent redirects from product-b to product-c are available. \r\n2. product-a is not redirecting to product-b\r\n"}}
{"actor":{"display_login":"dverkade"}}