Hi developers, Some more information related to this bug.
the problem here is that the Tracked Instance Attribute " phone" is of type 'Telephone Number', and DHIS Event Report wants to treat it as a numeric field. Because at data entry time you are allow to enter alpha- numeric values, at reporting time you don't get anything back (2.20) or an error 500 (2.19). An easy way to demonstrate this is by changing the attribute type to text - then values are returned on the event report. Additionally, because the attribute is being considered a number, the Event Report is looking for the associated legend. This can be defined (and we need it) for numeric values as client age, but the Event Report is interrogating the DataElement API (resulting in a 404 error as this is an attribute, not a Data Element). The problem exist in 2.20 and 2.19 both. I hoe this information will help to diagnose this further. -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1474235 Title: Getting Exception when trying to get Phone Number in Event Reports Status in DHIS: New Bug description: Hello Developers, We are getting an exception when we are trying to get the 'Phone number' in Event Report. I am attaching the video to explain the problem for your reference. This is very important as our client need this information for calling. Please do the needful. To manage notifications about this bug go to: https://bugs.launchpad.net/dhis2/+bug/1474235/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp