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

          harshveer.singh Harshveer Singh (Inactive) created issue -
          harshveer.singh Harshveer Singh (Inactive) made changes -
          Field Original Value New Value
          Issue Type New Feature [ 2 ] Bug [ 1 ]
          samir Samir made changes -
          Remaining Estimate 4h [ 14400 ]
          Original Estimate 4h [ 14400 ]
          shashikant.mishra ShashiKant Mishra (Inactive) made changes -
          Fix Version/s Enhancements - Fall [ 10610 ]
          samir Samir made changes -
          Assignee Samir [ samir ] Harshveer Singh [ harshveer.singh ]
          shashikant.mishra ShashiKant Mishra (Inactive) made changes -
          Sprint DMS - Fall Sprint 3 [ 162 ] DMS - Fall Sprint 3, DMS - Fall Sprint 4 [ 162, 163 ]
          shashikant.mishra ShashiKant Mishra (Inactive) made changes -
          Sprint DMS - Fall Sprint 3, DMS - Fall Sprint 4 [ 162, 163 ] DMS - Fall Sprint 3, DMS - Fall Sprint 4, DMS - Fall Sprint 5 [ 162, 163, 164 ]
          samir Samir made changes -
          Assignee Harshveer Singh [ harshveer.singh ] Akash Thakur [ akash.thakur ]
          akash.thakur Akash Thakur (Inactive) made changes -
          Status To Do [ 10000 ] In Progress [ 3 ]
          akash.thakur Akash Thakur (Inactive) made changes -
          Remaining Estimate 4h [ 14400 ] 0h [ 0 ]
          Time Spent 4h [ 14400 ]
          Worklog Id 183784 [ 183784 ]
          akash.thakur Akash Thakur (Inactive) made changes -
          Assignee Akash Thakur [ akash.thakur ] Harshveer Singh [ harshveer.singh ]
          akash.thakur Akash Thakur (Inactive) made changes -
          Status In Progress [ 3 ] Code Review [ 11801 ]
          samir Samir made changes -
          Assignee Harshveer Singh [ harshveer.singh ] Samir [ samir ]
          shashikant.mishra ShashiKant Mishra (Inactive) made changes -
          Sprint DMS - Fall Sprint 3, DMS - Fall Sprint 4, DMS - Fall Sprint 5 [ 162, 163, 164 ] DMS - Fall Sprint 3, DMS - Fall Sprint 4, DMS - Fall Sprint 5, DMS - Fall Sprint 6 [ 162, 163, 164, 165 ]
          Raj.Hawaldar Raj Hawaldar (Inactive) made changes -
          Status Code Review [ 11801 ] In QA Testing [ 11901 ]
          shashikant.mishra ShashiKant Mishra (Inactive) made changes -
          Sprint DMS - Fall Sprint 3, DMS - Fall Sprint 4, DMS - Fall Sprint 5, DMS - Fall Sprint 6 [ 162, 163, 164, 165 ] DMS - Fall Sprint 3, DMS - Fall Sprint 4, DMS - Fall Sprint 5, DMS - Fall Sprint 6, DMS - Fall Sprint 7 [ 162, 163, 164, 165, 166 ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Assignee Samir [ samir ] Priya Dhamande [ priya.dhamande ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Status In QA Testing [ 11901 ] In Progress [ 3 ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Assignee Priya Dhamande [ priya.dhamande ] Akash Thakur [ akash.thakur ]
          akash.thakur Akash Thakur (Inactive) made changes -
          Status In Progress [ 3 ] In QA Testing [ 11901 ]
          akash.thakur Akash Thakur (Inactive) made changes -
          Assignee Akash Thakur [ akash.thakur ] Priya Dhamande [ priya.dhamande ]
          akash.thakur Akash Thakur (Inactive) made changes -
          Attachment test2 (2).html [ 112295 ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Attachment Screenshot (2997).png [ 112499 ]
          Attachment Screenshot (2998).png [ 112500 ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Time Spent 4h [ 14400 ] 5h [ 18000 ]
          Worklog Id 188356 [ 188356 ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Status In QA Testing [ 11901 ] To Do [ 10000 ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Assignee Priya Dhamande [ priya.dhamande ] Akash Thakur [ akash.thakur ]
          Ganesh.sadawarte Ganesh Sadawarte (Inactive) made changes -
          Status To Do [ 10000 ] In QA Testing [ 11901 ]
          Ganesh.sadawarte Ganesh Sadawarte (Inactive) made changes -
          Assignee Akash Thakur [ akash.thakur ] Priya Dhamande [ priya.dhamande ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Resolution Done [ 10000 ]
          Status In QA Testing [ 11901 ] Done [ 10001 ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Assignee Priya Dhamande [ priya.dhamande ] Akash Thakur [ akash.thakur ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Time Spent 5h [ 18000 ] 5.25h [ 18900 ]
          Worklog Id 188364 [ 188364 ]

            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