{"issue":{"state":"closed","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"milestone":{"state":"open","open_issues":3,"url":"https://api.github.com/repos/spree/spree/milestones/3","due_on":null,"title":"v0.70.2","description":"The next release of the 0.70 branch, containing only bug fixes .","creator":{"avatar_url":"https://secure.gravatar.com/avatar/9a2a53db8e9b4476038c94a64b32833f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"9a2a53db8e9b4476038c94a64b32833f","url":"https://api.github.com/users/radar","login":"radar","id":2687},"number":3,"closed_issues":2,"created_at":"2011-11-14T21:32:23Z"},"user":{"avatar_url":"https://secure.gravatar.com/avatar/817666c751d2fbebeba726ba52d1c977?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"817666c751d2fbebeba726ba52d1c977","url":"https://api.github.com/users/jjkw","login":"jjkw","id":44528},"assignee":null,"updated_at":"2011-11-14T22:44:51Z","labels":[{"name":"nocode","color":"d7e102","url":"https://api.github.com/repos/spree/spree/labels/nocode"}],"closed_at":"2011-11-14T22:44:51Z","comments":2,"url":"https://api.github.com/repos/spree/spree/issues/410","body":"When a product has variants defined at they they all have 0 on_hand the product page fails to load. \nHere is the production log ( has been edited to remove the HTML Tags)\n\n'''\nActionView::Template::Error (undefined method `options_text' for nil:NilClass):\n    11:   has_checked = false\n    12:   h4 id=\"variant-images\"\n    13:     = t('images_for')\n    14:     = @selected_variant.options_text \n    15:   /h4\n    16:   ul id=\"variant-thumbnails\" class=\"thumbnails\"\n    17:     <% @variants.each do |v|\n'''","html_url":"https://github.com/spree/spree/issues/410","title":"Product page fails to render if all Variants have 0 on_hand","number":410,"id":969117,"created_at":"2011-05-28T20:35:36Z"},"action":"closed"}