Uploaded image for project: 'Project Simple'
  1. Project Simple
  2. ST-230

Error on Connection Info initialization - Add Company Id as key.

    Details

    • 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

      Description

      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'

        Attachments

          Activity

          Hide
          saurabh.sablaka Saurabh Sablaka (Inactive) added a comment -

          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

          Show
          saurabh.sablaka Saurabh Sablaka (Inactive) added a comment - 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
          Hide
          saurabh.sablaka Saurabh Sablaka (Inactive) added a comment -

          Scenario to be verified: Login and traverse up to employee level for 4-5 companies

          Show
          saurabh.sablaka Saurabh Sablaka (Inactive) added a comment - Scenario to be verified: Login and traverse up to employee level for 4-5 companies
          Hide
          hrishikesh.deshpande Hrishikesh Deshpande (Inactive) added a comment -

          Login and traverse up to employee level and it is working fine.
          Ready for stage.

          Show
          hrishikesh.deshpande Hrishikesh Deshpande (Inactive) added a comment - Login and traverse up to employee level and it is working fine. Ready for stage.
          Hide
          hrishikesh.deshpande Hrishikesh Deshpande (Inactive) added a comment -

          Login and traverse up to employee level and it is working fine.
          Ready for Production.

          Show
          hrishikesh.deshpande Hrishikesh Deshpande (Inactive) added a comment - Login and traverse up to employee level and it is working fine. Ready for Production.
          Hide
          hrishikesh.deshpande Hrishikesh Deshpande (Inactive) added a comment -

          Login and traverse up to employee level and it is working fine.

          Show
          hrishikesh.deshpande Hrishikesh Deshpande (Inactive) added a comment - Login and traverse up to employee level and it is working fine.

            People

            Assignee:
            hrishikesh.deshpande Hrishikesh Deshpande (Inactive)
            Reporter:
            saurabh.sablaka Saurabh Sablaka (Inactive)
            Developer:
            Saurabh Sablaka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Production Due Date:
              Code Review Date: