saleor / saleor-storefront

A GraphQL-powered, NextJs-based, PWA storefront for Saleor. IMPORTANT: This project is [DEPRECATED] in favor of saleor/react-storefront soon to become our default demo and storefront starter pack.
https://demo.saleor.io/
BSD 3-Clause "New" or "Revised" License
769 stars 672 forks source link

Add default value to product item category in case none is provided #928

Closed bmigirl closed 4 years ago

bmigirl commented 4 years ago

I want to merge this change because it fixes issue when searching for a product that has no category and the app crashes

SALEOR-1398

Screenshots

Pull Request Checklist

  1. [ ] All visible strings are translated with proper context.
  2. [ ] All data-formatting is locale-aware (dates, numbers, and so on).
  3. [ ] The changes are tested.
  4. [ ] The code is documented (docstrings, project documentation).
  5. [x] Changes are mentioned in the changelog.

Test Environment Config

API_URI=https://master.staging.saleor.rocks/graphql/

dominik-zeglen commented 4 years ago

Could you add story for this case?

patrys commented 4 years ago

Task linked: SALEOR-1398 Storefront crashes on searching for e.g. "AA2" for logged in admin user