Uploaded image for project: 'OpenICF'
  1. OpenICF
  2. OPENICF-781

Increasing column number within CSV files causes SuperCSV exception

    Details

      Description

      When increasing the number of columns within a CSV file which has an associated connector/mapping, an error similar to the following is shown:

      Caused by: org.supercsv.exception.SuperCsvException: The number of columns to be processed (10) must match the number of CellProcessors (9): check that the number of CellProcessors you have defined matches the expected number of columns being read/written
      context={lineNo=1, rowNo=1, columnNo=1, rowSource=[description,  uid,  username,  firstname,  lastname,  email,  mobileTelephoneNumber,  roles,  password,  country]}
      

      Reproduction:

      1. Start OpenIDM 5.5.0 with the samples/sync-with-csv example
      2. Perform a reconciliation from CSV to Managed/User
      3. Modify the csvConnectorData.csv file to add another column
      4. Perform a second reconciliation from CSV to Managed/User

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                katie.gonzalez Katie Gonzalez
                Reporter:
                tom.wood Tom Wood
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: