Uploaded image for project: 'Community Dashboard Framework'
  1. Community Dashboard Framework
  2. CDF-980

Analyzer Component breaks when parameters are used

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Severity: Unknown
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: None
    • Labels:
      None
    • Environment:
      Pentaho 7.1.0.0.12
      Chrome 59
    • 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

      Create CDE dashboard
      Add Parameter
      Add Analyzer component to dashboard
      Add the parameter to the Analyzer component
      Save dashboard
      Render

      Show
      Create CDE dashboard Add Parameter Add Analyzer component to dashboard Add the parameter to the Analyzer component Save dashboard Render

      Description

      In AnalyzerComponent.js

      https://github.com/webdetails/cdf/blob/master/pentaho-js/src/main/javascript/cdf/components/AnalyzerComponent.js

      Line 49 is:
      myself.dateFormats == undefined ? {} : myself.dateFormats;
      Should be:
      myself.dateFormats = (myself.dateFormats == undefined ? {} : myself.dateFormats);

      Otherwise will break in line 54.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pamval Pedro Vale
              Reporter:
              mgaspar Miguel Ferreira Gaspar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: