-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.1.X, 7.2.X, 7.3.X, Master
-
Fix Version/s: 7.1.10 DXP FP21, 7.1.X, 7.2.X, 7.3.X, Master
-
Component/s: Headless Delivery API
-
Branch Version/s:7.3.x, 7.2.x, 7.1.x
-
Backported to Branch:Committed
When a request is made to strucutured fields grouped by content structure endpoint with agregationTerms containing multiple contentFields, only the result of one of them is included in the response.
Steps to reproduce:
- Create a structure with at least two fields
- Create a Web Content with the structure created in step 1
- Send a request to get all structured contents with the content structure id created in step 1 specifying the contentFields in the aggregationTerms url param separated with a comma
GET /o/headless-delivery/v1.0/content-structures/39046/structured-contents?fields=contentFields,title&aggregationTerms=contentFields%2FField31789837,contentFields%2FField57805456 HTTP/1.1
Authorization: Basic dGVzdEBsaWZlcmF5LmNvbTp0ZXN0
Cookie: COOKIE_SUPPORT=true; GUEST_LANGUAGE_ID=en_US; JSESSIONID=E839F9A2043B08472E5E7E547BD6E399
Host: localhost:8080
Connection: close
User-Agent: Paw/3.2 (Macintosh; OS X/10.16.0) GCDHTTPRequest
Expected result: The response includes a facets block with both content fields
Result: The response includes a facets block with only one content field.