← Back to team overview

dhis2-devs team mailing list archive

Event report tables added to dashboards are displayed 'blank' when period is selected as Start-End dates (2.25)

 

Hi!


We have noticed (tested in https://play.dhis2.org) that any event report
table that is defined with a period type *'Start/end dates'* instead of*
'Fixed and relative periods' *is displayed 'blank' when added to a
dashboard (see image below).


[image: Inline image 1]

The error generated is:


{"httpStatus":"Conflict","httpStatusCode":409,"status":"ERROR","message":"Start
date or end date is invalid: 2016-07-24T00:00:00.000 -
2016-10-24T00:00:00.000"}


It seems to be related to date format, since removing the bold text in
the original query (see below), it works!

https://play.dhis2.org/demo/api/analytics/events/query/eBAyeGv0exc.json?stage=Zj7UnCAulEk&dimension=ou:O6uvpzGd5pu&dimension=eMyVanycQSC&dimension=qrur9Dvnyt5-Yf6UHoPkdS6&dimension=tUdBD1JDxpn&dimension=sGna2pquXOO&dimension=Kswd1r4qWLh&dimension=gWxh7DiRmG7&dimension=x7PaHGvgWY2&dimension=XCMi7Wvnplm&dimension=hlPt8H4bUOQ&dimension=Thkx2BnO5Kq&dimension=Y7hKDSuqEtH&dimension=K6uUAvq500H&dimension=msodh3rEMJa&dimension=oZg33kd9taw&dimension=GieVkTxp4HH-TBxGTceyzwy&dimension=HS8QXAJtuKV&dimension=fWIAEtYVEGk&dimension=SWfdB5lX0fk&dimension=vV9UWAZohSf-OrkEzxZEH4X&startDate=2016-07-24*T00:00:00.000*&endDate=2016-10-24*T00:00:00.000*&pageSize=50&page=1&displayProperty=NAME


Cheers!

Alejandro

PNG image


Follow ups