highmed / highmed-dsf

HiGHmed Data Sharing Framework funded by the German Federal Ministry of Education and Research (BMBF, grant ids: 01ZZ1802E and 01ZZ1802A)
Apache License 2.0
32 stars 20 forks source link

Bad URL in OperationOutcome After Create and Update #328

Closed hhund closed 2 years ago

hhund commented 2 years ago

The OperationOutcome resources returned by create and update operations using POST and PUT do not contain the correct FHIR server base URL:

{
    "resourceType": "OperationOutcome",
    "issue": [{
            "severity": "information",
            "code": "informational",
            "diagnostics": "Binary created at location http://172.28.1.3:8080/fhir/Binary/80c4e394-38d7-4561-85a3-8950b47f05bb/_history/1"
        }
    ]
}

or

{
    "resourceType": "OperationOutcome",
    "issue": [{
            "severity": "information",
            "code": "informational",
            "diagnostics": "Binary updated at location http://172.28.1.3:8080/fhir/Binary/80c4e394-38d7-4561-85a3-8950b47f05bb/_history/2"
        }
    ]
}

The returned Location header seems fine.