{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/2619","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/2619/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/2619/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/2619/events","html_url":"https://github.com/magento/magento2/issues/2619","id":120604063,"number":2619,"title":"Categories Path for Product URLs not working, issue with getProductUrl on Catalog Module?","user":{"login":"tigerx7","id":8325186,"avatar_url":"https://avatars.githubusercontent.com/u/8325186?v=3","gravatar_id":"","url":"https://api.github.com/users/tigerx7","html_url":"https://github.com/tigerx7","followers_url":"https://api.github.com/users/tigerx7/followers","following_url":"https://api.github.com/users/tigerx7/following{/other_user}","gists_url":"https://api.github.com/users/tigerx7/gists{/gist_id}","starred_url":"https://api.github.com/users/tigerx7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tigerx7/subscriptions","organizations_url":"https://api.github.com/users/tigerx7/orgs","repos_url":"https://api.github.com/users/tigerx7/repos","events_url":"https://api.github.com/users/tigerx7/events{/privacy}","received_events_url":"https://api.github.com/users/tigerx7/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/magento/magento2/labels/acknowledged","name":"acknowledged","color":"02d7e1"},{"url":"https://api.github.com/repos/magento/magento2/labels/bug","name":"bug","color":"eb6420"},{"url":"https://api.github.com/repos/magento/magento2/labels/in%20progress","name":"in progress","color":"c7def8"},{"url":"https://api.github.com/repos/magento/magento2/labels/MX","name":"MX","color":"fad8c7"},{"url":"https://api.github.com/repos/magento/magento2/labels/needs%20update","name":"needs update","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"voleye","id":2727670,"avatar_url":"https://avatars.githubusercontent.com/u/2727670?v=3","gravatar_id":"","url":"https://api.github.com/users/voleye","html_url":"https://github.com/voleye","followers_url":"https://api.github.com/users/voleye/followers","following_url":"https://api.github.com/users/voleye/following{/other_user}","gists_url":"https://api.github.com/users/voleye/gists{/gist_id}","starred_url":"https://api.github.com/users/voleye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voleye/subscriptions","organizations_url":"https://api.github.com/users/voleye/orgs","repos_url":"https://api.github.com/users/voleye/repos","events_url":"https://api.github.com/users/voleye/events{/privacy}","received_events_url":"https://api.github.com/users/voleye/received_events","type":"User","site_admin":false},"milestone":null,"comments":18,"created_at":"2015-12-06T03:07:16Z","updated_at":"2016-05-20T09:41:38Z","closed_at":null,"body":"It seems that getProductUrl() isn't returning a URL with the category in the path in the catalog pages. I'm able to reproduce this with a clean install using my own data and a clean install using the sample data.\r\n\r\nSteps:\r\n1) Loaded Magento 2.0.0 via Composer, including sample data\r\n2) Did web based setup wizard. Sample data loaded.\r\n3) Admin -> Stores -> Configuration -> Catalog -> Catalog -> Search Engine Optimization -> \"Category URL Suffix\" set to \"\", \"Use Categories Path for Product URLs\" set to \"Yes\"\r\n4) Admin -> Products -> Catalog -> SKU \"24-MB01\" -> Search Engine Optimization -> Verified that URL Key was set to \"joust-duffle-bag\"\r\n4) Flushed all caches plus static files\r\n5) Navigated to sample data category: http://{domain}/gear/bags\r\n6) Link on first product \"Joust Duffle Bag \" is to: \"http://{domain}/catalog/product/view/id/1/s/joust-duffle-bag/category/4/\" instead of the expected: \"http://{domain}/gear/bags/joust-duffle-bag.html\"\r\n\r\nURL Rewrite is functioning since \"gear/bags/joust-duffle-bag.html\" is in the url_rewrite DB table and http://<domain>/gear/bags/joust-duffle-bag.html successfully pulls up the product page. It just seems there's an issue with getProductUrl() on the catalog module inserting the category correctly; unless I have a misunderstanding on something?"},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/220561964","html_url":"https://github.com/magento/magento2/issues/2619#issuecomment-220561964","issue_url":"https://api.github.com/repos/magento/magento2/issues/2619","id":220561964,"user":{"login":"oserediuk","id":8308117,"avatar_url":"https://avatars.githubusercontent.com/u/8308117?v=3","gravatar_id":"","url":"https://api.github.com/users/oserediuk","html_url":"https://github.com/oserediuk","followers_url":"https://api.github.com/users/oserediuk/followers","following_url":"https://api.github.com/users/oserediuk/following{/other_user}","gists_url":"https://api.github.com/users/oserediuk/gists{/gist_id}","starred_url":"https://api.github.com/users/oserediuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oserediuk/subscriptions","organizations_url":"https://api.github.com/users/oserediuk/orgs","repos_url":"https://api.github.com/users/oserediuk/repos","events_url":"https://api.github.com/users/oserediuk/events{/privacy}","received_events_url":"https://api.github.com/users/oserediuk/received_events","type":"User","site_admin":false},"created_at":"2016-05-20T09:41:38Z","updated_at":"2016-05-20T09:41:38Z","body":"Thanks for the report! We have created issue https://jira.corp.x.com/browse/MAGETWO-52879"}}
{"actor":{"display_login":"oserediuk"}}