Uploaded image for project: 'WORKTERRA'
  1. WORKTERRA
  2. WT-10897

Import Record summary should have unique identification

    Details

    • Type: Bug
    • Status: In LB Testing
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: BenAdmin
    • Labels:
    • Environment:
      Production
    • Bug Type:
      Functional
    • Bug Severity:
      Medium
    • Module:
      BenAdmin - Import
    • Reported by:
      Harbinger
    • Item State:
      LB QA - On Hold
    • Sprint:
      WT Sprint 37 - Bugs

      Description

      To show number of records imported, sent to bad, a third table is used.
      The table do not identify the record uniquely and only returns the top record. So if there's a parallel import, scenario may occur that statistics of two imports are swapped depending on which completes first.

      ImportExportBadFileID can be used as unique key for import to solve the issue.

        Attachments

          Issue Links

            Activity

            Hide
            snehal.katkar Snehal Katkar (Inactive) added a comment -

            Files Having Changes:

            1)\trunk\WORKTERRAweb\App\BusinessLogic\ImportExportDTS\ExecuteImportDTS.vb
            2)\trunk\WORKTERRAweb\App\BusinessLogic\ImportExportDTS\ImportEmployeeEnrollment.vb
            3)\trunk\WORKTERRAweb\Web\Web Projects\WORKTERRA\Areas\Customization\Controllers\EDI\ImportExportBaseController.cs
            4)\trunk\WORKTERRAweb\Web\Web Projects\WORKTERRA\Areas\Customization\Models\EDI\ImportExportRecordDetails.cs
            5)\trunk\WORKTERRAweb\Web\Web Projects\WORKTERRA\Areas\Customization\Models\EDI\ManualImportExportModel.cs

            Changes:

            1) Removed calls to functions which accesses 'ImportExportRecordSummary' table to insert and fetch the data
            2) Created separate variables to store total no of records and total no of valid records. Added these values to 'CompanyWiseAsyncRoutineInfoHash'
            3) Displayed record counts on UI using hash 'CompanyWiseAsyncRoutineInfoHash'.

            Show
            snehal.katkar Snehal Katkar (Inactive) added a comment - Files Having Changes: 1)\trunk\WORKTERRAweb\App\BusinessLogic\ImportExportDTS\ExecuteImportDTS.vb 2)\trunk\WORKTERRAweb\App\BusinessLogic\ImportExportDTS\ImportEmployeeEnrollment.vb 3)\trunk\WORKTERRAweb\Web\Web Projects\WORKTERRA\Areas\Customization\Controllers\EDI\ImportExportBaseController.cs 4)\trunk\WORKTERRAweb\Web\Web Projects\WORKTERRA\Areas\Customization\Models\EDI\ImportExportRecordDetails.cs 5)\trunk\WORKTERRAweb\Web\Web Projects\WORKTERRA\Areas\Customization\Models\EDI\ManualImportExportModel.cs Changes: 1) Removed calls to functions which accesses 'ImportExportRecordSummary' table to insert and fetch the data 2) Created separate variables to store total no of records and total no of valid records. Added these values to 'CompanyWiseAsyncRoutineInfoHash' 3) Displayed record counts on UI using hash 'CompanyWiseAsyncRoutineInfoHash'.
            Hide
            jaideep.vinchurkar Jaideep Vinchurkar (Inactive) added a comment -

            Good to check in

            Show
            jaideep.vinchurkar Jaideep Vinchurkar (Inactive) added a comment - Good to check in
            Hide
            snehal.katkar Snehal Katkar (Inactive) added a comment -

            Concern: Import Record summary should have unique identification

            Impacted Areas:
            1) Manual Import (Sync/Async)
            2) Re-Import

            Scenarios to check:
            1) Bad record count, total record count, valid record count should be correct
            2) Bad file should be able to download

            Show
            snehal.katkar Snehal Katkar (Inactive) added a comment - Concern: Import Record summary should have unique identification Impacted Areas: 1) Manual Import (Sync/Async) 2) Re-Import Scenarios to check: 1) Bad record count, total record count, valid record count should be correct 2) Bad file should be able to download
            Hide
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment -

            Hi Snehal Katkar,

            Verified on LB
            Company - QA ASML for hspl

            Verified below scenario
            1)Bad Record count - PAss
            2)Total imported record count - Pass
            3)Bad file download - Pass
            4)When bad file is generated, re-imported data - Pass
            5)Valid record count for all scenario - PAss
            6)Verified all above scenario for syn and Async manual import
            7)Verified all scenario for company and global level import
            8)Verified Import type -> Employee import, spouse import, child import , Election data import and waive import

            All above mentioned scenarios are working fine
            Hence marking item state as Ready for stage.

            Thanks,
            Jayshree

            cc : Rakesh Roy Prasad Pise

            Show
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment - Hi Snehal Katkar , Verified on LB Company - QA ASML for hspl Verified below scenario 1)Bad Record count - PAss 2)Total imported record count - Pass 3)Bad file download - Pass 4)When bad file is generated, re-imported data - Pass 5)Valid record count for all scenario - PAss 6)Verified all above scenario for syn and Async manual import 7)Verified all scenario for company and global level import 8)Verified Import type -> Employee import, spouse import, child import , Election data import and waive import All above mentioned scenarios are working fine Hence marking item state as Ready for stage. Thanks, Jayshree cc : Rakesh Roy Prasad Pise
            Hide
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment -

            Hi Snehal Katkar,

            Verified Demographics and dependent import on stage,
            Company - Je dunn for hspl, city of durham for hspl,
            Symphony for hspl, city of bellevue for hspl

            But Import is getting fail , could not verify as its blocked due to : WT-11623

            Error Log : ErrorID : 0
            ErrorSource : ControllerAppTier.SaveAndGetData->WORKTERRAControllerAppTier.SaveAndGetData->ExecuteImportDTS.ImportData_Isolated->WTIsolatedRoutines.Main->ExecuteImportDTS.ImportData->ImportValidation.ImportData->ImportValidation.GetUniqueUserNameHashTable
            ErrorMessage: Item has already been added. Key in dictionary: 'abc05011990test' Key being added: 'abc05011990test'
            StackTrace: at WORKTERRA.Shared.WORKTERRAControllerAppTier.SaveAndGetData(WORKTERRAControllerWebTierEntity objWORKTERRAControllerWebTierEntity)
            at WORKTERRA.ControllerAppTier.SaveAndGetData(Int32 intProjectsId, String strInput)
            TargetSite: System.String SaveAndGetData(WORKTERRA.Shared.WORKTERRAControllerWebTierEntity)

            Hence Marking this jira as Stage QA on Hold,
            We will verify once WT-11623 will deploy on stage.

            Thanks,
            Jayshree

            cc : Rakesh Roy Prasad Pise Jaideep Vinchurkar

            Show
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment - Hi Snehal Katkar , Verified Demographics and dependent import on stage, Company - Je dunn for hspl, city of durham for hspl, Symphony for hspl, city of bellevue for hspl But Import is getting fail , could not verify as its blocked due to : WT-11623 Error Log : ErrorID : 0 ErrorSource : ControllerAppTier.SaveAndGetData->WORKTERRAControllerAppTier.SaveAndGetData->ExecuteImportDTS.ImportData_Isolated->WTIsolatedRoutines.Main->ExecuteImportDTS.ImportData->ImportValidation.ImportData->ImportValidation.GetUniqueUserNameHashTable ErrorMessage: Item has already been added. Key in dictionary: 'abc05011990test' Key being added: 'abc05011990test' StackTrace: at WORKTERRA.Shared.WORKTERRAControllerAppTier.SaveAndGetData(WORKTERRAControllerWebTierEntity objWORKTERRAControllerWebTierEntity) at WORKTERRA.ControllerAppTier.SaveAndGetData(Int32 intProjectsId, String strInput) TargetSite: System.String SaveAndGetData(WORKTERRA.Shared.WORKTERRAControllerWebTierEntity) Hence Marking this jira as Stage QA on Hold, We will verify once WT-11623 will deploy on stage. Thanks, Jayshree cc : Rakesh Roy Prasad Pise Jaideep Vinchurkar
            Hide
            snehal.katkar Snehal Katkar (Inactive) added a comment -

            Hi Jayshree Nagpure,

            As discussed, I have reverted this patch from stage. Please check and let me know in case of any issues.

            cc: Rakesh Roy, Jaideep Vinchurkar

            Show
            snehal.katkar Snehal Katkar (Inactive) added a comment - Hi Jayshree Nagpure , As discussed, I have reverted this patch from stage. Please check and let me know in case of any issues. cc: Rakesh Roy , Jaideep Vinchurkar
            Hide
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment -

            Hi Snehal Katkar,

            Import working fine on stage
            Hence marking item state as Ready for Stage.

            Thanks,
            Jayshree

            cc : Rakesh Roy Prasad Pise

            Show
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment - Hi Snehal Katkar , Import working fine on stage Hence marking item state as Ready for Stage. Thanks, Jayshree cc : Rakesh Roy Prasad Pise

              People

              Assignee:
              jayshree.nagpure Jayshree Nagpure (Inactive)
              Reporter:
              suraj.sokasane Suraj Sokasane (Inactive)
              Developer:
              Snehal Katkar (Inactive)
              QA:
              Jayshree Nagpure (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Dev Due Date:
                Pre-Prod Due Date:
                Production Due Date:
                Code Review Date:

                  Time Tracking

                  Estimated:
                  Original Estimate - 12h Original Estimate - 12h
                  12h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 36.5h
                  36.5h