-
Type:
Bug
-
Status:
Closed
-
Priority:
High
-
Resolution:
Done
-
-
-
-
-
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'
{"report":{"apdex":1,"isInitial":true,"journeyId":"e786e6d1-33b4-4434-a0df-0acfee4beb4e","key":"jira.project.issue.view-issue","navigationType":0,"readyForUser":913.9000000059605,"redirectCount":0,"resourceLoadedEnd":1019.1999999880791,"resourceLoadedStart":144.7999999821186,"resourceTiming":[{"duration":193.40000000596046,"initiatorType":"link","name":"https://jira.workterra.net/s/3003653444a1e1a85555cab7dcfb3a21-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/css/_super/batch.css","startTime":144.7999999821186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":144.7999999821186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":338.19999998807907,"responseStart":0,"secureConnectionStart":0},{"duration":193.59999999403954,"initiatorType":"link","name":"https://jira.workterra.net/s/dd6a0911920485696ac20493290df627-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/3abe50d469404b639745df44b51476b6/_/download/contextbatch/css/jira.browse.project,jira.view.issue,project.issue.navigator,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&richediton=true","startTime":145,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":145,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":338.59999999403954,"responseStart":0,"secureConnectionStart":0},{"duration":193.40000000596046,"initiatorType":"link","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/8.5.0/_/download/batch/com.atlassian.auiplugin:split_aui.pattern.label/com.atlassian.auiplugin:split_aui.pattern.label.css","startTime":145.19999998807907,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":145.19999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":338.59999999403954,"responseStart":0,"secureConnectionStart":0},{"duration":193.40000000596046,"initiatorType":"link","name":"https://jira.workterra.net/s/bd548f27bbf8f278bd83b60dd3284ed8-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:global-static-adgs/jira.webresources:global-static-adgs.css","startTime":145.2999999821186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":145.2999999821186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":338.69999998807907,"responseStart":0,"secureConnectionStart":0},{"duration":193.2999999821186,"initiatorType":"link","name":"https://jira.workterra.net/s/70725731a158a7140f19ddbd4201ba27-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:global-static/jira.webresources:global-static.css","startTime":145.40000000596046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":145.40000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":338.69999998807907,"responseStart":0,"secureConnectionStart":0},{"duration":201.30000001192093,"initiatorType":"script","name":"https://jira.workterra.net/s/f2623af22c15df767ec6ff268ae0b8bd-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/js/_super/batch.js?locale=en-US","startTime":145.59999999403954,"connectEnd":145.59999999403954,"connectStart":145.59999999403954,"domainLookupEnd":145.59999999403954,"domainLookupStart":145.59999999403954,"fetchStart":145.59999999403954,"redirectEnd":0,"redirectStart":0,"requestStart":145.59999999403954,"responseEnd":346.90000000596046,"responseStart":346.90000000596046,"secureConnectionStart":145.59999999403954},{"duration":237.5,"initiatorType":"script","name":"https://jira.workterra.net/s/ecf7ec549751ae117b778f0525d6d371-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/4.1.5/_/download/resources/com.atlassian.plugins.atlassian-chaperone:hotspot-tour/hotspot-tour.js?batch=false&locale=en-US","startTime":145.69999998807907,"connectEnd":145.69999998807907,"connectStart":145.69999998807907,"domainLookupEnd":145.69999998807907,"domainLookupStart":145.69999998807907,"fetchStart":145.69999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":145.69999998807907,"responseEnd":383.19999998807907,"responseStart":383.19999998807907,"secureConnectionStart":145.69999998807907},{"duration":234.5,"initiatorType":"script","name":"https://jira.workterra.net/s/6ce676f2a5bcc9651cef6e7956f05def-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/3abe50d469404b639745df44b51476b6/_/download/contextbatch/js/jira.browse.project,jira.view.issue,project.issue.navigator,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":145.69999998807907,"connectEnd":145.69999998807907,"connectStart":145.69999998807907,"domainLookupEnd":145.69999998807907,"domainLookupStart":145.69999998807907,"fetchStart":145.69999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":145.69999998807907,"responseEnd":380.19999998807907,"responseStart":380.19999998807907,"secureConnectionStart":145.69999998807907},{"duration":237.90000000596046,"initiatorType":"script","name":"https://jira.workterra.net/s/6aa3fcf1fac5fd551eee0b69077524e6-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/aae1242f5fc81cc6a5bb8bc963ccda29/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en-US","startTime":145.7999999821186,"connectEnd":145.7999999821186,"connectStart":145.7999999821186,"domainLookupEnd":145.7999999821186,"domainLookupStart":145.7999999821186,"fetchStart":145.7999999821186,"redirectEnd":0,"redirectStart":0,"requestStart":145.7999999821186,"responseEnd":383.69999998807907,"responseStart":383.69999998807907,"secureConnectionStart":145.7999999821186},{"duration":238.09999999403954,"initiatorType":"script","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":146,"connectEnd":146,"connectStart":146,"domainLookupEnd":146,"domainLookupStart":146,"fetchStart":146,"redirectEnd":0,"redirectStart":0,"requestStart":146,"responseEnd":384.09999999403954,"responseStart":384.09999999403954,"secureConnectionStart":146},{"duration":238.40000000596046,"initiatorType":"script","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":146.09999999403954,"connectEnd":146.09999999403954,"connectStart":146.09999999403954,"domainLookupEnd":146.09999999403954,"domainLookupStart":146.09999999403954,"fetchStart":146.09999999403954,"redirectEnd":0,"redirectStart":0,"requestStart":146.09999999403954,"responseEnd":384.5,"responseStart":384.5,"secureConnectionStart":146.09999999403954},{"duration":238.7000000178814,"initiatorType":"script","name":"https://jira.workterra.net/s/ecf7ec549751ae117b778f0525d6d371-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/8.5.0/_/download/batch/com.atlassian.auiplugin:split_aui.pattern.label/com.atlassian.auiplugin:split_aui.pattern.label.js?locale=en-US","startTime":146.19999998807907,"connectEnd":146.19999998807907,"connectStart":146.19999998807907,"domainLookupEnd":146.19999998807907,"domainLookupStart":146.19999998807907,"fetchStart":146.19999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":146.19999998807907,"responseEnd":384.90000000596046,"responseStart":384.90000000596046,"secureConnectionStart":146.19999998807907},{"duration":246.40000000596046,"initiatorType":"link","name":"https://jira.workterra.net/s/05c862146699bb029ceb0a489075e63b-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/bcd66e9a133a1b9f5fd14b56841e1c5b/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":146.2999999821186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":146.2999999821186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":392.69999998807907,"responseStart":0,"secureConnectionStart":0},{"duration":239.30000001192093,"initiatorType":"script","name":"https://jira.workterra.net/rest/api/1.0/shortcuts/805012/ea6f30d2bfdc99578bb23f4a5bac3ecd/shortcuts.js?context=issuenavigation&context=issueaction","startTime":146.2999999821186,"connectEnd":146.2999999821186,"connectStart":146.2999999821186,"domainLookupEnd":146.2999999821186,"domainLookupStart":146.2999999821186,"fetchStart":146.2999999821186,"redirectEnd":0,"redirectStart":0,"requestStart":146.2999999821186,"responseEnd":385.59999999403954,"responseStart":385.59999999403954,"secureConnectionStart":146.2999999821186},{"duration":245.30000001192093,"initiatorType":"link","name":"https://jira.workterra.net/s/9095228fa10daa2d3e3d7d5760c95e91-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/72477c22780abda5f51fe696920d843f/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.css?jira.create.linked.issue=true&richediton=true","startTime":147.59999999403954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":147.59999999403954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":392.90000000596046,"responseStart":0,"secureConnectionStart":0},{"duration":237.7999999821186,"initiatorType":"script","name":"https://jira.workterra.net/s/c19a1b46e985d7fb85efaf27c8febfdd-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/72477c22780abda5f51fe696920d843f/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.js?jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":148.40000000596046,"connectEnd":148.40000000596046,"connectStart":148.40000000596046,"domainLookupEnd":148.40000000596046,"domainLookupStart":148.40000000596046,"fetchStart":148.40000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":148.40000000596046,"responseEnd":386.19999998807907,"responseStart":386.19999998807907,"secureConnectionStart":148.40000000596046}],"threshold":1000,"fetchStart":1,"domainLookupStart":1,"domainLookupEnd":1,"connectStart":1,"connectEnd":1,"requestStart":68,"responseStart":139,"responseEnd":140,"domLoading":143,"domInteractive":1118,"domContentLoadedEventStart":1118,"domContentLoadedEventEnd":1172,"domComplete":1687,"loadEventStart":1687,"loadEventEnd":1690,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[],"measures":[],"correlationId":"e83475622f93c3","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":47,"dbReadsTimeInMs":3,"dbConnsTimeInMs":4,"applicationHash":"156decd7d2b4272533aa6cefc8294af635e1da97","experiments":[]}}
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