Defect HC-12845
api/v2/products calls with profile HCL_V2_ComposeFacetListByCategoryId does not return facets
Software
Customer case | Applies to | Corrected in |
---|---|---|
CS0262554 | V9.1.7.0 | 9.1.8.0 |
Observed behavior
When the api/v2/products api is called using profile HCL_V2_ComposeFacetListByCategoryId, an error similar to the following is encountered and no facets are returned:</p> <p>org.springframework.http.converter.HttpMessageConversionException: Type definition error: [simple type, class org.elasticsearch.action.OriginalIndices]; nested exception is com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class org.elasticsearch.action.OriginalIndices and no properties discovered to create BeanSerializer
Expected behavior
The profile should be handled correctly and there should be no error shown.
Resolution
The code was fixed to correct the error with the handling of the profile.