Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-1852

Chart does not remain in Tomcat temp path for printing -> Chart can't be printed out

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Low Low (View bug fix roadmap)
    • 4.2.2
    • Release 3.8, 4.2
    • None
    • Tomcat 6.0.20

      We choose "Print Chart" in the Chart view. A popup opens and the chart appears as an pnp file in a popup window. We copied out the location of the pnp through properties window, it e.g. says:

      http://our.server:8080/jira/charts?filename=jfreechart-onetime-1881258128115079115.png

      Copiing this to a browser window results in an error like:

      Cause: 
      javax.servlet.ServletException: File 'C:\Program Files\Apache Software Foundation\Tomcat 6.0\temp\jfreechart-onetime-1881258128115079115.png' does not exist 
      

      It seems that the pnp is temorary saved in Tomcats temp folder, we looked at the server and saw the filename appear for a second in the temp directory, but than it disappears!
      A Tomcat issue or what could we do? Appears in Jira 3.13.5 & Jira 4.0.1 Test on Greenhopper 3.8 & 4.2.

      Thanks a lot!

          Form Name

            [JSWSERVER-1852] Chart does not remain in Tomcat temp path for printing -> Chart can't be printed out

            blank chart

            Hansrudi Ruoss added a comment - blank chart

            Hi JC,
            we just want to print the chart. The workflow which Michael describe was just a workaround.

            Following scenario I have:
            1) go into Jira
            2) switch to Greenhopper view
            3) select the chart board perspective
            4) click on "Print chart"
            5) the print dialog is opening
            6) click on print
            7) get a blank page on the printer, see attachment.

            Thanks
            HR

            Hansrudi Ruoss added a comment - Hi JC, we just want to print the chart. The workflow which Michael describe was just a workaround. Following scenario I have: 1) go into Jira 2) switch to Greenhopper view 3) select the chart board perspective 4) click on "Print chart" 5) the print dialog is opening 6) click on print 7) get a blank page on the printer, see attachment. Thanks HR

            JC added a comment -

            Hi Michael,

            This is the expected behavior.
            The Charts are only generated for a single display else the "temp" directory of Tomcat would be infected by GreenHopper's pngs.

            The print chart should be popping the browser print mechanism.
            Why would you like to copy the link?

            If I can understand what you are trying to achieve I might have a better solution for you.

            Cheers,
            JC

            JC added a comment - Hi Michael, This is the expected behavior. The Charts are only generated for a single display else the "temp" directory of Tomcat would be infected by GreenHopper's pngs. The print chart should be popping the browser print mechanism. Why would you like to copy the link? If I can understand what you are trying to achieve I might have a better solution for you. Cheers, JC

              Unassigned Unassigned
              9168e3332326 Michael Michael
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: