Error while opening Tracker capture in DHIS2.29

HI Dhis2 Users/Devs

I have recently migrated from DHIS 2.27 to DHIS 2.29. I ran the upgrade script provided by DHIS for 2.29 upgrade on my existing 2.27 DB.

I am able to run DHIS 2.29, However, I am getting some issues with tracker capture app.

I am getting this error on console when I open tracker capture app :

*" Cannot set property ‘programTrackedEntityAttribute’ of undefined " *

Can you please point me to what is issue with this ?

···

Kumar Gaurav Nath Shahdeo
Developer
Email
gauravns@thoughtworks.com
Telephone
+91 9160688935
ThoughtWorks

You did do the intermediate upgrade to 2.28?

···

Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar

No I have not done an intermediate upgrade to 2.28. I used the upgrade script in existing 2.27 db that I had to move directly to 2.29

···

On Thu, May 31, 2018 at 1:21 PM, Knut Staring knutst@gmail.com wrote:

You did do the intermediate upgrade to 2.28?

On Thu, May 31, 2018 at 9:42 AM Kumar Shahdeo gauravns@thoughtworks.com wrote:

HI Dhis2 Users/Devs

I have recently migrated from DHIS 2.27 to DHIS 2.29. I ran the upgrade script provided by DHIS for 2.29 upgrade on my existing 2.27 DB.

I am able to run DHIS 2.29, However, I am getting some issues with tracker capture app.

I am getting this error on console when I open tracker capture app :

*" Cannot set property ‘programTrackedEntityAttribute’ of undefined " *

Can you please point me to what is issue with this ?


Kumar Gaurav Nath Shahdeo
Developer
Email
gauravns@thoughtworks.com
Telephone
+91 9160688935
ThoughtWorks


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

Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar

Kumar Gaurav Nath Shahdeo
Developer
Email
gauravns@thoughtworks.com
Telephone
+91 9160688935
ThoughtWorks

That could be a possible source of your problem then

···

On Thu, May 31, 2018 at 1:21 PM, Knut Staring knutst@gmail.com wrote:

You did do the intermediate upgrade to 2.28?

On Thu, May 31, 2018 at 9:42 AM Kumar Shahdeo gauravns@thoughtworks.com wrote:

HI Dhis2 Users/Devs

I have recently migrated from DHIS 2.27 to DHIS 2.29. I ran the upgrade script provided by DHIS for 2.29 upgrade on my existing 2.27 DB.

I am able to run DHIS 2.29, However, I am getting some issues with tracker capture app.

I am getting this error on console when I open tracker capture app :

*" Cannot set property ‘programTrackedEntityAttribute’ of undefined " *

Can you please point me to what is issue with this ?


Kumar Gaurav Nath Shahdeo
Developer
Email
gauravns@thoughtworks.com
Telephone
+91 9160688935
ThoughtWorks


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

Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar


Kumar Gaurav Nath Shahdeo
Developer
Email
gauravns@thoughtworks.com
Telephone
+91 9160688935
ThoughtWorks

I did an incremental upgrade this time. I moved from 2.27 to 2.28 and then ran upgrade script on db. Then I moved from 2.28 to 2.29.
I am still hitting the same issue with TRacker Capture app. Getting the error message

*" Cannot set property ‘programTrackedEntityAttribute’ of undefined " *

Regards

Gaurav

···

On Thu, May 31, 2018 at 2:34 PM, Knut Staring knutst@gmail.com wrote:

That could be a possible source of your problem then

On Thu, May 31, 2018, 10:49 AM Kumar Shahdeo gauravns@thoughtworks.com wrote:

No I have not done an intermediate upgrade to 2.28. I used the upgrade script in existing 2.27 db that I had to move directly to 2.29

On Thu, May 31, 2018 at 1:21 PM, Knut Staring knutst@gmail.com wrote:

You did do the intermediate upgrade to 2.28?

On Thu, May 31, 2018 at 9:42 AM Kumar Shahdeo gauravns@thoughtworks.com wrote:

HI Dhis2 Users/Devs

I have recently migrated from DHIS 2.27 to DHIS 2.29. I ran the upgrade script provided by DHIS for 2.29 upgrade on my existing 2.27 DB.

I am able to run DHIS 2.29, However, I am getting some issues with tracker capture app.

I am getting this error on console when I open tracker capture app :

*" Cannot set property ‘programTrackedEntityAttribute’ of undefined " *

Can you please point me to what is issue with this ?


Kumar Gaurav Nath Shahdeo
Developer
Email
gauravns@thoughtworks.com
Telephone
+91 9160688935
ThoughtWorks


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

Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar


Kumar Gaurav Nath Shahdeo
Developer
Email
gauravns@thoughtworks.com
Telephone
+91 9160688935
ThoughtWorks

Kumar Gaurav Nath Shahdeo
Developer
Email
gauravns@thoughtworks.com
Telephone
+91 9160688935
ThoughtWorks

I found that ‘attributes’ object store in indexed db ‘dhis2tc’ do not contain any data. Hence, it is trying to set property to an undefined object (attributes).
What can be the possible reason for indexed db to not have any data ?

···

On Thu, May 31, 2018 at 4:43 PM, Kumar Shahdeo gauravns@thoughtworks.com wrote:

I did an incremental upgrade this time. I moved from 2.27 to 2.28 and then ran upgrade script on db. Then I moved from 2.28 to 2.29.
I am still hitting the same issue with TRacker Capture app. Getting the error message

*" Cannot set property ‘programTrackedEntityAttribute’ of undefined " *

Regards

Gaurav

On Thu, May 31, 2018 at 2:34 PM, Knut Staring knutst@gmail.com wrote:

That could be a possible source of your problem then

On Thu, May 31, 2018, 10:49 AM Kumar Shahdeo gauravns@thoughtworks.com wrote:

No I have not done an intermediate upgrade to 2.28. I used the upgrade script in existing 2.27 db that I had to move directly to 2.29


Kumar Gaurav Nath Shahdeo
Developer
Email
gauravns@thoughtworks.com
Telephone
+91 9160688935
ThoughtWorks

On Thu, May 31, 2018 at 1:21 PM, Knut Staring knutst@gmail.com wrote:

You did do the intermediate upgrade to 2.28?

On Thu, May 31, 2018 at 9:42 AM Kumar Shahdeo gauravns@thoughtworks.com wrote:

HI Dhis2 Users/Devs

I have recently migrated from DHIS 2.27 to DHIS 2.29. I ran the upgrade script provided by DHIS for 2.29 upgrade on my existing 2.27 DB.

I am able to run DHIS 2.29, However, I am getting some issues with tracker capture app.

I am getting this error on console when I open tracker capture app :

*" Cannot set property ‘programTrackedEntityAttribute’ of undefined " *

Can you please point me to what is issue with this ?


Kumar Gaurav Nath Shahdeo
Developer
Email
gauravns@thoughtworks.com
Telephone
+91 9160688935
ThoughtWorks


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

Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar


Kumar Gaurav Nath Shahdeo
Developer
Email
gauravns@thoughtworks.com
Telephone
+91 9160688935
ThoughtWorks

Kumar Gaurav Nath Shahdeo
Developer
Email
gauravns@thoughtworks.com
Telephone
+91 9160688935
ThoughtWorks

1 Like