Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subcategory shows empty when image field is present #140

Closed
proksimacentauri opened this issue Sep 13, 2019 · 3 comments
Closed

subcategory shows empty when image field is present #140

proksimacentauri opened this issue Sep 13, 2019 · 3 comments
Labels
bug Something isn't working
Milestone

Comments

@proksimacentauri
Copy link

proksimacentauri commented Sep 13, 2019

Describe the bug
When the subcategory and image fields are together then the subcategory field always shows empty when the product does have a subcategory.

To Reproduce
Steps to reproduce the behavior:

  1. Make a query for a product that you know has a subcategory
  2. Add the image field and the subcategory field in the query.
  3. The query will display empty in the subcategories
  4. Remove image and the subcategories will show up.

Expected behaviour
The expected behaviour is that the subcategories should show up even if the image field is present.

Screenshots
Screenshot 2019-09-13 at 11 17 50
1. query for a product with both image and subcategory field

Screenshot 2019-09-13 at 11 18 41
2. query for a product with only the subcategory field

Desktop (please complete the following information):

  • OS: [iOS]
  • Browser [chrome]
  • Version 75.0.3770.142 (Official Build) (64-bit)
@kidunot89 kidunot89 added the bug Something isn't working label Sep 13, 2019
@kidunot89
Copy link
Member

kidunot89 commented Sep 28, 2019

I'm having a problem recreating the problem. Here the results I get.
product-subcategory-query
Are you using the most stable releases of WooGraphQL and WPGraphQL?

@kidunot89 kidunot89 added the awaiting author response Awaiting response from Issue/PR author label Sep 28, 2019
@kidunot89 kidunot89 added this to the v0.2.2 milestone Sep 28, 2019
@kidunot89
Copy link
Member

kidunot89 commented Oct 15, 2019

@Dongerina This is actually being cause by an issue in WPGraphQL. See WPGraphQL #887. Although, I am looking to see if I can apply a small patch within the connection that will remedy the issue in WooGraphQL

@kidunot89
Copy link
Member

This was patch in #150

@kidunot89 kidunot89 removed the awaiting author response Awaiting response from Issue/PR author label Oct 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants