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

The step fields cache should be cleared on each call

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Severity: Urgent
    • Resolution: Fixed
    • Affects Version/s: 7.0.0.5 GA
    • Fix Version/s: 8.1.0 GA
    • Component/s: Transformation
    • 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

      With CUST-221 installed, open the attached repro.ktr

      Try to double-click on the Filter Rows. You will receive an error with stack trace starting with:

      org.pentaho.di.core.exception.KettleStepException: Return value territory can't be found in the input row.

      Without CUST-221, the step dialog opens without an error.

      Show
      With CUST-221 installed, open the attached repro.ktr Try to double-click on the Filter Rows. You will receive an error with stack trace starting with: org.pentaho.di.core.exception.KettleStepException: Return value territory can't be found in the input row. Without CUST-221, the step dialog opens without an error.

      Description

      In this edge-case the step fields cache mutates the rowmeta of fields as it progresses backward through the steps, So as it's designed, the steps fields cache must be cleared on each call.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jmcdaniel John McDaniel
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: