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

Error parsing parameter- value string literal

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Severity: High
    • Resolution: Fixed
    • Affects Version/s: 14.10.15
    • Fix Version/s: 5.3.0 GA, 14.12.10
    • Component/s: None
    • 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.
    • Operating System/s:
      Ubuntu 12.x (64-bit)

      Description

      have Problems to send parameters in string.

      example 1

      Arg=ParUser Value=MIKE

      *"MIKE" not is simple Parameter, is string
      not it works.

      example 3

      Arg=ParUsers_BA Value=ParListUsers.toString()

      *"ParListUsers" is simple Parameter(set value multiselectComponent)
      not it works.

      i not work my examples. please help me. have 10 dashboards not is working.

      possible solution:

      modify function:
      biserver-ce/pentaho-solutions/system/pentaho-cdf/js/Dashboards.Main.js

      Dashboards._getValueFromContext = function(o, path) {
      if (!o) return; //undefined
      if (null != path) {
      if (this._flatParameters)

      { return o[path]; }

      else {
      var parts = (path instanceof Array) ? path : path.split("."), L = parts.length;
      if (L) for (var i = 0; L > i; ) {
      var part = parts[i++], value = o[part];
      if (null == value) {//the path requested is undefined
      try

      { path= eval(path); }

      catch(e)

      { return path; }

      return path;
      }
      o = value;
      }
      }
      }
      return o;
      };

      i have fear modify the function Dashboards._getValueFromContext

      pd. sorry for my English

        Attachments

        1. Issue435.zip
          17 kB
        2. Issue435.zip
          17 kB

          Activity

            People

            • Assignee:
              elopes Eduardo Lopes (Inactive)
              Reporter:
              mareyes_ldm Miguel Reyes
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: