SAP / openui5-fhir

The openui5-fhir project connects the worlds of UI5 and FHIR®. Build beautiful and enterprise-ready web applications based on the FHIR® specification.
https://sap.github.io/openui5-fhir
Apache License 2.0
33 stars 6 forks source link

Paging does not work with HAPI FHIR Server #332

Closed ManuelB closed 2 years ago

ManuelB commented 2 years ago

Describe the bug Paging with Hapi FHIR Server is not working.

To Reproduce Steps to reproduce the behavior:

In case of bugs:

  1. Go to https://sap-samples.github.io/openui5-fhir-sample-app/#/patients
  2. Click on more

Expected behavior System should load more patients

Actually Nothing happens (hapi fhir server sends an error but this is not visible in the frontend.)

Bildschirmfoto von 2022-05-14 21-22-00

Workaround For the moment we patched the FHIRListBinding in Our Component.js: https://github.com/med-united/care.med-united.health/blob/main/webapp/medunited/care/Component.js#L64

AmirthavalliG commented 2 years ago

@ManuelB : This issue is now fixed with 2.3.2. We still have the default behaviour which can be overridden to avoid the next link from not being processed. You can find more details here Pagination Requests https://sap.github.io/openui5-fhir/tutorial-4%20Request%20Handling.html. Apologies for the delay