Data Entry (Beta) Version 2.40: Release date 10 May 2023

Dear All.

I am working on customizing some aggregate data tools and i have just installed V40 DHIS2 version 2.40.It was working yesterday and i fell in love with the app.But today am getting this error for all forms developed yesterday.But funny enough,the forms i have developed today they are working perfectly.Can anyone review the log and help me understand what this means?

Thank you a million times!

Stanley

TypeError: Cannot read properties of undefined (reading ‘id’)
TypeError: Cannot read properties of undefined (reading ‘id’)
at http://localhost:8080/dhis/dhis-web-aggregate-data-entry/static/js/app.d54b1492.chunk.js:1:423709
at Array.map ()
at hc (http://localhost:8080/dhis/dhis-web-aggregate-data-entry/static/js/app.d54b1492.chunk.js:1:423652)
at ea (http://localhost:8080/dhis/dhis-web-aggregate-data-entry/static/js/main.e0c04552.js:2:280887)
at Es (http://localhost:8080/dhis/dhis-web-aggregate-data-entry/static/js/main.e0c04552.js:2:327112)
at Ol (http://localhost:8080/dhis/dhis-web-aggregate-data-entry/static/js/main.e0c04552.js:2:319859)
at Sl (http://localhost:8080/dhis/dhis-web-aggregate-data-entry/static/js/main.e0c04552.js:2:319784)
at gl (http://localhost:8080/dhis/dhis-web-aggregate-data-entry/static/js/main.e0c04552.js:2:316786)
at http://localhost:8080/dhis/dhis-web-aggregate-data-entry/static/js/main.e0c04552.js:2:268165
at http://localhost:8080/dhis/dhis-web-aggregate-data-entry/static/js/main.e0c04552.js:2:393229
in hc
in SECTION
in Unknown
in div
in main
in div
in w
in Oc
in Ic
in div
in div
in Pc
in Uc
in Gc
in div
in v
in So
in ka
in T
in t
in L
in t
in t
in l
in f
in Qc
in im
in nm
in Suspense
in Cr
in div
in div
in Nr
in Pe
in we
in Oe
in ke
in Ne
in f
in te
in pe
in X
in DHIS2RuntimeProvider
in zr
in Dr
in lr
in Cr
in Fr
in qr

Hi @Stanley

Thank you for sharing! What customizations are you making on the tools? Are you customizing the app itself?

What’s special about these forms? Are they plain HTML code?

As for the forms, the error you shared is generic and it could appear for different and many reasons, but the best way to understand an issue is being able to reproduce it. Are you able to reproduce this issue on play.dhis2.org? If you can then please share the steps to reproduce?

Thanks!

1 Like