Uploaded image for project: 'Spot (Retired)'
  1. Spot (Retired)
  2. SPOT-33

[OA] Network context module fails when there is an empty string at the end of the file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      If users create a network context file with an empty line at the end, the entire OA module will fail because can't access any of the columns (index 0 an 1).

      Also the code contains a csvreader.next() call that skips the first line so if your file is like:
      ip,name
      1.1.1.1,oneIp
      2.2.2.2,twoIp

      Network context will actually just return 1 record, that record being 2.2.2.2,twoIp because csv reader already takes headers.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rabarona Ricardo Barona
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: