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

After deleting the input field on the parameter UI, the mandatory parameters validation no longer works and no warning message occurs.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Severity: Urgent
    • Resolution: Fixed
    • Affects Version/s: 8.1.0 GA, 8.1.0.1 GA
    • Fix Version/s: 8.2.0 GA
    • Component/s: None
    • Labels:
    • 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

      For the first point, If you never fill the date field and leave it blank to view the report, you will get a warning message that "The prompt is mandatory". But if you delete the content on that field and then run the report, you will not get any warnings.

      A sample report - TestReport.prpt is attached here.

      In Pentaho 7.1:
      1) The red box shows up initially.
      2) You can input "myname" in the Text box first, the warning and the red box will disappear.
      3) After deleting "myname" from the Text box, a new warning "This prompt value is of an invalid value" and the red box will show up again.

      In Pentaho 8.1:
      1) The red box shows up initially.
      2) You can input "myname" in the Text box first, the warning and the red box will disappear.
      3) After deleting "myname" from the Text box, the warning and the red box will not show up any more.

      Show
      For the first point, If you never fill the date field and leave it blank to view the report, you will get a warning message that "The prompt is mandatory". But if you delete the content on that field and then run the report, you will not get any warnings. A sample report - TestReport.prpt is attached here. In Pentaho 7.1: 1) The red box shows up initially. 2) You can input "myname" in the Text box first, the warning and the red box will disappear. 3) After deleting "myname" from the Text box, a new warning "This prompt value is of an invalid value" and the red box will show up again. In Pentaho 8.1: 1) The red box shows up initially. 2) You can input "myname" in the Text box first, the warning and the red box will disappear. 3) After deleting "myname" from the Text box, the warning and the red box will not show up any more.

      Attachments

      1. 7.1.PNG
        7.1.PNG
        25 kB
      2. 8.1.PNG
        8.1.PNG
        23 kB
      3. TestReport.prpt
        5 kB

        Issue Links

          Activity

            People

            Assignee:
            scosta Sandra Costa
            Reporter:
            llu Lu Lu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: