← Back to team overview

dhis2-devs team mailing list archive

Possible bugs in dashboardItems resource in web API

 

Hello team,

I have encountered strange bugs during development of android app for DHIS
dashboard:

1) Some of items at (api/dashboardItems) are orphan: They are not assigned
to any dashboards. Example:
https://apps.dhis2.org/demo/api/dashboardItems/KKBS6R9z51r

2) Some of items do not contain "type" field and any values. Example:
https://apps.dhis2.org/demo/api/dashboardItems/kLTvS9ExDwU

3) Some if dashboard items reference resources which do not exist:

For example: https://apps.dhis2.org/demo/api/dashboardItems/Gj1qGfxysCm
contains report: Kvg1AhYHM8Q which does not exist in list of
https://apps.dhis2.org/demo/api/reports.

Is this normal behaviour? If yes, which rules should I follow when working
with dashboard items?

Best Regards,
Araz

Follow ups