Conversion Exception for Patient ProgramAttribute

Hello @dkayiwa when I try to pull the full representation of a program in rest say http://localhost:8081/openmrs/ws/rest/v1/programenrollment/2d82af80-5ec9-498e-bb21-c647fd78a00d?v=full. there is an exception that details that conversion of PatientProgramAttribute failed here is a full stack https://gist.github.com/slubwama/c2be87762e91765469c1a7d99c588f5d. What could be the issue

@slubwama can you provide an example pointing to the demo server to support troubleshooting as the current link is to your local host

@ssmusoke @dkayiwa I have discovered exactly what was the cause of the problem. ProgramAttribute has ReferenceValue which require a datatype in order to be used in rest since rest calls a method getValue other than getReferenceValue