dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #40994
[Bug 1479858] Re: Relative periods (Reporting Month, month this year) in Standard Reports returns wrong periods
** Changed in: dhis2
Status: New => In Progress
** Changed in: dhis2
Assignee: (unassigned) => John Francis Mukulu (john-f-mukulu)
--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1479858
Title:
Relative periods (Reporting Month, month this year) in Standard
Reports returns wrong periods
Status in DHIS:
In Progress
Bug description:
Relative periods (Reporting Month, month this year) in Standard
Reports returns wrong periods.
For example:
When you edit a standard report, tick reporting month and save. When you run the report, it returns the chosen period minus one e.g July 2015 will return data of June 2015 (201506 as a period when using the web browser console).
Also the relative period save on return to edit the report is unchecked.
Checking analytics, everything works as expected.
I went ahead check the database for relative periods table "relativeperiods", many new relativeperiodsids are generated instead of using the existing ones and are set null instead of either true or false.
This affects version 2.19, tested on dhis2 demo, on my own
test/production server build revision 19266 and several build
revisions below.
The reports tested with a HTML reports.
To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1479858/+subscriptions
References