{"action":"created","issue":{"url":"https://api.github.com/repos/woocommerce/woocommerce/issues/21338","repository_url":"https://api.github.com/repos/woocommerce/woocommerce","labels_url":"https://api.github.com/repos/woocommerce/woocommerce/issues/21338/labels{/name}","comments_url":"https://api.github.com/repos/woocommerce/woocommerce/issues/21338/comments","events_url":"https://api.github.com/repos/woocommerce/woocommerce/issues/21338/events","html_url":"https://github.com/woocommerce/woocommerce/issues/21338","id":359651020,"node_id":"MDU6SXNzdWUzNTk2NTEwMjA=","number":21338,"title":"Missing Attributes/Variations Problem","user":{"login":"lifekings89","id":43221088,"node_id":"MDQ6VXNlcjQzMjIxMDg4","avatar_url":"https://avatars3.githubusercontent.com/u/43221088?v=4","gravatar_id":"","url":"https://api.github.com/users/lifekings89","html_url":"https://github.com/lifekings89","followers_url":"https://api.github.com/users/lifekings89/followers","following_url":"https://api.github.com/users/lifekings89/following{/other_user}","gists_url":"https://api.github.com/users/lifekings89/gists{/gist_id}","starred_url":"https://api.github.com/users/lifekings89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lifekings89/subscriptions","organizations_url":"https://api.github.com/users/lifekings89/orgs","repos_url":"https://api.github.com/users/lifekings89/repos","events_url":"https://api.github.com/users/lifekings89/events{/privacy}","received_events_url":"https://api.github.com/users/lifekings89/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-09-12T21:00:45Z","updated_at":"2018-11-03T20:06:21Z","closed_at":null,"author_association":"NONE","body":"**Describe the bug**\r\nI have a woo commerce store. I have lots of products where my attributes and variations were created for products and they have been perfectly fine after being published.\r\n\r\nHowever, recently, I have noticed that once a product gets edited, and re published again, some attributes and variations vanish. It can be very random but in the attributes section - the attributes are missing. However, in variations, you can see they existed before.\r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\n1. Go to '.WooCommerce, Products.'\r\n2. Click on '..Create a Variable Product, add the attributes and variations, fill in the details as if it was a real plugin. Then publish the product. Then use a different browser or private browsing, and find that product, and re-edit the item. Then click publish. Then re open the product.\r\n3. Scroll down to '..Attributes.. You will see that they are either completely missing or some attributes are missing'. If you go to variations, you will see the original variations are there, but the attributes are missing.\r\n\r\n**Expected behavior**\r\nWhat should happen is that all the attributes and variations should remain.\r\n\r\n**Isolating the problem (mark completed items with an [x]):**\r\n- [x ] I have deactivated other plugins and confirmed this bug occurs when only WooCommerce plugin is active.\r\n- [x ] This bug happens with a default WordPress theme active, or [Storefront](https://woocommerce.com/storefront/).\r\n- [x ] I can reproduce this bug consistently using the steps above.\r\n\r\n**WordPress Environment**\r\nLatest version\r\n"},"comment":{"url":"https://api.github.com/repos/woocommerce/woocommerce/issues/comments/435617006","html_url":"https://github.com/woocommerce/woocommerce/issues/21338#issuecomment-435617006","issue_url":"https://api.github.com/repos/woocommerce/woocommerce/issues/21338","id":435617006,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTYxNzAwNg==","user":{"login":"lifekings89","id":43221088,"node_id":"MDQ6VXNlcjQzMjIxMDg4","avatar_url":"https://avatars3.githubusercontent.com/u/43221088?v=4","gravatar_id":"","url":"https://api.github.com/users/lifekings89","html_url":"https://github.com/lifekings89","followers_url":"https://api.github.com/users/lifekings89/followers","following_url":"https://api.github.com/users/lifekings89/following{/other_user}","gists_url":"https://api.github.com/users/lifekings89/gists{/gist_id}","starred_url":"https://api.github.com/users/lifekings89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lifekings89/subscriptions","organizations_url":"https://api.github.com/users/lifekings89/orgs","repos_url":"https://api.github.com/users/lifekings89/repos","events_url":"https://api.github.com/users/lifekings89/events{/privacy}","received_events_url":"https://api.github.com/users/lifekings89/received_events","type":"User","site_admin":false},"created_at":"2018-11-03T20:06:21Z","updated_at":"2018-11-03T20:06:21Z","author_association":"NONE","body":"Yes I managed to find a fix overall for the issue by resetting anything which changes a function file in any of the templates\r\n\r\nThat gets around the issue of adding your own extra attribute "}}
{"actor":{"display_login":"lifekings89"}}