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

REST API product listing with currentPage and pageSize does not include category_ids #6127

Closed
dnadle opened this issue Aug 12, 2016 · 7 comments
Assignees
Labels
bug report Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development

Comments

@dnadle
Copy link

dnadle commented Aug 12, 2016

Preconditions

  1. Magento 2.1.0

Steps to reproduce

  1. Do an API product paginated search query with /V1/products/?searchCriteria[currentPage]=1&searchCriteria[pageSize]=100
  2. Look at returned JSON content.
  3. Do an API product GET with /V1/products/{sku}
  4. Look at returned JSON content.

Expected result

  1. Products returned by paginated search should include "category_ids" as a member of "custom_attributes".

Actual result

  1. The listed products using the paginated search criteria exclude "category_ids" from the "custom_attributes" array.
  2. Loading the SKU with /V1/products/{sku} includes the "category_ids" attribute.
@mbrinton01 mbrinton01 added the Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development label Sep 29, 2016
@mbrinton01 mbrinton01 self-assigned this Sep 29, 2016
@mbrinton01
Copy link

Thank you @dnadle for this report. We are tracking it under the internal issue MAGETWO-59130.

@PaulBoss
Copy link

Is there an update or timeframe for this issue? We also want to sync the product data and we are waiting for a fix for this. A workaround would be to do an API call for /product/{sku} for every product but that will add a significant load to the store.

mmansoor-magento pushed a commit that referenced this issue Oct 26, 2016
[Folks] Bugs:
- MAGETWO-59258 [Github] Override module-directory/etc/zip_codes.xml only the last code of a country gets included #6694
- MAGETWO-59512 [GitHub] Products in wishlist show $0.00 price #6866
- MAGETWO-59185 [GITHUB] Offline carrier configuration option "showmethod" does not appear in admin panel carrier configuration page #5693
- MAGETWO-59130 [Github] REST API with searchCriteria does not return category_ids #6127
- MAGETWO-57850 Unable to filter blocks using store view and block ID
- MAGETWO-57682 [GitHub] Checkout Agreement validation is broken on payment method change #6224
- MAGETWO-59573 Braintree JS error on checkout after applying 100% discount coupon with free shipping enabled
@SerhiyShkolyarenko
Copy link
Contributor

The fix is delivered to develop branch. Closing the issue.

@Ctucker9233
Copy link

@SerhiyShkolyarenko Will MAGETWO-59130 be included in 2.1.3?

@gehirnstuerm
Copy link

I fear MAGETWO-59130 is not included in 2.1.6?
Is there an ETA for this?

@misha-kotov
Copy link

@gehirnstuerm the fix will be backported in one of the upcoming 2.1.x releases.

@PaulBoss
Copy link

So when will this be backported?

magento-team pushed a commit that referenced this issue Oct 5, 2017
magento-engcom-team pushed a commit that referenced this issue Feb 12, 2018
mmansoor-magento pushed a commit that referenced this issue May 11, 2021
[TSG] Fixes for 2.3 (pr145) (2.3.7-develop)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development
Projects
None yet
Development

No branches or pull requests

9 participants