[Bug 1515621] [NEW] standard reports default to data.pdf link

Public bug reported:

Users cannot run standard reports as dhis2 (under revision 20884)
defaults to .../api/reports/{REPORT_UID}/data.pdf?

URL "dhis-web-reporting/getReportParams.action" jumps to
"api/reports/{REPORT_UID}/data.pdf?" and no longer executes page
"generateHtmlReport.action"

** Affects: dhis2
     Importance: Undecided
         Status: New

···

--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1515621

Title:
  standard reports default to data.pdf link

Status in DHIS:
  New

Bug description:
  Users cannot run standard reports as dhis2 (under revision 20884)
  defaults to .../api/reports/{REPORT_UID}/data.pdf?

  URL "dhis-web-reporting/getReportParams.action" jumps to
  "api/reports/{REPORT_UID}/data.pdf?" and no longer executes page
  "generateHtmlReport.action"

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1515621/+subscriptions

I cannot reproduce this. Can you reproduce on demo?

This could be due to invalid "ReportType". Please check that the report
type is "HTML" in the database.

···

--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1515621

Title:
  standard reports default to data.pdf link

Status in DHIS:
  New

Bug description:
  Users cannot run standard reports as dhis2 (under revision 20884)
  defaults to .../api/reports/{REPORT_UID}/data.pdf?

  URL "dhis-web-reporting/getReportParams.action" jumps to
  "api/reports/{REPORT_UID}/data.pdf?" and no longer executes page
  "generateHtmlReport.action"

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1515621/+subscriptions

Hi Lars

I've tested on demo with the same results. Each and every standard report
on demo (after choosing criteria) default to '
*api/reports/{REPORT_UID}/data.pdf?'*

