Org Unit Heirarchy failing to load after cache clear

Version 2.22 latest

Browser: Firefox

I often see if this if I have two data entry windows open for versions 2.20 and 2.21. Now with version 2.22, after clear my cache in firefox using the provided tool in DHIS2 apps, the data entry window’s OU heirarchy refuses to repopulate even after closing the browser entirely and opening it back up.

Completely clearing the browser’s cache also fails to get the OU hierarchy to come back.

The Query: http://172.16.40.66:8080/dhis/dhis-web-commons-ajax-json/getOrganisationUnitTree.action

Does return a value however, so I think the blame is with the javascript?

Here is the console output:

Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead es5-shim.min.js:2:0
Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead es5-sham.min.js:2:0
not well-formed i18n:1:1
not well-formed i18n:1:1
Use of getPreventDefault() is deprecated. Use defaultPrevented instead. jquery.min.js:2:40278
NotFoundError: The operation failed because the requested database object could not be found. For example, an object store did not exist but was being opened. dhis2.storage.idb.js:244:0

I have not tested this yet in chrome.

image

···

Timothy Harding
Sr. Systems Analyst, BAO Systems

+1 202-536-1541 | tharding@baosystems.com | http://www.baosystems.com | Skype: hardingt@gmail.com | 2900 K Street, Suite 404, Washington D.C. 20007

Hi Tim,

can you reproduce this on the play demo? What steps are necessary to reproduce the problem?

Best,

Nicolay Ramm

image

···

On Tue, Feb 9, 2016 at 5:17 AM, Timothy Harding tharding@baosystems.com wrote:

Version 2.22 latest

Browser: Firefox

I often see if this if I have two data entry windows open for versions 2.20 and 2.21. Now with version 2.22, after clear my cache in firefox using the provided tool in DHIS2 apps, the data entry window’s OU heirarchy refuses to repopulate even after closing the browser entirely and opening it back up.

Completely clearing the browser’s cache also fails to get the OU hierarchy to come back.

The Query: http://172.16.40.66:8080/dhis/dhis-web-commons-ajax-json/getOrganisationUnitTree.action

Does return a value however, so I think the blame is with the javascript?

Here is the console output:

Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead es5-shim.min.js:2:0
Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead es5-sham.min.js:2:0
not well-formed i18n:1:1
not well-formed i18n:1:1
Use of getPreventDefault() is deprecated. Use defaultPrevented instead. jquery.min.js:2:40278
NotFoundError: The operation failed because the requested database object could not be found. For example, an object store did not exist but was being opened. dhis2.storage.idb.js:244:0

I have not tested this yet in chrome.

Timothy Harding
Sr. Systems Analyst, BAO Systems

+1 202-536-1541 | tharding@baosystems.com | http://www.baosystems.com | Skype: hardingt@gmail.com | 2900 K Street, Suite 404, Washington D.C. 20007


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

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

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

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