{"action":"opened","issue":{"url":"https://api.github.com/repos/chameleon-system/chameleon-system/issues/121","repository_url":"https://api.github.com/repos/chameleon-system/chameleon-system","labels_url":"https://api.github.com/repos/chameleon-system/chameleon-system/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/chameleon-system/chameleon-system/issues/121/comments","events_url":"https://api.github.com/repos/chameleon-system/chameleon-system/issues/121/events","html_url":"https://github.com/chameleon-system/chameleon-system/issues/121","id":368604296,"node_id":"MDU6SXNzdWUzNjg2MDQyOTY=","number":121,"title":"Buying last product: still visible in category (cache)","user":{"login":"UlrichKu","id":20949224,"node_id":"MDQ6VXNlcjIwOTQ5MjI0","avatar_url":"https://avatars0.githubusercontent.com/u/20949224?v=4","gravatar_id":"","url":"https://api.github.com/users/UlrichKu","html_url":"https://github.com/UlrichKu","followers_url":"https://api.github.com/users/UlrichKu/followers","following_url":"https://api.github.com/users/UlrichKu/following{/other_user}","gists_url":"https://api.github.com/users/UlrichKu/gists{/gist_id}","starred_url":"https://api.github.com/users/UlrichKu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UlrichKu/subscriptions","organizations_url":"https://api.github.com/users/UlrichKu/orgs","repos_url":"https://api.github.com/users/UlrichKu/repos","events_url":"https://api.github.com/users/UlrichKu/events{/privacy}","received_events_url":"https://api.github.com/users/UlrichKu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-10T10:42:43Z","updated_at":"2018-10-10T10:42:43Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"**Describe the bug**\r\nBuying the last item of a product with variants will not hide it on the respective category (frontend) page.\r\n\r\nAlso see #83, #84, #86 with similar bugs/topics.\r\n\r\n**Affected version(s)**\r\n\\>= 6.0\r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\n0. Make sure you have a product with variants and the stock of the variants is 0 except for one with 1\r\n1. Buy this product/variant (= finish a purchase)\r\n2. Click on the category again: it will still be visible\r\n3. Click on this product: a 404 page is shown\r\n4. Clear the cache in the backend and reload category page: product is not shown\r\n"}}
{"actor":{"display_login":"UlrichKu"}}