← Back to team overview

dhis2-users team mailing list archive

Entering data using Mobile (Smartphone) module

 

I am having trouble configuring the Smartphone (Mobile) module in Chrome or Firefox.
[cid:image003.jpg@01D31B53.B907D490]
I am configuring a system for data collection at hospital wards, so they are at level 4 in the Org Unit Hierarchy. The dataset is also set at Level 4, and the User is set at Level 4. Unfortunately when the user logs in, they see a message "No organisation units available for data entry." The server is logging a java.lang.NullPointerException.

I have received some great feedback from other users, and I tried on the Demo DHIS2 platform. First, I got the same error - No organization units are available... but the page instantly redirected back to the /mobile/index page, and I clicked on "Aggregate Reports" again, and this time it worked.

Can anyone advise me on the specific user permissions that a user needs in order to enter data using the Smartphone Module on a tablet? Thank you!

Mike

(Jira Bug Report: https://jira.dhis2.org/browse/DHIS2-2013<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fjira.dhis2.org%2Fbrowse%2FDHIS2-2013&data=02%7C01%7Cmjohnson%40pih.org%7C3cc3eebab7cf4f735e9f08d4dddaf62d%7C5254789f6860437585bc302509fad508%7C1%7C0%7C636377379884915904&sdata=A7TWRnSG%2F8sqvZxFbVAfYzRBSUU00esU97shH6Lc3%2FE%3D&reserved=0>)


Mike Johnson, MSc
Senior Analyst | Monitoring, Evaluation, and Quality Improvement
Partners In Health
Skype: mjohnson@xxxxxxx<mailto:mjohnson@xxxxxxx> | Phone: 857.206.5246



From: Dhis2-users [mailto:dhis2-users-bounces+mjohnson=pih.org@xxxxxxxxxxxxxxxxxxx] On Behalf Of Mike Johnson
Sent: Monday, August 07, 2017 5:26 PM
To: dhis2-users@xxxxxxxxxxxxxxxxxxx; dhis2-devs@xxxxxxxxxxxxxxxxxxx
Subject: [Dhis2-users] Entering data using Mobile (Smartphone) module


Is anyone able to help me troubleshoot a problem with the browser-based mobile client (smartphone) in Chrome and Firefox.



When entering data using the URL: /dhis/mobile/data-entry, I am receiving this error: "No organisation units available for data entry." The server is logging a java.lang.NullPointerException

If I try to enter data in a dataset at Level 1 or Level 2, there is no error. If the dataset is at Level 3 or 4 in the hierarchy, the error is flagged. In an Incognito Browser window, the browser redirects to /dhis/mobile/index automatically and the error disappears.

I have tested this with multiple users, brand new users, and different user roles, including superuser role. If a superuser has access to datasets for Org Units at Level 1 and Level 2, then other users who sign in on the same browser will also have access to enter data at these levels until the cache is cleared. Then the error message about organization units will be shown.

I entered a bug report (https://jira.dhis2.org/browse/DHIS2-2013<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fjira.dhis2.org%2Fbrowse%2FDHIS2-2013&data=02%7C01%7Cmjohnson%40pih.org%7C3cc3eebab7cf4f735e9f08d4dddaf62d%7C5254789f6860437585bc302509fad508%7C1%7C0%7C636377379884915904&sdata=A7TWRnSG%2F8sqvZxFbVAfYzRBSUU00esU97shH6Lc3%2FE%3D&reserved=0> ) in case this is something others are experiencing.

Thank you for your assistance!

Mike Johnson, MSc
Senior Analyst | Monitoring, Evaluation, and Quality Improvement
Partners In Health
Skype: mjohnson@xxxxxxx<mailto:mjohnson@xxxxxxx> | Phone: 857.206.5246

JPEG image


References