← Back to team overview

dhis2-devs team mailing list archive

[Bug 1479858] Re: Relative periods (Reporting Month, month this year) in Standard Reports returns wrong periods

 

Bug introduced on release of  This relative period on version 2.19,
Standard report parameters where saved to last relative period causing
choices to be dated back by one period.

On release of 2.21 Change of Report enum type "html" to "HTML" caused html report to be redirected pdf generation.
Both issues fixed.

** Changed in: dhis2
       Status: In Progress => Fix Committed

-- 
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:
  Fix Committed

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


Follow ups

References