dhis2 / dhis2-android-dashboard

:no_entry: [DEPRECATED] Android application for DHIS2 which implements basic dashboard functionality.
BSD 3-Clause "New" or "Revised" License
17 stars 47 forks source link

fix a bug #20

Closed yiyuanliu closed 8 years ago

yiyuanliu commented 8 years ago

If we don't do this.It will return null when we call getLastUpdate() on a user object.As a result,NullPointerException may happen on the line 99 of Dbutils.java .The app may closed because this reason when we try to refresh or edit the item in the Interpretations Activity.

18 There is something about the bug.

arazabishov commented 8 years ago

Hi Yiyuan,

Thank for reporting bug and submitting fix. Unfortunately solution you have proposed is not solving the problem in the root. This issue is related to some breaking changes in API which were introduced in DHIS2 v2.22. I have fixed the issue here d28d06c540dcf87b66c259cf2a13528a1b629f5b.

Thank you for paying attention to this.