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

CSV Instance Parameters are disappeared during edit webhook step

    XMLWordPrintable

Details

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

    Description

      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)

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: