-
Type:
Bug
-
Status:
Closed
-
Priority:
Medium
-
Resolution:
Done
-
Affects Version/s:
None
-
Fix Version/s:
None
-
Component/s:
None
-
-
-
-
Module:
BenAdmin
- Report
-
-
Item State:
Production Complete
- Closed
-
Issue Importance:
Must Have
-
Sprint:
WT Sprint 30 -Bugs
Steps: 1) Cloned any health Rate from Across Company.
2) Clicked on Cloned Rate
3) Edit Start Date
4) Clicked on Save
Result : Server Error
In this scenario trgUpdBilledRateAndSelfInsuredChanges_Log trigger Getting server error while updating start date for cloned health plan because Sub-query returned more than 1 value.
If we use 'in' instead of '=' then it works please verify. |
Note: this is only for health plans
- relates to
-
WT-9643
Functional - Any company - Partner Login - Rate Clonning - across company > Getting server error while updating start date for cloned health plan
-
-
Closed
{"report":{"apdex":0.5,"isInitial":true,"journeyId":"d6b78c87-3089-4d6b-ba68-8b5e244991ec","key":"jira.project.issue.view-issue","navigationType":0,"readyForUser":1695.2999999821186,"redirectCount":0,"resourceLoadedEnd":1869.0999999940395,"resourceLoadedStart":615.5,"resourceTiming":[{"duration":612.5999999940395,"initiatorType":"link","name":"https://jira.workterra.net/s/3003653444a1e1a85555cab7dcfb3a21-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/css/_super/batch.css","startTime":615.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":615.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1228.0999999940395,"responseStart":0,"secureConnectionStart":0},{"duration":612.4000000059605,"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":615.7999999821186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":615.7999999821186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1228.199999988079,"responseStart":0,"secureConnectionStart":0},{"duration":612.1999999880791,"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":616,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":616,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1228.199999988079,"responseStart":0,"secureConnectionStart":0},{"duration":612.1999999880791,"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":616.0999999940395,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":616.0999999940395,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1228.2999999821186,"responseStart":0,"secureConnectionStart":0},{"duration":612.1000000238419,"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":616.2999999821186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":616.2999999821186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1228.4000000059605,"responseStart":0,"secureConnectionStart":0},{"duration":632.1999999880791,"initiatorType":"script","name":"https://jira.workterra.net/s/f2623af22c15df767ec6ff268ae0b8bd-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/js/_super/batch.js?locale=en-US","startTime":616.4000000059605,"connectEnd":616.4000000059605,"connectStart":616.4000000059605,"domainLookupEnd":616.4000000059605,"domainLookupStart":616.4000000059605,"fetchStart":616.4000000059605,"redirectEnd":0,"redirectStart":0,"requestStart":616.4000000059605,"responseEnd":1248.5999999940395,"responseStart":1248.5999999940395,"secureConnectionStart":616.4000000059605},{"duration":669.4000000059605,"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":617.5,"connectEnd":617.5,"connectStart":617.5,"domainLookupEnd":617.5,"domainLookupStart":617.5,"fetchStart":617.5,"redirectEnd":0,"redirectStart":0,"requestStart":617.5,"responseEnd":1286.9000000059605,"responseStart":1286.9000000059605,"secureConnectionStart":617.5},{"duration":680.5999999940395,"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":617.5999999940395,"connectEnd":617.5999999940395,"connectStart":617.5999999940395,"domainLookupEnd":617.5999999940395,"domainLookupStart":617.5999999940395,"fetchStart":617.5999999940395,"redirectEnd":0,"redirectStart":0,"requestStart":617.5999999940395,"responseEnd":1298.199999988079,"responseStart":1298.199999988079,"secureConnectionStart":617.5999999940395},{"duration":681.1999999880791,"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":617.5999999940395,"connectEnd":617.5999999940395,"connectStart":617.5999999940395,"domainLookupEnd":617.5999999940395,"domainLookupStart":617.5999999940395,"fetchStart":617.5999999940395,"redirectEnd":0,"redirectStart":0,"requestStart":617.5999999940395,"responseEnd":1298.7999999821186,"responseStart":1298.7999999821186,"secureConnectionStart":617.5999999940395},{"duration":682,"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":617.6999999880791,"connectEnd":617.6999999880791,"connectStart":617.6999999880791,"domainLookupEnd":617.6999999880791,"domainLookupStart":617.6999999880791,"fetchStart":617.6999999880791,"redirectEnd":0,"redirectStart":0,"requestStart":617.6999999880791,"responseEnd":1299.699999988079,"responseStart":1299.699999988079,"secureConnectionStart":617.6999999880791},{"duration":683,"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":617.7999999821186,"connectEnd":617.7999999821186,"connectStart":617.7999999821186,"domainLookupEnd":617.7999999821186,"domainLookupStart":617.7999999821186,"fetchStart":617.7999999821186,"redirectEnd":0,"redirectStart":0,"requestStart":617.7999999821186,"responseEnd":1300.7999999821186,"responseStart":1300.7999999821186,"secureConnectionStart":617.7999999821186},{"duration":683.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":617.7999999821186,"connectEnd":617.7999999821186,"connectStart":617.7999999821186,"domainLookupEnd":617.7999999821186,"domainLookupStart":617.7999999821186,"fetchStart":617.7999999821186,"redirectEnd":0,"redirectStart":0,"requestStart":617.7999999821186,"responseEnd":1301.5,"responseStart":1301.5,"secureConnectionStart":617.7999999821186},{"duration":684.2999999821186,"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":617.9000000059605,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":617.9000000059605,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1302.199999988079,"responseStart":0,"secureConnectionStart":0},{"duration":684.8000000119209,"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":618.0999999940395,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":618.0999999940395,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1302.9000000059605,"responseStart":0,"secureConnectionStart":0},{"duration":684.3000000119209,"initiatorType":"script","name":"https://jira.workterra.net/rest/api/1.0/shortcuts/805012/e80c7a6aee0fa86c2b1a716575a614aa/shortcuts.js?context=issuenavigation&context=issueaction","startTime":618.0999999940395,"connectEnd":618.0999999940395,"connectStart":618.0999999940395,"domainLookupEnd":618.0999999940395,"domainLookupStart":618.0999999940395,"fetchStart":618.0999999940395,"redirectEnd":0,"redirectStart":0,"requestStart":618.0999999940395,"responseEnd":1302.4000000059605,"responseStart":1302.4000000059605,"secureConnectionStart":618.0999999940395},{"duration":684.8000000119209,"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":618.1999999880791,"connectEnd":618.1999999880791,"connectStart":618.1999999880791,"domainLookupEnd":618.1999999880791,"domainLookupStart":618.1999999880791,"fetchStart":618.1999999880791,"redirectEnd":0,"redirectStart":0,"requestStart":618.1999999880791,"responseEnd":1303,"responseStart":1303,"secureConnectionStart":618.1999999880791}],"threshold":1000,"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":428,"responseStart":594,"responseEnd":616,"domLoading":599,"domInteractive":1896,"domContentLoadedEventStart":1896,"domContentLoadedEventEnd":1961,"domComplete":2325,"loadEventStart":2325,"loadEventEnd":2328,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[],"measures":[],"correlationId":"253a57f7929790","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":141,"dbReadsTimeInMs":90,"dbConnsTimeInMs":94,"applicationHash":"156decd7d2b4272533aa6cefc8294af635e1da97","experiments":[]}}
Concern: Getting server error while updating start date for cloned health plan
Cause: While query execution it was failing due to Sub-query returned more than 1 value.
Correction: Added In condition instead of equals to (i.e. =) condition
*Affected Areas: *Health Rates cloning
Affected File Name: trgUpdBilledRateAndSelfInsuredChanges_Log
*Tested Scenario: *
1. Checked save functionality with changing values and without changes in values.
2. Checked effective date and end date/Termination date on screen after clone rates.
3. Validate effective date are updated or not into BilledRateChanges_Log and SelfInsuredRateChanges_Log tables.