← Back to team overview

dhis2-devs team mailing list archive

Re: Possible bugs in dashboardItems resource in web API

 

Hi Lars, 
not sure if it’s a demo database issue. Not sure if it’s the same, but it’s at least similar to what I reported as a bug some time ago: https://bugs.launchpad.net/dhis2/+bug/1415434 <https://bugs.launchpad.net/dhis2/+bug/1415434>

Olav


> 11. jun. 2015 kl. 23.36 skrev Lars Helge Øverland <larshelge@xxxxxxxxx <mailto:larshelge@xxxxxxxxx>>:
> 
> On Thu, Jun 11, 2015 at 11:21 AM, Araz Abishov <araz.abishov.gsoc@xxxxxxxxx <mailto:araz.abishov.gsoc@xxxxxxxxx>> wrote:
> 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 <https://apps.dhis2.org/demo/api/dashboardItems/KKBS6R9z51r>
> 
> Yes this must be some left-overs in the demo database from upgrades over the years. Please ignore this. I assume that in your local database you first load a dashboard, then the related items, so you should never read those orphaned items. I think its up the server / DHIS 2 to clean this up and the client should be robust enough to ignore them.


References