rapidftr / tracker

The Issue Tracker for RapidFTR
2 stars 3 forks source link

Highlighted field labels display as ‘null’ for unverified users #219

Closed tomclement closed 9 years ago

tomclement commented 10 years ago

Steps to reproduce

Expected Result The created record should be listed along with the highlighted fields and their corresponding labels

Actual Result The highlighted field labels are displayed as ‘null’ (see screenshot below):

null_values

ctumwebaze commented 9 years ago

The reason this was failing is due to the fact that when unverified users signup on the mobile, they don't have a defined language. A method was added to the RapidFtrApplication class to return "en" as the default language for any current user whose language is not defined.

tomclement commented 9 years ago

Resolved with https://github.com/rapidftr/RapidFTR-Android/pull/188