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
) 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@pih.org | Phone: 857.206.5246

Hi,

I think it’s just assigning setup.

On Android and Web browser on smartphone (Smartphone app), you have assign a user to specific orgUnit which also has dataSet assigned to.

For example:

Your dataSet is assign to level 3, then you also need to assign the user to level 3. On web version, if you assign user to level 1, you can do data entry for level 2,3,4, but on Smartphone app and Android app, you can’t.

Some experiences, hope it can help you!

···

On Tue, Aug 8, 2017 at 4:25 AM, Mike Johnson mjohnson@pih.org wrote:

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
) 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@pih.org | Phone: 857.206.5246


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Em Le Hong
DHIS2 Implementation| **HISP Vietnam **

em.hispvietnam@gmail.com | Skype: em.hispvietnam@gmail.com

I am having trouble configuring the Smartphone (Mobile) module in Chrome or Firefox.

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
)

Mike Johnson, MSc

Senior Analyst | Monitoring, Evaluation, and Quality Improvement

Partners In Health

Skype: mjohnson@pih.org | Phone: 857.206.5246

···

From: Dhis2-users [mailto:dhis2-users-bounces+mjohnson=pih.org@lists.launchpad.net] On Behalf Of Mike Johnson

Sent: Monday, August 07, 2017 5:26 PM

To: dhis2-users@lists.launchpad.net; dhis2-devs@lists.launchpad.net

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
) 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@pih.org | Phone: 857.206.5246