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

Spoon jobs treenode doesn't open - typo in Spoon.java

    XMLWordPrintable

    Details

    • 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. Launch Spoon
      2. Create a new job
      3. Click the View tab in the explorer
      4. Collapse the tree node Jobs
      5. Expand the tree node Jobs
      6. Add some job entries from Design tab
      7. Switch to View tab and collapse/expand Jobs tree node
      Show
      Launch Spoon Create a new job Click the View tab in the explorer Collapse the tree node Jobs Expand the tree node Jobs Add some job entries from Design tab Switch to View tab and collapse/expand Jobs tree node

      Description

      Simple copy/paste issue:
      https://github.com/pentaho/pentaho-kettle/blob/6.1.0.1-R/ui/src/org/pentaho/di/ui/spoon/Spoon.java#L2573-L2575

      Note it checks if jobMeta is non-null, but then tries to use the transMeta:

          if ( jobMeta != null ) {
      
            TabMapEntry entry = delegates.tabs.findTabMapEntry( transMeta );
      

      The entry should use the jobMeta not transMeta.

      One line code fix.

        Attachments

          Activity

            People

            Assignee:
            wfaulkner William Faulkner
            Reporter:
            mbatchelor Marc Batchelor (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: