You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
Our custom LocationHierarchy endpoint exhibits different behaviors when using different JPA servers. When hitting the endpoint in the production environment, the response includes the children block as expected. However, in the staging environment, the children block is missing from the response.
Note: The children block is missing in the stage response.
Investigation Findings:
The root cause of this inconsistency is the getId() function in the Location class. This function should return the ID of the location in the format Location/<locationId>. While this format is correctly returned in the production environment, in the stage environment, the ID is returned as a URL, such as "http://host-server:<port>/fhir/Location/<locationId>".
This discrepancy in the ID format is causing the children block to be omitted from the stage environment response.
The text was updated successfully, but these errors were encountered:
Description:
Our custom
LocationHierarchy
endpoint exhibits different behaviors when using different JPA servers. When hitting the endpoint in the production environment, the response includes thechildren
block as expected. However, in the staging environment, thechildren
block is missing from the response.Production Response:
Stage Response:
Note: The
children
block is missing in the stage response.Investigation Findings:
The root cause of this inconsistency is the
getId()
function in theLocation
class. This function should return the ID of the location in the formatLocation/<locationId>
. While this format is correctly returned in the production environment, in the stage environment, the ID is returned as a URL, such as"http://host-server:<port>/fhir/Location/<locationId>"
.This discrepancy in the ID format is causing the
children
block to be omitted from the stage environment response.The text was updated successfully, but these errors were encountered: