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

Parameter UI does not reflect value change when parameter is driven from a post-processing formula

    XMLWordPrintable

    Details

    • 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.

      Description

      The attached report is built against SampleData and demostrates the issue. The first parameter (IWantAscending) is a boolean parameter that "controls" the second parameter (OrderParam). OrderParam has a post-processing formula that interrogates IWantAscending. If IWantAscending is true, then the value of OrderParam changes to ASC; otherwise its DESC.

      The OrderParam value definitely changes, because I can see it clearly change the ORDER BY clause in the query driving the report, and you can see the data gets sorted on change of the IWantAscending parameter. But the OrderParam combobox value never changes, regardless of the OrderParam value being set.

      To visualize:

      1. Deploy the attached report.
      2. Select true for IWantAscending. Note that the OrderParam combobox displays DESC, but the report sorts ASC.
      3. Select false for IWantAscending. Note that the OrderParam combobox displays DESC, ad the report sorts DESC.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kcruzada Kurtis Cruzada
              Reporter:
              gmoran Gretchen Moran (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: