Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-17416

CSV Instance Parameters are disappeared during edit webhook step

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • fuse-7.10-GA
    • fuse-7.10-GA
    • Fuse Online
    • None
    • False
    • False
    • % %
    • Todo

      When I have a webhook step with CSV data type and I set some Data Type parameters ( e.g. Delimiter ),

      the parameters are probably not saved because when I edit that step, the parameters windows is empty

      and also DataMapper show only one field (csv has 5 columns)

      Video: csv.webm

      When I run that integration, it looks that the CSV is processed as one string. Log step:

      	
      Body: [[csv0,0,0.0,1989-05-05,true
      csv1,10,10.0,1989-05-05,true
      csv2,20,20.0,1989-05-05,true
      csv3,30,30.0,1989-05-05,false
      csv4,40,40.0,1989-05-05,false]]
      

      ============================
      Another example,
      when I set `First Record As Header` and `Delimiter ,` as CSV Instance Parameters for this CSV definition

      sourceCsvString,sourceCsvNumber,sourceCsvDecimal,sourceCsvDate,sourceCsvBoolean
      csv0,0,0.0,1989-05-05,true
      csv1,10,10.0,1989-05-05,true
      csv2,20,20.0,1989-05-05,true
      csv3,30,30.0,1989-05-05,false
      csv4,40,40.0,1989-05-05,false
      

      the DataMapper field looks like one string ( unable to use it for mapping)

        1. csv.webm
          2.98 MB
          Matej Kralik
        2. CSVheader.png
          18 kB
          Matej Kralik
        3. csvInDM.png
          11 kB
          Matej Kralik
        4. CSVparameters.png
          13 kB
          Matej Kralik
        5. parametersEdit.png
          11 kB
          Matej Kralik

              zregvart@redhat.com Zoran Regvart
              mkralik@redhat.com Matej Kralik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: