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

XML Output Step - should allow developers to save and edit when step configuraton is incomplete

    Details

    • Type: Bug
    • Status: Open
    • Severity: High
    • Resolution: Unresolved
    • Affects Version/s: 6.1.0.1 GA
    • Fix Version/s: Backlog
    • Component/s: Step
    • Labels:
      None
    • Story Points:
      0
    • PDI Sub-component:
    • 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. Design a transformation with XML Output step with CSV Input step
      2. Configure the step by filling all the fields except "Content Type"field
      3. Click OK
      4. Notice the error ( attached )
      5. It does not allow until Content Type field is filled.

      Show
      1. Design a transformation with XML Output step with CSV Input step 2. Configure the step by filling all the fields except "Content Type"field 3. Click OK 4. Notice the error ( attached ) 5. It does not allow until Content Type field is filled.

      Description

      XML Output step when a user is configuring the step and mid way wants to save his work to come back to it later. The step does not allow the user when they do not fill the Content Type field.
      It throws the below attached error which is not very user friendly to quickly identify what is the error too.

      With any other field left empty, the step does allow to save and edit later.

      java.lang.IllegalArgumentException: No enum constant org.pentaho.di.trans.steps.xmloutput.XMLField.ContentType.
      	at java.lang.Enum.valueOf(Enum.java:238)
      	at org.pentaho.di.trans.steps.xmloutput.XMLField$ContentType.valueOf(XMLField.java:37)
      	at org.pentaho.di.ui.trans.steps.xmloutput.XMLOutputDialog.getInfo(XMLOutputDialog.java:1121)
      	at org.pentaho.di.ui.trans.steps.xmloutput.XMLOutputDialog.ok(XMLOutputDialog.java:1143)
      	at org.pentaho.di.ui.trans.steps.xmloutput.XMLOutputDialog.access$1500(XMLOutputDialog.java:81)
      	at org.pentaho.di.ui.trans.steps.xmloutput.XMLOutputDialog$14.handleEvent(XMLOutputDialog.java:810)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      	at org.pentaho.di.ui.trans.steps.xmloutput.XMLOutputDialog.open(XMLOutputDialog.java:895)
      	at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:125)
      	at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:8783)
      	at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:3072)
      	at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:755)
      	at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      	at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1347)
      	at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7989)
      	at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9269)
      	at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:663)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92)
      

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            sandeepck Sandeep Kemparaju
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated: