-
Type:
Bug
-
Status: Closed
-
Priority:
High
-
Resolution: Done
-
Component/s: Performance
-
Labels:None
-
Module:Platform
-
Reported by:Support
-
Item State:Production Complete
-
Issue Importance:Must Have
ErrorID : 0
ErrorSource : ControllerAppTier.GetData->WORKTERRAControllerAppTier.GetData->EmployeeFormBuilder.GetData
ErrorMessage: Item has already been added. Key in dictionary: '11997' Key being added: '11997'
ErrorID : 0
ErrorSource : ControllerAppTier.Save->WORKTERRAControllerAppTier.Save->Users.Save
ErrorMessage: Item has already been added. Key in dictionary: '12415' Key being added: '12415'
ErrorID : 0
ErrorSource : ControllerAppTier.GetData->WORKTERRAControllerAppTier.GetData->EmployeeLoadControls.GetData
ErrorMessage: Item has already been added. Key in dictionary: '2040' Key being added: '2040'
ErrorID : 0
ErrorSource : ControllerAppTier.GetData->WORKTERRAControllerAppTier.GetData->EmployeeFormBuilder.GetData
ErrorMessage: Item has already been added. Key in dictionary: '2040' Key being added: '2040'
ErrorID : 0
ErrorSource : ControllerAppTier.Save->WORKTERRAControllerAppTier.Save->Users.Save
ErrorMessage: Item has already been added. Key in dictionary: '2040' Key being added: '2040'
ErrorID : 0
ErrorSource : ControllerAppTier.GetCollection->WORKTERRAControllerAppTier.GetData->CollectionManager.GetCollection
ErrorMessage: Item has already been added. Key in dictionary: '12415' Key being added: '12415'
Cause: In connection Info file, while creating connection string for any company if same company ID is passes again, it throws the mentioned error. Ideally there is a check already to avoid this but in some scenario due to Session overload during load test, session variable for Company ID gets reset and this error is thrown.
Correction: We have added additional check to avoid this error in future.
Affected file: /App/SharedFunctionAppTier/SharedFunctionAppTier/ConnectionString.cs