{"issue":{"created_at":"2011-11-17T13:58:38Z","state":"closed","updated_at":"2011-11-30T04:12:32Z","comments":1,"user":{"gravatar_id":"8a7152fb2e089d006d0ce2b0fabfa547","id":468833,"url":"https://api.github.com/users/cea2k","avatar_url":"https://secure.gravatar.com/avatar/8a7152fb2e089d006d0ce2b0fabfa547?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"cea2k"},"body":"inside que select block products are filtered by deleted_at and available_on, but if available_on is nil then an exception raises. this patch fixes the condition and tests first if available on ir not nil.","assignee":null,"id":2268968,"number":16,"pull_request":{"patch_url":"https://github.com/spree/spree_related_products/pull/16.patch","html_url":"https://github.com/spree/spree_related_products/pull/16","diff_url":"https://github.com/spree/spree_related_products/pull/16.diff"},"labels":[],"title":"fixes an error when related product is not available","html_url":"https://github.com/spree/spree_related_products/issues/16","closed_at":"2011-11-30T04:05:27Z","url":"https://api.github.com/repos/spree/spree_related_products/issues/16","milestone":null},"action":"created","comment":{"created_at":"2011-11-30T04:12:32Z","updated_at":"2011-11-30T04:12:32Z","user":{"gravatar_id":"3917b9c81197f1cd96f4546930b39d54","id":25104,"url":"https://api.github.com/users/jdutil","avatar_url":"https://secure.gravatar.com/avatar/3917b9c81197f1cd96f4546930b39d54?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jdutil"},"body":"Fix is in master for 0.80.x and within 0-70-stable for older for spree apps.","id":2954836,"url":"https://api.github.com/repos/spree/spree_related_products/issues/comments/2954836"}}