Unable to download .png or .pdf Chart if indicator starts with a <

Some of our indicators are prefixed with >5 or <5. When they are named like this they act normally when updating / loading the chart, but there is an error when the user tries to download the produced chart as a png or pdf file. Renaming the indicators to U5... and O5... etc solves the problem. We are currently running Version 2.9 (build 7976), but I have since replicated the issue on the dhis2 demo server (v2.10, build 9136). Is this a known bug or is there a reason why starting an indicator name with a symbol (haven't tested any others yet though) is not allowed?

Thanks in advance...
Dan

Hi Dan,

could you please create such a chart on the demo server and post the link? Will investigate.

Hint: to get the link, load the favorite, click “share” and copy the link from there.

Lars

···

On Thu, Jan 24, 2013 at 12:11 PM, Daniel Bridges dbridges@akrosresearch.com wrote:

Some of our indicators are prefixed with >5 or <5. When they are named like this they act normally when updating / loading the chart, but there is an error when the user tries to download the produced chart as a png or pdf file. Renaming the indicators to U5… and O5… etc solves the problem. We are currently running Version 2.9 (build 7976), but I have since replicated the issue on the dhis2 demo server (v2.10, build 9136). Is this a known bug or is there a reason why starting an indicator name with a symbol (haven’t tested any others yet though) is not allowed?

Thanks in advance…

Dan


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Sure thing. Have saved the chart as a system chart called
‘Indicator starting with <5’…

···

On 24/01/13 13:49, Lars Helge Øverland
wrote:

Hi Dan,

    could you please create such a chart on the demo server and

post the link? Will investigate.

    Hint: to get the link, load the favorite, click "share" and

copy the link from there.

Lars

      On Thu, Jan 24, 2013 at 12:11 PM,

Daniel Bridges dbridges@akrosresearch.com
wrote:

        Some of

our indicators are prefixed with >5 or <5. When they
are named like this they act normally when updating /
loading the chart, but there is an error when the user tries
to download the produced chart as a png or pdf file.
Renaming the indicators to U5… and O5… etc solves the
problem. We are currently running Version 2.9 (build 7976),
but I have since replicated the issue on the dhis2 demo
server (v2.10, build 9136). Is this a known bug or is there
a reason why starting an indicator name with a symbol
(haven’t tested any others yet though) is not allowed?

        Thanks in advance...

        Dan



        _______________________________________________

        Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

        Post to     : dhis2-users@lists.launchpad.net

        Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

        More help   : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)

You are right. It works in Chrome but fails in Firefox. Funny. We will look into it. Bug report here:

https://bugs.launchpad.net/dhis2/+bug/1103971

···

On Thu, Jan 24, 2013 at 12:53 PM, Daniel Bridges dbridges@akrosresearch.com wrote:

Sure thing. Have saved the chart as a system chart called  'Indicator starting with <5'....

  On 24/01/13 13:49, Lars Helge Øverland wrote:

Hi Dan,

    could you please create such a chart on the demo server and post the link? Will investigate.
    Hint: to get the link, load the favorite, click "share" and copy the link from there.

Lars

      On Thu, Jan 24, 2013 at 12:11 PM, Daniel Bridges <dbridges@akrosresearch.com> > >           wrote:
        Some of our indicators are prefixed with >5 or <5. When they are named like this they act normally when updating / loading the chart, but there is an error when the user tries to download the produced chart as a png or pdf file. Renaming the indicators to U5... and O5... etc solves the problem. We are currently running Version 2.9 (build 7976), but I have since replicated the issue on the dhis2 demo server (v2.10, build 9136). Is this a known bug or is there a reason why starting an indicator name with a symbol (haven't tested any others yet though) is not allowed?



        Thanks in advance...

        Dan



        _______________________________________________

        Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

        Post to     : dhis2-users@lists.launchpad.net

        Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

        More help   : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)

Potentially related bug as well.

https://bugs.launchpad.net/dhis2/+bug/733840

···

On Thu, Jan 24, 2013 at 2:58 PM, Lars Helge Øverland larshelge@gmail.com wrote:

You are right. It works in Chrome but fails in Firefox. Funny. We will look into it. Bug report here:

https://bugs.launchpad.net/dhis2/+bug/1103971

On Thu, Jan 24, 2013 at 12:53 PM, Daniel Bridges dbridges@akrosresearch.com wrote:

