Uploaded image for project: 'Pentaho BA Platform'
  1. Pentaho BA Platform
  2. BISERVER-13981

Reporting bug on second print

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Severity: Unknown
    • Resolution: Duplicate
    • Affects Version/s: 7.0.0 GA, 7.1.0.12 GA, 8.0.0 GA, 8.1.0 GA
    • Fix Version/s: Backlog
    • Component/s: Report Generation
    • Labels:
      None
    • Story Points:
      0
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.
    • Browser:
      Google Chrome 10.x, Google Chrome 11.x, Google Chrome 12.x, Google Chrome 13.x, Google Chrome 14.x, Google Chrome 15.x, Google Chrome 16.x, Google Chrome 17.x, Google Chrome 18.x, Google Chrome 19.x, Google Chrome 20.x, Google Chrome 21.x, Google Chrome 22.x, Google Chrome 23.x, Google Chrome 24.x, Google Chrome 25.x, Google Chrome 26.x, Google Chrome 27.x, Google Chrome 28.x, Google Chrome 29.x, Google Chrome 30.x, Google Chrome 31.x, Google Chrome 32.x, Google Chrome 44.x, Google Chrome 45.x, Google Chrome 46.x, Google Chrome 47.x, Google Chrome 48.x, Internet Explorer 10.x , Internet Explorer 11.x, Internet Explorer 5.x, Internet Explorer 6.x, Internet Explorer 7.x, Internet Explorer 8.x, Internet Explorer 9.x, Mozilla FireFox 1.5, Mozilla Firefox 10.x, Mozilla Firefox 11.x, Mozilla Firefox 12.x, Mozilla Firefox 13.x, Mozilla Firefox 14.x, Mozilla Firefox 15.x, Mozilla Firefox 16.x, Mozilla Firefox 17.x, Mozilla Firefox 18.x, Mozilla Firefox 19.x, Mozilla FireFox 2.0, Mozilla Firefox 20.x, Mozilla Firefox 21.x, Mozilla Firefox 22.x, Mozilla Firefox 23.x, Mozilla Firefox 24.x, Mozilla Firefox 25.x, Mozilla Firefox 26.x, Mozilla Firefox 27.x, Mozilla Firefox 3.0, Mozilla Firefox 3.5, Mozilla Firefox 3.6, Mozilla Firefox 4.x, Mozilla Firefox 40.x, Mozilla Firefox 41.x, Mozilla Firefox 42.x, Mozilla Firefox 43.x, Mozilla Firefox 5.0.x, Mozilla Firefox 6.0.x, Mozilla Firefox 7.0.x, Mozilla Firefox 8.0.x, Mozilla Firefox 9.0.x, Netscape Navigator 7.x, Netscape Navigator 8.x, Opera 9.x, Safari (iPad iOS 5.0.x), Safari (iPad iOS 5.1.x), Safari (iPad iOS 8.x), Safari (iPad iOS 9.x), Safari 4.x, Safari 5.x, Safari 6.x, Safari 7.x, Safari 8.x, Safari 9.x
    • Steps to Reproduce:
      Hide

      there's a strange bug in the latest BA-SERVER platform (tested in 7.1 and 8.1)

      Step to reproduce:

      • publish a report with parameter and set the default output type as Excel (or even others file type output "application/rtf", "application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "text/csv", "mime-message/text/html")
      • access the ba-server but not with localhost:8080 so for example 10.232.1.49:8080/pentaho
      • open the report and set the parameter without touching output format
      • click view report for downloading the xls file
      • change the parameter and click view report again
        Result is white page and no file downloaded, you have to refresh the page to start back from pentaho home.

      Strangely enough if you access pentaho through localhost it works with the latest version of firefox but not with chrome.
      If you change the output type to a non-file output (so maybe html paginated) and you click view report, than you change back to excel and view report it works all the time.

      The problem is totally in the html/js page, because the server does not log anything, you can clearly see that the report is acquired through some GET and a final POST that start the file download.
      In the second run the report is correctly called, but the final POST is never sended from the client (the web page)

      I think the error is on reportviewer-app.js, maybe something when is called "_isDownloadableFormat" and timeout is checked...
      In BA-SERVER 6.1 everything works well, but when reportviewer-app.js were completely refactored since version 7 the problem is introduced.

      Show
      there's a strange bug in the latest BA-SERVER platform (tested in 7.1 and 8.1) Step to reproduce: publish a report with parameter and set the default output type as Excel (or even others file type output "application/rtf", "application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "text/csv", "mime-message/text/html") access the ba-server but not with localhost:8080 so for example 10.232.1.49:8080/pentaho open the report and set the parameter without touching output format click view report for downloading the xls file change the parameter and click view report again Result is white page and no file downloaded, you have to refresh the page to start back from pentaho home. Strangely enough if you access pentaho through localhost it works with the latest version of firefox but not with chrome. If you change the output type to a non-file output (so maybe html paginated) and you click view report, than you change back to excel and view report it works all the time. The problem is totally in the html/js page, because the server does not log anything, you can clearly see that the report is acquired through some GET and a final POST that start the file download. In the second run the report is correctly called, but the final POST is never sended from the client (the web page) I think the error is on reportviewer-app.js, maybe something when is called "_isDownloadableFormat" and timeout is checked... In BA-SERVER 6.1 everything works well, but when reportviewer-app.js were completely refactored since version 7 the problem is introduced.

      Description

      if you run two report with the same file format (ie excel) the second run freeze the page if you are not on localhost:8080

        Attachments

          Activity

            People

            Assignee:
            clopez Carlos Lopez
            Reporter:
            reg4arz reg4arz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: