Uploaded image for project: 'Document Management System'
  1. Document Management System
  2. DMS-1419

Unhanded exception in DocumentData.GetFormDetailsWithValues

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: Enhancements - Fall
    • Labels:
      None
    • Company:
      All Clients/Multiple Clients

      Description

      There is line of code 'parsedKeyValuePdfDataparam = parsedKeyValuePdfData.ToDictionary(d => d.Key, d => d.Value);' in DocumentData.GetFormDetailsWithValues where possible exception is not handled. Now when parsedKeyValuePdfData has any duplicate column name, this method throws exception. Here if duplicate keys exist, then either that key should be skipped or value be overridden. 

        Attachments

        1. Screenshot (2997).png
          Screenshot (2997).png
          215 kB
        2. Screenshot (2998).png
          Screenshot (2998).png
          146 kB
        3. test2 (2).html
          4 kB

          Activity

            People

            Assignee:
            akash.thakur Akash Thakur (Inactive)
            Reporter:
            harshveer.singh Harshveer Singh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4h Original Estimate - 4h
                4h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 5.25h
                5.25h