Defect HC-16515
Elastic Search V1 api returns incomplete parentCatalogGroupID list when multiple sales categories apply
Software
Customer case | Applies to | Corrected in |
---|---|---|
CS0302817 | V9.1.8.0 | 9.1.10.0 |
Observed behavior
The services productview/bySearchTerm and productview/byId return only the first parent category for the product.
Expected behavior
All categories the product belongs to should be returned.
Resolution
When a product belongs to multiple sales categories within the catalog, only the first category found is being returned. The code was fixed to return all categories the product belongs to.