Sure thing. Have saved the chart as a system chart called  'Indicator starting with <5'....

  On 24/01/13 13:49, Lars Helge Øverland wrote:

Hi Dan,

    could you please create such a chart on the demo server and post the link? Will investigate.
    Hint: to get the link, load the favorite, click "share" and copy the link from there.

Lars

      On Thu, Jan 24, 2013 at 12:11 PM, Daniel Bridges <dbridges@akrosresearch.com>
      wrote:
        Some of our indicators are prefixed with >5 or <5. When they are named like this they act normally when updating / loading the chart, but there is an error when the user tries to download the produced chart as a png or pdf file. Renaming the indicators to U5... and O5... etc solves the problem. We are currently running Version 2.9 (build 7976), but I have since replicated the issue on the dhis2 demo server (v2.10, build 9136). Is this a known bug or is there a reason why starting an indicator name with a symbol (haven't tested any others yet though) is not allowed?



        Thanks in advance...

        Dan



        _______________________________________________

        Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

        Post to     : dhis2-users@lists.launchpad.net

        Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

        More help   : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)

Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

The svg produced by Chrome has &lt5; while Firefox just puts <5. Batik (server lib converting svg til png) does not accept that. I guess this means that any chart that has an item with < or > in the name cannot be downloaded from Firefox. D’oh!

Need to think about this one.

···

On Thu, Jan 24, 2013 at 2:58 PM, Lars Helge Øverland larshelge@gmail.com wrote:

You are right. It works in Chrome but fails in Firefox. Funny. We will look into it. Bug report here:

https://bugs.launchpad.net/dhis2/+bug/1103971

On Thu, Jan 24, 2013 at 12:53 PM, Daniel Bridges dbridges@akrosresearch.com wrote:

Sure thing. Have saved the chart as a system chart called  'Indicator starting with <5'....

  On 24/01/13 13:49, Lars Helge Øverland wrote:

Hi Dan,

    could you please create such a chart on the demo server and post the link? Will investigate.
    Hint: to get the link, load the favorite, click "share" and copy the link from there.

Lars

      On Thu, Jan 24, 2013 at 12:11 PM, Daniel Bridges <dbridges@akrosresearch.com>
      wrote:
        Some of our indicators are prefixed with >5 or <5. When they are named like this they act normally when updating / loading the chart, but there is an error when the user tries to download the produced chart as a png or pdf file. Renaming the indicators to U5... and O5... etc solves the problem. We are currently running Version 2.9 (build 7976), but I have since replicated the issue on the dhis2 demo server (v2.10, build 9136). Is this a known bug or is there a reason why starting an indicator name with a symbol (haven't tested any others yet though) is not allowed?



        Thanks in advance...

        Dan



        _______________________________________________

        Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

        Post to     : dhis2-users@lists.launchpad.net

        Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

        More help   : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)

Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

<5 instead of &lt5; of course.

···

On Thu, Jan 24, 2013 at 2:58 PM, Lars Helge Øverland larshelge@gmail.com wrote:

You are right. It works in Chrome but fails in Firefox. Funny. We will look into it. Bug report here:

https://bugs.launchpad.net/dhis2/+bug/1103971

On Thu, Jan 24, 2013 at 12:53 PM, Daniel Bridges dbridges@akrosresearch.com wrote:

Sure thing. Have saved the chart as a system chart called  'Indicator starting with <5'....

  On 24/01/13 13:49, Lars Helge Øverland wrote:

Hi Dan,

    could you please create such a chart on the demo server and post the link? Will investigate.
    Hint: to get the link, load the favorite, click "share" and copy the link from there.

Lars

      On Thu, Jan 24, 2013 at 12:11 PM, Daniel Bridges <dbridges@akrosresearch.com>
      wrote:
        Some of our indicators are prefixed with >5 or <5. When they are named like this they act normally when updating / loading the chart, but there is an error when the user tries to download the produced chart as a png or pdf file. Renaming the indicators to U5... and O5... etc solves the problem. We are currently running Version 2.9 (build 7976), but I have since replicated the issue on the dhis2 demo server (v2.10, build 9136). Is this a known bug or is there a reason why starting an indicator name with a symbol (haven't tested any others yet though) is not allowed?



        Thanks in advance...

        Dan



        _______________________________________________

        Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

        Post to     : dhis2-users@lists.launchpad.net

        Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

        More help   : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)

Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp