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

          saurabh.sablaka Saurabh Sablaka (Inactive) created issue -
          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
          saurabh.sablaka Saurabh Sablaka (Inactive) made changes -
          Field Original Value New Value
          Item State Parent values: Development(10200)Level 1 values: Ready for Local Testing(10209) Parent values: LB QA(10201)Level 1 values: LB Deployed(11600)
          saurabh.sablaka Saurabh Sablaka (Inactive) made changes -
          Status Open [ 1 ] In Development [ 10007 ]
          saurabh.sablaka Saurabh Sablaka (Inactive) made changes -
          Status In Development [ 10007 ] Local Testing [ 10200 ]
          saurabh.sablaka Saurabh Sablaka (Inactive) made changes -
          Code Review Date 21/Jun/2016
          Code Reviewed By Vijayendra Shinde [ 11901 ]
          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'
          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'
          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
          saurabh.sablaka Saurabh Sablaka (Inactive) made changes -
          Assignee Rakesh Roy [ rakeshr ]
          hrishikesh.deshpande Hrishikesh Deshpande (Inactive) made changes -
          Assignee Rakesh Roy [ rakeshr ] Hrishikesh Deshpande [ hrishikesh.deshpande ]
          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.
          hrishikesh.deshpande Hrishikesh Deshpande (Inactive) made changes -
          Item State Parent values: LB QA(10201)Level 1 values: LB Deployed(11600) Parent values: Stage QA(10202)Level 1 values: Ready for Production(10217)
          hrishikesh.deshpande Hrishikesh Deshpande (Inactive) made changes -
          Status Local Testing [ 10200 ] Stage Testing [ 10201 ]
          rakeshr Rakesh Roy (Inactive) made changes -
          Production Due Date 28/Jun/2016
          saurabh.sablaka Saurabh Sablaka (Inactive) made changes -
          Item State Parent values: Stage QA(10202)Level 1 values: Ready for Production(10217) Parent values: Production QA(10203)Level 1 values: Production Deployed(10221)
          hrishikesh.deshpande Hrishikesh Deshpande (Inactive) made changes -
          Item State Parent values: Production QA(10203)Level 1 values: Production Deployed(10221) Parent values: Production Complete(10222)
          hrishikesh.deshpande Hrishikesh Deshpande (Inactive) made changes -
          Status Stage Testing [ 10201 ] Production Testing [ 10202 ]
          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.
          hrishikesh.deshpande Hrishikesh Deshpande (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Production Testing [ 10202 ] Production Complete [ 10028 ]
          hrishikesh.deshpande Hrishikesh Deshpande (Inactive) made changes -
          Status Production Complete [ 10028 ] Closed [ 6 ]
          Transition Time In Source Status Execution Times
          Saurabh Sablaka (Inactive) made transition -
          Open In Development
          16h 56m 1
          Saurabh Sablaka (Inactive) made transition -
          In Development In LB Testing
          2s 1
          Hrishikesh Deshpande (Inactive) made transition -
          In LB Testing Stage Testing
          6h 44m 1
          Hrishikesh Deshpande (Inactive) made transition -
          Stage Testing In Production Testing
          5d 16m 1
          Hrishikesh Deshpande (Inactive) made transition -
          In Production Testing Production Complete
          5s 1
          Hrishikesh Deshpande (Inactive) made transition -
          Production Complete Closed
          1d 16h 13m 1

            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: