Uploaded image for project: 'Pentaho Data Integration - Kettle'
  1. Pentaho Data Integration - Kettle
  2. PDI-19219

JSON Output:'Nr rows in bloc' field accepts random string values without any validation.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Severity: Medium
    • Resolution: Unresolved
    • Affects Version/s: 8.2.0.7 GA, 9.1.0.4 GA, 8.3.0.19 GA
    • Fix Version/s: Backlog
    • Component/s: Step
    • 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

      1 Start Spoon.

      2 use the attached transformation to replicate the issue. Transformation is using [Generate Rows] and [JSON output] steps and hop between them.

      3 Double-click [JSON output] step and set following properties.
         Nr rows in a bloc : asd
         Filename : C:\PentahoTest\out
         Other properties retain default value.

       

       4 Save and execute the transformation.

      5 The transformation gets executed successfully even though random string is given, which should not be the case.

       

      Show
      1 Start Spoon. 2 use the attached transformation to replicate the issue. Transformation is using [Generate Rows] and [JSON output] steps and hop between them. 3 Double-click [JSON output] step and set following properties.    Nr rows in a bloc : asd    Filename : C:\PentahoTest\out    Other properties retain default value.    4 Save and execute the transformation. 5 The transformation gets executed successfully even though random string is given, which should not be the case.  

      Description

      Using JSON Output step  'Nr rows in a bloc' field accepts any random string values. We need to validate the values to accept only integer data types or a variable. Not any random string.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              basavanth Basavanth Kumar M P
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: