-
Bug
-
Resolution: Fixed
-
High
-
3
-
Minor
-
-
Warranty
Issue Summary
When sending the following GraphQL activity query to cc-graphql, it doesn't return the hydrated Confluence pages. This only happens to custom domain tenant.
query activityTest { activity { myActivity { all(filter: { type: AND rootContainerIds: ["ari:cloud:platform::site/a52bb7b9-7fba-42bc-96f3-992b71017257"] arguments: { products: ["CONFLUENCE"] objectTypes: ["PAGE"] eventTypes: [] } }) { edges { node { object { id data { # hydration ... on ConfluencePage { title } } } } } } } } }
Steps to Reproduce
- Go to this custom domain staging tenant cctesting-active.stg.customdomains.com.co. Browse a few Confluence pages.
- Send the above query to cc-graphql. Use this link for convenience.
Expected Results
In the response, data should contain the page title.
{ "data": { "activity": { "myActivity": { "all": { "edges": [ { "node": { "object": { "id": "ari:cloud:confluence:7553cfaa-fa16-484f-87f8-6c9b7f448d77:page/625624665", "data": { "title": "some title" } } } }, { "node": { "object": { "id": "ari:cloud:confluence:7553cfaa-fa16-484f-87f8-6c9b7f448d77:page/785217928", "data": { "title": "some title" } } } } ] } } } } }
Actual Results
In the response, data is null.
{ "data": { "activity": { "myActivity": { "all": { "edges": [ { "node": { "object": { "id": "ari:cloud:confluence:7553cfaa-fa16-484f-87f8-6c9b7f448d77:page/625624665", "data": null } } }, { "node": { "object": { "id": "ari:cloud:confluence:7553cfaa-fa16-484f-87f8-6c9b7f448d77:page/785217928", "data": null } } } ] } } } } }
The below error message is in the cc-graphql error log.
Field was filtered by policy check. Cannot evaluate custom domains security policy: “X-Forwarded-Host” header is missing. Please add this header to your requests.
Note that there is a secondary issue that the GraphQL error is not included in the response.
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
- derived from
-
CES-94361 Loading...