Hi, I’m currently working on this ticket where I’m expected to add Unit tests and test data for Laboratory Handler. However, I have encountered some challenges in the process. When I run a mvn install on the module, it builds successfully, but when I run:
Thanks for looking into this, This is a new behavior to my experience, this doesn’t happen after my changes, even on a freshly cloned module. But surprisingly a full maven build runs successfully.
Nope, its statically included in the API, here . Am not soo sure why this happens, do I need to first set the property? If so, do you mind directing me how to!
The errors I see here are not consistent with your second post. Can you explain exactly what you are doing, what behavior where you expecting and what behavior you are getting.
What I expect is that the Global Property of key “fhir.diagnosticreport.result” should be included by default at the dev of the module since It was hard coded in the API.
Could I be wrong at this?
But generally what that error is saying is that you are fetching a global property that doesn’t exist. To debug first thing is check the property id to make sure you have it right. If you have it right then you need to make sure the property actually exists. To do that depends on whether it’s failing at runtime or within a unit test. If it’s within a unit test you have to check the XxxTestDataset.xml file for that unit test to see if they specified a global property with that id. If it’s at runtime then you can check in the config.xml or from the web application administration section.
My ideal or perception towards this is that, since it was already included in the API statically, it should have already been included here, I expect it to be already included in a certain dataSet but I have seen none