1. [ANC: 1st Visit Cumulative Chart] redirects to [
https://apps.dhis2.org/demo/*api/reports/Kvg1AhYHM8Q/data.pdf?*
ou=ImspTQPwCqd]
2. [ANC: Coverages This Year] redirects to [DHIS2 App Hub
*api/reports/qYVNH1wkZR0/data.pdf?*pe=2015&ou=ImspTQPwCqd]
3. [ANC: Overview Report (HTML-based)] redirects to [
https://apps.dhis2.org/demo/*api/reports/AMERNML55Tg/data.pdf?*pe=201511&\]
4. [ANC: Visits This Year] redirects to [DHIS2 App Hub
*api/reports/Cb2BcgxBUPz/data.pdf?*pe=2015&ou=ImspTQPwCqd]
5. [Immunization: Overview (HTML-based with SVG)] redirects to [
DHIS2 App Hub*
ou=ImspTQPwCqd]
6. [Immunization: Raw data by district and chiefdom (SQL-based)] redirects to
[https://apps.dhis2.org/demo/*api/reports/otkxwN7Jd5o/data.pdf?*
pe=201511&ou=ImspTQPwCqd]
7. [Nutrition: Breastfeeding and malnutrition] redirects to [
DHIS2 App Hub*
ou=ImspTQPwCqd]

demo site lists 3 + 5 both as type HTML but all 7 reports default to
data.pdf output for some reason.

···

On Fri, Nov 13, 2015 at 2:20 PM, Lars Helge Øverland <larshelge@gmail.com> wrote:

I cannot reproduce this. Can you reproduce on demo?

This could be due to invalid "ReportType". Please check that the report
type is "HTML" in the database.

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1515621

Title:
  standard reports default to data.pdf link

Status in DHIS:
  New

Bug description:
  Users cannot run standard reports as dhis2 (under revision 20884)
  defaults to .../api/reports/{REPORT_UID}/data.pdf?

  URL "dhis-web-reporting/getReportParams.action" jumps to
  "api/reports/{REPORT_UID}/data.pdf?" and no longer executes page
  "generateHtmlReport.action"

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1515621/+subscriptions

--
*Health Information Systems Program - South Africa*
*- - - - - - - **- - - - - - - **- - - - - - - **- - - - - - - **- - - - - *
Mobile : 073 246 2992
Landline: 021 554 3130
Fax: 086 733 8432
Skype: gregory_rowles

--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1515621

Title:
  standard reports default to data.pdf link

Status in DHIS:
  New

Bug description:
  Users cannot run standard reports as dhis2 (under revision 20884)
  defaults to .../api/reports/{REPORT_UID}/data.pdf?

  URL "dhis-web-reporting/getReportParams.action" jumps to
  "api/reports/{REPORT_UID}/data.pdf?" and no longer executes page
  "generateHtmlReport.action"

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1515621/+subscriptions

Hi,
I can confirm this, seeing the same thing on a different database.

Olav

···

13. nov. 2015 kl. 14.04 skrev Greg <greg.rowles@gmail.com>:

Hi Lars

I've tested on demo with the same results. Each and every standard report
on demo (after choosing criteria) default to '
*api/reports/{REPORT_UID}/data.pdf?'*

1. [ANC: 1st Visit Cumulative Chart] redirects to [
https://apps.dhis2.org/demo/*api/reports/Kvg1AhYHM8Q/data.pdf?*
ou=ImspTQPwCqd]
2. [ANC: Coverages This Year] redirects to [DHIS2 App Hub
*api/reports/qYVNH1wkZR0/data.pdf?*pe=2015&ou=ImspTQPwCqd]
3. [ANC: Overview Report (HTML-based)] redirects to [
https://apps.dhis2.org/demo/*api/reports/AMERNML55Tg/data.pdf?*pe=201511&\]
4. [ANC: Visits This Year] redirects to [DHIS2 App Hub
*api/reports/Cb2BcgxBUPz/data.pdf?*pe=2015&ou=ImspTQPwCqd]
5. [Immunization: Overview (HTML-based with SVG)] redirects to [
DHIS2 App Hub*
ou=ImspTQPwCqd]
6. [Immunization: Raw data by district and chiefdom (SQL-based)] redirects to
[https://apps.dhis2.org/demo/*api/reports/otkxwN7Jd5o/data.pdf?*
pe=201511&ou=ImspTQPwCqd]
7. [Nutrition: Breastfeeding and malnutrition] redirects to [
DHIS2 App Hub*
ou=ImspTQPwCqd]

demo site lists 3 + 5 both as type HTML but all 7 reports default to
data.pdf output for some reason.

On Fri, Nov 13, 2015 at 2:20 PM, Lars Helge Øverland <larshelge@gmail.com> > wrote:

I cannot reproduce this. Can you reproduce on demo?

This could be due to invalid "ReportType". Please check that the report
type is "HTML" in the database.

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1515621

Title:
standard reports default to data.pdf link

Status in DHIS:
New

Bug description:
Users cannot run standard reports as dhis2 (under revision 20884)
defaults to .../api/reports/{REPORT_UID}/data.pdf?

URL "dhis-web-reporting/getReportParams.action" jumps to
"api/reports/{REPORT_UID}/data.pdf?" and no longer executes page
"generateHtmlReport.action"

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1515621/+subscriptions

--
*Health Information Systems Program - South Africa*
*- - - - - - - **- - - - - - - **- - - - - - - **- - - - - - - **- - - - - *
Mobile : 073 246 2992
Landline: 021 554 3130
Fax: 086 733 8432
Skype: gregory_rowles

--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1515621

Title:
standard reports default to data.pdf link

Status in DHIS:
New

Bug description:
Users cannot run standard reports as dhis2 (under revision 20884)
defaults to .../api/reports/{REPORT_UID}/data.pdf?

URL "dhis-web-reporting/getReportParams.action" jumps to
"api/reports/{REPORT_UID}/data.pdf?" and no longer executes page
"generateHtmlReport.action"

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1515621/+subscriptions

_______________________________________________
Mailing list: DHIS 2 developers in Launchpad
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : DHIS 2 developers in Launchpad
More help : ListHelp - Launchpad Help

--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1515621

Title:
  standard reports default to data.pdf link

Status in DHIS:
  New

Bug description:
  Users cannot run standard reports as dhis2 (under revision 20884)
  defaults to .../api/reports/{REPORT_UID}/data.pdf?

  URL "dhis-web-reporting/getReportParams.action" jumps to
  "api/reports/{REPORT_UID}/data.pdf?" and no longer executes page
  "generateHtmlReport.action"

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1515621/+subscriptions

Hi,

I can also confirm this, from v2.21 Rev: 20901 running a different
database.

All HTML standard reports redirects as reported above.

Also looks like JS dhis2 object is inaccessible. Console keeps
throwing *"Uncaught
ReferenceError: dhis2 is not defined".*

Ismail

···

On Thu, Nov 26, 2015 at 9:24 PM, Olav Poppe <olav.poppe@me.com> wrote:

Hi,
I can confirm this, seeing the same thing on a different database.

Olav

> 13. nov. 2015 kl. 14.04 skrev Greg <greg.rowles@gmail.com>:
>
> Hi Lars
>
> I've tested on demo with the same results. Each and every standard report
> on demo (after choosing criteria) default to '
> *api/reports/{REPORT_UID}/data.pdf?'*
>
> 1. [ANC: 1st Visit Cumulative Chart] redirects to [
> https://apps.dhis2.org/demo/*api/reports/Kvg1AhYHM8Q/data.pdf?*
> ou=ImspTQPwCqd]
> 2. [ANC: Coverages This Year] redirects to [DHIS2 App Hub
> *api/reports/qYVNH1wkZR0/data.pdf?*pe=2015&ou=ImspTQPwCqd]
> 3. [ANC: Overview Report (HTML-based)] redirects to [
>
DHIS2 App Hub]
> 4. [ANC: Visits This Year] redirects to [DHIS2 App Hub
> *api/reports/Cb2BcgxBUPz/data.pdf?*pe=2015&ou=ImspTQPwCqd]
> 5. [Immunization: Overview (HTML-based with SVG)] redirects to [
> DHIS2 App Hub*
> ou=ImspTQPwCqd]
> 6. [Immunization: Raw data by district and chiefdom (SQL-based)]
redirects to
> [https://apps.dhis2.org/demo/*api/reports/otkxwN7Jd5o/data.pdf?*
> pe=201511&ou=ImspTQPwCqd]
> 7. [Nutrition: Breastfeeding and malnutrition] redirects to [
> DHIS2 App Hub*
> ou=ImspTQPwCqd]
>
> demo site lists 3 + 5 both as type HTML but all 7 reports default to
> data.pdf output for some reason.
>
> On Fri, Nov 13, 2015 at 2:20 PM, Lars Helge Øverland < > larshelge@gmail.com> > > wrote:
>
>> I cannot reproduce this. Can you reproduce on demo?
>>
>> This could be due to invalid "ReportType". Please check that the report
>> type is "HTML" in the database.
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/1515621
>>
>> Title:
>> standard reports default to data.pdf link
>>
>> Status in DHIS:
>> New
>>
>> Bug description:
>> Users cannot run standard reports as dhis2 (under revision 20884)
>> defaults to .../api/reports/{REPORT_UID}/data.pdf?
>>
>> URL "dhis-web-reporting/getReportParams.action" jumps to
>> "api/reports/{REPORT_UID}/data.pdf?" and no longer executes page
>> "generateHtmlReport.action"
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/dhis2/+bug/1515621/+subscriptions
>>
>
>
> --
> *Health Information Systems Program - South Africa*
> *- - - - - - - **- - - - - - - **- - - - - - - **- - - - - - - **- - - -
- *
> Mobile : 073 246 2992
> Landline: 021 554 3130
> Fax: 086 733 8432
> Skype: gregory_rowles
>
> --
> You received this bug notification because you are a member of DHIS 2
> developers, which is subscribed to DHIS.
> https://bugs.launchpad.net/bugs/1515621
>
> Title:
> standard reports default to data.pdf link
>
> Status in DHIS:
> New
>
> Bug description:
> Users cannot run standard reports as dhis2 (under revision 20884)
> defaults to .../api/reports/{REPORT_UID}/data.pdf?
>
> URL "dhis-web-reporting/getReportParams.action" jumps to
> "api/reports/{REPORT_UID}/data.pdf?" and no longer executes page
> "generateHtmlReport.action"
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dhis2/+bug/1515621/+subscriptions
>
> _______________________________________________
> Mailing list: DHIS 2 developers in Launchpad
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : DHIS 2 developers in Launchpad
> More help : ListHelp - Launchpad Help

_______________________________________________
Mailing list: DHIS 2 developers in Launchpad
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : DHIS 2 developers in Launchpad
More help : ListHelp - Launchpad Help

--
Ismail Yusuf Koleleni,
Computer Science and Engineering Department
College of Information and Communication Technology (CoICT)
University of Dar es Salaam
Skype: e_smile1

--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1515621

Title:
  standard reports default to data.pdf link

Status in DHIS:
  New

Bug description:
  Users cannot run standard reports as dhis2 (under revision 20884)
  defaults to .../api/reports/{REPORT_UID}/data.pdf?

  URL "dhis-web-reporting/getReportParams.action" jumps to
  "api/reports/{REPORT_UID}/data.pdf?" and no longer executes page
  "generateHtmlReport.action"

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1515621/+subscriptions

Hi

I can confirm that this bug existed on 2.21 (not trunk). I have made a fix
available in 2.21 rev 20926. Please try it out.

···

--
Morten

On Fri, Nov 27, 2015 at 4:34 PM, Ismail Yusuf <ismailkoleleni@gmail.com> wrote:

Hi,

I can also confirm this, from v2.21 Rev: 20901 running a different
database.

All HTML standard reports redirects as reported above.

Also looks like JS dhis2 object is inaccessible. Console keeps throwing *"Uncaught
ReferenceError: dhis2 is not defined".*

Ismail

On Thu, Nov 26, 2015 at 9:24 PM, Olav Poppe <olav.poppe@me.com> wrote:

Hi,
I can confirm this, seeing the same thing on a different database.

Olav

> 13. nov. 2015 kl. 14.04 skrev Greg <greg.rowles@gmail.com>:
>
> Hi Lars
>
> I've tested on demo with the same results. Each and every standard
report
> on demo (after choosing criteria) default to '
> *api/reports/{REPORT_UID}/data.pdf?'*
>
> 1. [ANC: 1st Visit Cumulative Chart] redirects to [
> https://apps.dhis2.org/demo/*api/reports/Kvg1AhYHM8Q/data.pdf?*
> ou=ImspTQPwCqd]
> 2. [ANC: Coverages This Year] redirects to [
DHIS2 App Hub
> *api/reports/qYVNH1wkZR0/data.pdf?*pe=2015&ou=ImspTQPwCqd]
> 3. [ANC: Overview Report (HTML-based)] redirects to [
>
DHIS2 App Hub
]
> 4. [ANC: Visits This Year] redirects to [DHIS2 App Hub
> *api/reports/Cb2BcgxBUPz/data.pdf?*pe=2015&ou=ImspTQPwCqd]
> 5. [Immunization: Overview (HTML-based with SVG)] redirects to [
> DHIS2 App Hub*
> ou=ImspTQPwCqd]
> 6. [Immunization: Raw data by district and chiefdom (SQL-based)]
redirects to
> [https://apps.dhis2.org/demo/*api/reports/otkxwN7Jd5o/data.pdf?*
> pe=201511&ou=ImspTQPwCqd]
> 7. [Nutrition: Breastfeeding and malnutrition] redirects to [
> https://apps.dhis2.org/demo/*api/reports/hUMx9D1e5a1/data.pdf?*
> ou=ImspTQPwCqd]
>
> demo site lists 3 + 5 both as type HTML but all 7 reports default to
> data.pdf output for some reason.
>
> On Fri, Nov 13, 2015 at 2:20 PM, Lars Helge Øverland < >> larshelge@gmail.com> >> > wrote:
>
>> I cannot reproduce this. Can you reproduce on demo?
>>
>> This could be due to invalid "ReportType". Please check that the report
>> type is "HTML" in the database.
>>
>> --
>> You received this bug notification because you are subscribed to the
bug
>> report.
>> https://bugs.launchpad.net/bugs/1515621
>>
>> Title:
>> standard reports default to data.pdf link
>>
>> Status in DHIS:
>> New
>>
>> Bug description:
>> Users cannot run standard reports as dhis2 (under revision 20884)
>> defaults to .../api/reports/{REPORT_UID}/data.pdf?
>>
>> URL "dhis-web-reporting/getReportParams.action" jumps to
>> "api/reports/{REPORT_UID}/data.pdf?" and no longer executes page
>> "generateHtmlReport.action"
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/dhis2/+bug/1515621/+subscriptions
>>
>
>
> --
> *Health Information Systems Program - South Africa*
> *- - - - - - - **- - - - - - - **- - - - - - - **- - - - - - - **- - -
- - *
> Mobile : 073 246 2992
> Landline: 021 554 3130
> Fax: 086 733 8432
> Skype: gregory_rowles
>
> --
> You received this bug notification because you are a member of DHIS 2
> developers, which is subscribed to DHIS.
> https://bugs.launchpad.net/bugs/1515621
>
> Title:
> standard reports default to data.pdf link
>
> Status in DHIS:
> New
>
> Bug description:
> Users cannot run standard reports as dhis2 (under revision 20884)
> defaults to .../api/reports/{REPORT_UID}/data.pdf?
>
> URL "dhis-web-reporting/getReportParams.action" jumps to
> "api/reports/{REPORT_UID}/data.pdf?" and no longer executes page
> "generateHtmlReport.action"
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dhis2/+bug/1515621/+subscriptions
>
> _______________________________________________
> Mailing list: DHIS 2 developers in Launchpad
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : DHIS 2 developers in Launchpad
> More help : ListHelp - Launchpad Help

_______________________________________________
Mailing list: DHIS 2 developers in Launchpad
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : DHIS 2 developers in Launchpad
More help : ListHelp - Launchpad Help

--
Ismail Yusuf Koleleni,
Computer Science and Engineering Department
College of Information and Communication Technology (CoICT)
University of Dar es Salaam
Skype: e_smile1

_______________________________________________
Mailing list: DHIS 2 developers in Launchpad
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : DHIS 2 developers in Launchpad
More help : ListHelp - Launchpad Help

** Changed in: dhis2
     Assignee: (unassigned) => Morten Olav Hansen (mortenoh)

** Changed in: dhis2
   Importance: Undecided => Low

** Changed in: dhis2
       Status: New => Fix Committed

** Changed in: dhis2
       Status: Fix Committed => Fix Released

** Changed in: dhis2
    Milestone: None => 2.22

--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1515621

Title:
  standard reports default to data.pdf link

Status in DHIS:
  Fix Released

Bug description:
  Users cannot run standard reports as dhis2 (under revision 20884)
  defaults to .../api/reports/{REPORT_UID}/data.pdf?

  URL "dhis-web-reporting/getReportParams.action" jumps to
  "api/reports/{REPORT_UID}/data.pdf?" and no longer executes page
  "generateHtmlReport.action"

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1515621/+subscriptions