dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #41647
Re: [Bug 1515621] Re: standard reports default to data.pdf link
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@xxxxxxxxx>
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@xxxxxx> 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@xxxxxxxxx>:
>> >
>> > 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 [
>> https://apps.dhis2.org/demo/
>> > *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 [https://apps.dhis2.org/demo/
>> > *api/reports/Cb2BcgxBUPz/data.pdf?*pe=2015&ou=ImspTQPwCqd]
>> > 5. [Immunization: Overview (HTML-based with SVG)] redirects to [
>> > https://apps.dhis2.org/demo/*api/reports/fqERdm6UtkI/data.pdf?*
>> > 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@xxxxxxxxx>
>> > 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: https://launchpad.net/~dhis2-devs
>> > Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> > Unsubscribe : https://launchpad.net/~dhis2-devs
>> > More help : https://help.launchpad.net/ListHelp
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help : https://help.launchpad.net/ListHelp
>>
>
>
>
> --
> 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: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help : https://help.launchpad.net/ListHelp
>
>
References