{"action":"closed","issue":{"url":"https://api.github.com/repos/spree/spree/issues/6611","labels_url":"https://api.github.com/repos/spree/spree/issues/6611/labels{/name}","comments_url":"https://api.github.com/repos/spree/spree/issues/6611/comments","events_url":"https://api.github.com/repos/spree/spree/issues/6611/events","html_url":"https://github.com/spree/spree/issues/6611","id":96230374,"number":6611,"title":"Exception occurred while resuming the order","user":{"login":"fiftin","id":914224,"avatar_url":"https://avatars.githubusercontent.com/u/914224?v=3","gravatar_id":"","url":"https://api.github.com/users/fiftin","html_url":"https://github.com/fiftin","followers_url":"https://api.github.com/users/fiftin/followers","following_url":"https://api.github.com/users/fiftin/following{/other_user}","gists_url":"https://api.github.com/users/fiftin/gists{/gist_id}","starred_url":"https://api.github.com/users/fiftin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fiftin/subscriptions","organizations_url":"https://api.github.com/users/fiftin/orgs","repos_url":"https://api.github.com/users/fiftin/repos","events_url":"https://api.github.com/users/fiftin/events{/privacy}","received_events_url":"https://api.github.com/users/fiftin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-21T05:22:35Z","updated_at":"2015-08-06T14:13:55Z","closed_at":"2015-08-06T14:13:55Z","body":"I have tried to login and I have received exception `ActiveRecord::RecordInvalid (Validation failed: Quantity selected of \"\" is not available.)`\r\nThe reason is that stock has no item which is contained in the order.\r\n\r\nI have 2 orders with status `address`:\r\n```\r\n id |   number   |  state   | user_id |        canceled_at         \r\n----+------------+----------+---------+----------------------------\r\n 25 | R503342750 | address  |       1 | \r\n 21 | R083744486 | address  |       1 | \r\n```\r\nOrder with id `21` has 2 line items:\r\n```\r\n id | variant_id | quantity | order_id \r\n----+------------+----------+----------\r\n 37 |         15 |        1 |       21\r\n 36 |         14 |        2 |       21\r\n```\r\nVariant with id `14` has no in the stock. And I receive exception when I try login."}}