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

JSON Input Step: Transformation runs fine even though "read source as URL" is unchecked in Json step and the URL format path is set in the preceding step.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Severity: Medium
    • Resolution: Unresolved
    • Affects Version/s: 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
      • Use the attached file For_jira. Extract it.
      • Start spoon client.
      • Set following properties.
        ---------
        Variable name: ROOT_DIR
        Value: C:\
        ---------
      • In the Json step File tab, set the following
      Select field: data1
      Use field as file names: <checked>
      Read source as URL: <unchecked>
      • Save and execute the transformation.
      • The transformation runs successfully.

       

       

      Show
      Use the attached file For_jira. Extract it. Start spoon client. Set following properties. --------- Variable name: ROOT_DIR Value: C:\ --------- In the Json step File tab, set the following Select field: data1 Use field as file names: <checked> Read source as URL: <unchecked> Save and execute the transformation. The transformation runs successfully.    

      Description

      The Json step does not throw an exception even though "read source as URL" is unchecked and we are giving a URL format path in the previous data step. Basically, there needs to be a proper validation done.

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jagdeeshss Jagdeeshss
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: