Data entry(Beta)

hello community,


am getting this error when am going to use data entry beta app. am using dhis2 v40
here is the error message :"TypeError: t.id is undefined
2926/yd/a<@http://37.60.246.203:8080/dhis-web-aggregate-data-entry/static/js/app.d54b1492.chunk.js:1:411406
yd@http://37.60.246.203:8080/dhis-web-aggregate-data-entry/static/js/app.d54b1492.chunk.js:1:411544
replace@http://37.60.246.203:8080/dhis-web-aggregate-data-entry/static/js/app.d54b1492.chunk.js:1:425677
e@http://37.60.246.203:8080/dhis-web-aggregate-data-entry/static/js/3267.c2c3a6c2.chunk.js:2:429463
e@http://37.60.246.203:8080/dhis-web-aggregate-data-entry/static/js/3267.c2c3a6c2.chunk.js:2:429818
e@http://37.60.246.203:8080/dhis-web-aggregate-data-entry/static/js/3267.c2c3a6c2.chunk.js:2:429818
e@http://37.60.246.203:8080/dhis-web-aggregate-data-entry/static/js/3267.c2c3a6c2.chunk.js:2:429818
e@http://37.60.246.203:8080/dhis-web-aggregate-data-entry/static/js/3267.c2c3a6c2.chunk.js:2:429818
e@http://37.60.246.203:8080/dhis-web-aggregate-data-entry/static/js/3267.c2c3a6c2.chunk.js:2:429818
e@http://37.60.246.203:8080/dhis-web-aggregate-data-entry/static/js/3267.c2c3a6c2.chunk.js:2:429818
s@http://37.60.246.203:8080/dhis-web-aggregate-data-entry/static/js/3267.c2c3a6c2.chunk.js:2:428393
2926/CUSTOM/<@http://37.60.246.203:8080/dhis-web-aggregate-data-entry/static/js/app.d54b1492.chunk.js:1:425627
CUSTOM@http://37.60.246.203:8080/dhis-web-aggregate-data-entry/static/js/app.d54b1492.chunk.js:1:425781
ea@http://37.60.246.203:8080/dhis-web-aggregate-data-entry/static/js/main.e0c04552.js:2:280887
Es@http://37.60.246.203:8080/dhis-web-aggregate-data-entry/static/js/main.e0c04552.js:2:327112
Ol@http://37.60.246.203:8080/dhis-web-aggregate-data-entry/static/js/main.e0c04552.js:2:319861
Sl@http://37.60.246.203:8080/dhis-web-aggregate-data-entry/static/js/main.e0c04552.js:2:319784
gl@http://37.60.246.203:8080/dhis-web-aggregate-data-entry/static/js/main.e0c04552.js:2:316786
2610/Ji/<@http://37.60.246.203:8080/dhis-web-aggregate-data-entry/static/js/main.e0c04552.js:2:268165
384/t.unstable_runWithPriority@http://37.60.246.203:8080/dhis-web-aggregate-data-entry/static/js/main.e0c04552.js:2:393229
Qi@http://37.60.246.203:8080/dhis-web-aggregate-data-entry/static/js/main.e0c04552.js:2:267874
Ji@http://37.60.246.203:8080/dhis-web-aggregate-data-entry/static/js/main.e0c04552.js:2:268112
Gi@http://37.60.246.203:8080/dhis-web-aggregate-data-entry/static/js/main.e0c04552.js:2:268045
dl@http://37.60.246.203:8080/dhis-web-aggregate-data-entry/static/js/main.e0c04552.js:2:313552
xa@http://37.60.246.203:8080/dhis-web-aggregate-data-entry/static/js/main.e0c04552.js:2:285262
5506/u</</<@http://37.60.246.203:8080/dhis-web-aggregate-data-entry/static/js/3267.c2c3a6c2.chunk.js:2:538698
5805/batchCalls/i/<@http://37.60.246.203:8080/dhis-web-aggregate-data-entry/static/js/3267.c2c3a6c2.chunk.js:2:545135
n@http://37.60.246.203:8080/dhis-web-aggregate-data-entry/static/js/3267.c2c3a6c2.chunk.js:2:544814
5805/a/</</<@http://37.60.246.203:8080/dhis-web-aggregate-data-entry/static/js/3267.c2c3a6c2.chunk.js:2:544949
5805/a/</<@http://37.60.246.203:8080/dhis-web-aggregate-data-entry/static/js/3267.c2c3a6c2.chunk.js:2:544935
i@http://37.60.246.203:8080/dhis-web-aggregate-data-entry/static/js/3267.c2c3a6c2.chunk.js:2:544825
5805/a/<@http://37.60.246.203:8080/dhis-web-aggregate-data-entry/static/js/3267.c2c3a6c2.chunk.js:2:544926

in CUSTOM
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 @mugisha_alain : thanks for the report and sorry for the problem here.

It looks like you are using a custom form. It’s a bit hard to say what exactly the problem is with that error report, so it would be great if you could try to reproduce on one of our demo instances (DHIS 2 Demo - Sierra Leone).

From the error, it seems that there might be a data set that is defined as using a custom form, but where the id for the data entry form is missing. You might try as a first step to delete/add back the custom form via the maintenance app to see if that fixes the issue.

Otherwise, you could check the metadata by looking at the response from {YOUR_INSTANCE}/api/dataEntry/metadata and then looking at the dataSets property and seeing if the specific dataSet is missing information for dataEntryForm.