Manage distributions page does not load offline

Description

While working offline, after entering data, if a user selects the manage distribution page, the site attempts to access v2-test.openlmis.org/public/pages/logistics/distribution/offline.html#/list, but cannot load the page. The site freezes and becomes unresponsive on the tablet and receives a script error stating "A script on this page may be busy or it may have stopped responding" (screenshots attached).

Occurs:

  • Tablet, chrome

  • Computer, Firefox

To reproduce:
1. Go to Distributions > manage
2. Initiate a distribution
3. Go offline
4. Enter data for a facility
5. Click on Distributions > Manage
6. Note that page does not load properly

Environment

None

Attachments

3

QAlity Plus - Test Management

Checklists

Activity

Show:

Christine Lenihan 
March 4, 2016 at 7:35 PM

I also tested this on the tablet. Everything was working fine now.

Rich Magnuson 
March 2, 2016 at 7:24 PM

Using Firefox on PC, I successfully completed a distribution offline, went back online and synced. Did a few cycles of hitting the offline URL without problems.

Rich Magnuson 
February 29, 2016 at 4:05 PM

Christine - Ben believes this is resolved. Would you be able to test the issue again?

Ben Leibert 
February 27, 2016 at 12:52 AM

Hi . I don't see this behavior on Chrome nor Firefox on a Mac, and wonder whether the recent overhaul I made to offline-distributions implicitly fixed it. Would you mind checking, please, whether you still see the problem (especially on a tablet)?

Done
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Time Assistant

Created February 23, 2016 at 8:47 PM
Updated March 4, 2016 at 7:35 PM
Resolved March 4, 2016 at 7:34 PM