{"action":"created","issue":{"url":"https://api.github.com/repos/woocommerce/woocommerce/issues/12671","repository_url":"https://api.github.com/repos/woocommerce/woocommerce","labels_url":"https://api.github.com/repos/woocommerce/woocommerce/issues/12671/labels{/name}","comments_url":"https://api.github.com/repos/woocommerce/woocommerce/issues/12671/comments","events_url":"https://api.github.com/repos/woocommerce/woocommerce/issues/12671/events","html_url":"https://github.com/woocommerce/woocommerce/issues/12671","id":197081121,"number":12671,"title":"Woocommerce product Switches to 'Out of Stock' with 1 left in Stock","user":{"login":"myleskilos","id":9361236,"avatar_url":"https://avatars.githubusercontent.com/u/9361236?v=3","gravatar_id":"","url":"https://api.github.com/users/myleskilos","html_url":"https://github.com/myleskilos","followers_url":"https://api.github.com/users/myleskilos/followers","following_url":"https://api.github.com/users/myleskilos/following{/other_user}","gists_url":"https://api.github.com/users/myleskilos/gists{/gist_id}","starred_url":"https://api.github.com/users/myleskilos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myleskilos/subscriptions","organizations_url":"https://api.github.com/users/myleskilos/orgs","repos_url":"https://api.github.com/users/myleskilos/repos","events_url":"https://api.github.com/users/myleskilos/events{/privacy}","received_events_url":"https://api.github.com/users/myleskilos/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-22T02:33:11Z","updated_at":"2016-12-22T11:34:31Z","closed_at":"2016-12-22T11:34:31Z","body":"## EXPLANATION OF THE ISSUE\r\n\r\nI am using a simple product, with all plugins turned off and twentysixteen theme. I create a simple, virtual product with a stock level of 10, I order 9 units. When I go back after the purchase, the ticket stock status has automatically changed to 'Out of Stock' even though there is 1 unit still in stock. If I try to change it back to 'In Stock' and click update, it changes back to 'Out of Stock'\r\n\r\n## STEPS TO REPRODUCE THE ISSUE\r\n\r\nSee above, I think it explains it pretty well.\r\n\r\n## SYSTEM STATUS REPORT\r\n\r\n```\r\nGrab the system status report from WooCommerce > System Status and paste it here.\r\n\r\n`\r\n### WordPress Environment ###\r\n\r\nHome URL: http://oldlw.paintedcellars.com\r\nSite URL: http://oldlw.paintedcellars.com\r\nWC Version: 2.6.9\r\nLog Directory Writable: ✔\r\nWP Version: 4.6.1\r\nWP Multisite: –\r\nWP Memory Limit: 512 MB\r\nWP Debug Mode: –\r\nWP Cron: ✔\r\nLanguage: en_US\r\n\r\n### Server Environment ###\r\n\r\nServer Info: Apache\r\nPHP Version: 5.6.26\r\nPHP Post Max Size: 400 MB\r\nPHP Time Limit: 90\r\nPHP Max Input Vars: 1000\r\ncURL Version: 7.38.0\r\nOpenSSL/1.0.1e\r\n\r\nSUHOSIN Installed: –\r\nMySQL Version: 5.6.34\r\nMax Upload Size: 400 MB\r\nDefault Timezone is UTC: ✔\r\nfsockopen/cURL: ✔\r\nSoapClient: ❌ Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected.\r\nDOMDocument: ✔\r\nGZip: ✔\r\nMultibyte String: ✔\r\nRemote Post: ✔\r\nRemote Get: ✔\r\n\r\n### Database ###\r\n\r\nWC Database Version: 2.6.9\r\n: \r\nwoocommerce_sessions: ✔\r\nwoocommerce_api_keys: ✔\r\nwoocommerce_attribute_taxonomies: ✔\r\nwoocommerce_downloadable_product_permissions: ✔\r\nwoocommerce_order_items: ✔\r\nwoocommerce_order_itemmeta: ✔\r\nwoocommerce_tax_rates: ✔\r\nwoocommerce_tax_rate_locations: ✔\r\nwoocommerce_shipping_zones: ✔\r\nwoocommerce_shipping_zone_locations: ✔\r\nwoocommerce_shipping_zone_methods: ✔\r\nwoocommerce_payment_tokens: ✔\r\nwoocommerce_payment_tokenmeta: ✔\r\n\r\n### Active Plugins (1) ###\r\n\r\nWooCommerce: by WooThemes – 2.6.9\r\n\r\n### Settings ###\r\n\r\nForce SSL: –\r\nCurrency: USD ($)\r\nCurrency Position: left\r\nThousand Separator: ,\r\nDecimal Separator: .\r\nNumber of Decimals: 2\r\n\r\n### API ###\r\n\r\nAPI Enabled: ✔\r\n\r\n### WC Pages ###\r\n\r\nShop Base: ❌ Page not set\r\nCart: #32164 - /cart/\r\nCheckout: #32165 - /checkout/\r\nMy Account: #32166 - /my-account/\r\n\r\n### Taxonomies ###\r\n\r\nProduct Types: external (external)\r\ngrouped (grouped)\r\nsimple (simple)\r\nvariable (variable)\r\n\r\n\r\n### Theme ###\r\n\r\nName: Twenty Sixteen\r\nVersion: 1.3\r\nAuthor URL: https://wordpress.org/\r\nChild Theme: ❌ – If you're modifying WooCommerce on a parent theme you didn't build personally\r\nthen we recommend using a child theme. See: How to create a child theme\r\n\r\nWooCommerce Support: ✔\r\n\r\n### Templates ###\r\n\r\nOverrides: –\r\n`\r\n\r\n<!--\r\nBEFORE POSTING YOUR ISSUE\r\n- These comments won't show up when you submit the issue.\r\n- Try to add as much detail as possible. Be specific!\r\n- GitHub issues ARE NOT FOR SUPPORT! If you have questions, use the either:\r\n  - https://wordpress.org/support/plugin/woocommerce for general support\r\n  - https://woocommerce.com/my-account/tickets/ for premium plugin support\r\n- If you're requesting a new feature, explain why you'd like it to be added.\r\n- Search this repository (top of the page) for the issue and it has not been fixed or reported already.\r\n\r\nBefore logging BUGS, ensure you:\r\n- Use the latest stable release of WooCommerce.\r\n- Disabled all plugins to ensure it's a core bug and not a plugin issue.\r\n- Switched to Twenty Twelve theme to ensure it's a core bug and not a theme issue.\r\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/woocommerce/woocommerce/issues/comments/268782054","html_url":"https://github.com/woocommerce/woocommerce/issues/12671#issuecomment-268782054","issue_url":"https://api.github.com/repos/woocommerce/woocommerce/issues/12671","id":268782054,"user":{"login":"mikejolley","id":90977,"avatar_url":"https://avatars.githubusercontent.com/u/90977?v=3","gravatar_id":"","url":"https://api.github.com/users/mikejolley","html_url":"https://github.com/mikejolley","followers_url":"https://api.github.com/users/mikejolley/followers","following_url":"https://api.github.com/users/mikejolley/following{/other_user}","gists_url":"https://api.github.com/users/mikejolley/gists{/gist_id}","starred_url":"https://api.github.com/users/mikejolley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikejolley/subscriptions","organizations_url":"https://api.github.com/users/mikejolley/orgs","repos_url":"https://api.github.com/users/mikejolley/repos","events_url":"https://api.github.com/users/mikejolley/events{/privacy}","received_events_url":"https://api.github.com/users/mikejolley/received_events","type":"User","site_admin":false},"created_at":"2016-12-22T11:34:31Z","updated_at":"2016-12-22T11:34:31Z","body":"Unable to replicate this one. I suspect either this setting is set wrongly or is being changed through code https://dl.dropboxusercontent.com/s/0cjvn25yxpy33l8/2016-12-22%20at%2011.33.png"}}
{"actor":{"display_login":"mikejolley"}}