Uploaded image for project: 'Konveyor Tackle'
  1. Konveyor Tackle
  2. TACKLE-743

Application import : No error logged in error report if a .csv file has invalid schema

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 2.1.0
    • 2.1.0
    • Data Importer
    • False
    • None
    • False
    • No

      Description of problem

      On importing a .csv file with invalid schema (say, a missing required column), the records are rejected and an error report is generated. But, the error report is empty.

      How reproducible

      Always

      Steps to reproduce:

      1)Import the attached .CSV file. The file has 2 records that don't have the record type information.

      Actual results:

      Both records are rejected .No error is logged in the import error report . The error report is empty.
      Status shows Completed,
      Accepted shows 0,
      Rejected shows 2

      Expected results:

      Error report should have an appropriate message such as :
      "Invalid record type"

      Additional information

      This was tested using the latest template.

        1. After_fix_Aug_25_invalid_schema.png
          21 kB
          Nandini Chandra
        2. empty_error_report.png
          16 kB
          Nandini Chandra
        3. invalid_schema.csv
          1 kB
          Nandini Chandra
        4. invalid_schema.png
          20 kB
          Nandini Chandra

              rhn-engineering-maufart Marek Aufart
              rhn-support-nachandr Nandini Chandra
              Nandini Chandra Nandini Chandra
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: