Uploaded image for project: 'Pentaho Reporting and Pentaho Report Designer'
  1. Pentaho Reporting and Pentaho Report Designer
  2. PRD-5663

Progress Bar: status is WORKING in case report generation failed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Severity: Unknown
    • Resolution: Fixed
    • Affects Version/s: 6.1.0 GA
    • Fix Version/s: 6.1.0 GA
    • 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.
    • Steps to Reproduce:
      Hide

      Pre-condition: async mode is true.
      1. Start PRD
      2. Open the attached report, publish it to server.
      3. Open the report in PUC - > progress bar appears showing WORKING status
      4. Open Network Monitor in browser-> The report job's status is being requested each second and returned as WORKING.

      The requested URL is http://localhost:8080/pentaho/plugin/reporting/api/jobs/8250aa8f-ecd7-4cb1-b8f2-4b7d0293221d/status?1456391401146=1456391401146
      Response is

      {"path":"/home/admin/Metadata bad query.prpt","uuid":"65ef4bb5-904b-406b-86de-d21fc08106de","status" :"WORKING","progress":0,"mimeType":"text/html"}
      Show
      Pre-condition: async mode is true. 1. Start PRD 2. Open the attached report, publish it to server. 3. Open the report in PUC - > progress bar appears showing WORKING status 4. Open Network Monitor in browser-> The report job's status is being requested each second and returned as WORKING. The requested URL is http://localhost:8080/pentaho/plugin/reporting/api/jobs/8250aa8f-ecd7-4cb1-b8f2-4b7d0293221d/status?1456391401146=1456391401146 Response is {"path":"/home/admin/Metadata bad query.prpt","uuid":"65ef4bb5-904b-406b-86de-d21fc08106de","status" :"WORKING","progress":0,"mimeType":"text/html"}

      Description

      Requests for the report job status are never-ending since WORKING status is returned in case report generation failed due to broken query in data source.
      If async mode is false the report is opened with "Failed to parse query" error.
      Expected Result: Progress bar displays FAILED status and the error description.
      Tested in 6.1.0.0.188 with files for iteration 0.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              ylitskevich Yuliya Litskevich (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: