Uploaded image for project: 'WORKTERRA'
  1. WORKTERRA
  2. WT-7902

WT -> Server Error on SA Utility if health tier policy no is of longer length and characters

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: BenAdmin
    • Labels:
      None
    • Environment:
      QA
    • Bug Severity:
      Medium
    • Module:
      BenAdmin - Enrollment
    • Reported by:
      Harbinger
    • Item State:
      Production Complete - Closed

      Description

      ZCC company

      • Just to test the max length of health tier policy no - i entered a policy no as 'Alan_Dental-A+ (AA) / W lon policy name for testing the policy max length problem in SA utility server error'
      • employee enrolled in respective plan
      • when I tried recalculating healthcare policy no though SA utility - a server error appeared [it worked well with the smaller length policy nos]

      With the client JIRA WT-7819 we have allowed to put Number, alphanumeric letters (a-z, A-Z, 0-9) with white space and only few special characters like - Plus ( + ), Hypen ( - ) , Rounded Brackets ( ( ) ), Forward Slash ( / ) and Underscore (_) for policy nos

      CC - Prasad Pise Hrishikesh Deshpande Sachin Hingole Rakesh Roy Umesh Kadam

        Attachments

        1. Long Length Ser Err.png
          144 kB
          Alankar Chavan
        2. WT-7902 Affected_Files.txt
          0.5 kB
          Abhilash Warkari
        3. WT-7902 Code Review Checklist.doc
          26 kB
          Abhilash Warkari

          Issue Links

            Activity

            alankar.chavan Alankar Chavan (Inactive) created issue -
            Hide
            alankar.chavan Alankar Chavan (Inactive) added a comment -

            related to WT-7819

            Show
            alankar.chavan Alankar Chavan (Inactive) added a comment - related to WT-7819
            Hide
            alankar.chavan Alankar Chavan (Inactive) added a comment -

            Error Log

            Exception : String or binary data would be truncated.The statement has been terminated.
            App Error Log : ControllerAppTier.Save->BenAdminControllerAppTier.Save->SAUtilityToolBox.Save->PlanDesignHealthTierMapping.HealthTierPolicyNoCalculation->PlanDesignHealthTierMapping.RecalculateHealthTierPolicyNo->PlanDesignHealthTierMapping.UpdatePolicyNo_logValues
            Employee ID : 0
            Action Name : ProcessData
            Model : System.Web.Mvc.HandleErrorInfo
            Controller : Customization
            Web Error Log : at WORKTERRA.BenAdmin.BenAdminControllerWebTier.Save(ObjectType I_objectType, Object objInputObject, Object I_context, Boolean I_mode) in d:\WT\branches\LB\Web\ControllerWebTier\ControllerWebTier\BenAdminControllerWebTier.cs:line 65
            at WORKTERRA.BenAdmin.Areas.Customization.Models.SAUtilityToolboxModel.RecalculateHealthTierPolicy() in d:\WT\branches\LB\Web\Web Projects\BenAdmin\Areas\Customization\Models\SAUtilityToolbox\SAUtilityToolboxModel.cs:line 1673
            at WORKTERRA.BenAdmin.Areas.Customization.Models.SAUtilityToolboxModel.ProcessData() in d:\WT\branches\LB\Web\Web Projects\BenAdmin\Areas\Customization\Models\SAUtilityToolbox\SAUtilityToolboxModel.cs:line 629
            at WORKTERRA.BenAdmin.Areas.Customization.Controllers.CustomizationController.ProcessData(SAUtilityToolboxModel objToolBoxModel) in d:\WT\branches\LB\Web\Web Projects\BenAdmin\Areas\Customization\Controllers\SAUtilityToolbox\SAUtilityToolboxController.cs:line 32
            at lambda_method(Closure , ControllerBase , Object[] )

            Show
            alankar.chavan Alankar Chavan (Inactive) added a comment - Error Log Exception : String or binary data would be truncated.The statement has been terminated. App Error Log : ControllerAppTier.Save->BenAdminControllerAppTier.Save->SAUtilityToolBox.Save->PlanDesignHealthTierMapping.HealthTierPolicyNoCalculation->PlanDesignHealthTierMapping.RecalculateHealthTierPolicyNo->PlanDesignHealthTierMapping.UpdatePolicyNo_logValues Employee ID : 0 Action Name : ProcessData Model : System.Web.Mvc.HandleErrorInfo Controller : Customization Web Error Log : at WORKTERRA.BenAdmin.BenAdminControllerWebTier.Save(ObjectType I_objectType, Object objInputObject, Object I_context, Boolean I_mode) in d:\WT\branches\LB\Web\ControllerWebTier\ControllerWebTier\BenAdminControllerWebTier.cs:line 65 at WORKTERRA.BenAdmin.Areas.Customization.Models.SAUtilityToolboxModel.RecalculateHealthTierPolicy() in d:\WT\branches\LB\Web\Web Projects\BenAdmin\Areas\Customization\Models\SAUtilityToolbox\SAUtilityToolboxModel.cs:line 1673 at WORKTERRA.BenAdmin.Areas.Customization.Models.SAUtilityToolboxModel.ProcessData() in d:\WT\branches\LB\Web\Web Projects\BenAdmin\Areas\Customization\Models\SAUtilityToolbox\SAUtilityToolboxModel.cs:line 629 at WORKTERRA.BenAdmin.Areas.Customization.Controllers.CustomizationController.ProcessData(SAUtilityToolboxModel objToolBoxModel) in d:\WT\branches\LB\Web\Web Projects\BenAdmin\Areas\Customization\Controllers\SAUtilityToolbox\SAUtilityToolboxController.cs:line 32 at lambda_method(Closure , ControllerBase , Object[] )
            alankar.chavan Alankar Chavan (Inactive) made changes -
            Field Original Value New Value
            Severity Simple [ 13101 ]
            jyoti.mayne Jyoti Mayne made changes -
            Assignee Jyoti Mayne [ jyoti.mayne ] abhilash warkari [ abhilash.warkari ]
            jyoti.mayne Jyoti Mayne made changes -
            Developer abhilash warkari [ abhilash.warkari ]
            abhilash.warkari Abhilash Warkari (Inactive) made changes -
            Status Open [ 1 ] In Development [ 10007 ]
            abhilash.warkari Abhilash Warkari (Inactive) made changes -
            Item State Parent values: Development(10200)Level 1 values: In Analysis(10204)
            umesh.kadam Umesh Kadam (Inactive) made changes -
            Link This issue relates to WT-7819 [ WT-7819 ]
            umesh.kadam Umesh Kadam (Inactive) made changes -
            Link This issue relates to WT-7031 [ WT-7031 ]
            abhilash.warkari Abhilash Warkari (Inactive) logged work - 01/Jun/17 04:30 PM
            • Time Spent:
              6h
               

              WT-7902 issue
              analysis
              Discussion with umesh
              coding

            umesh.kadam Umesh Kadam (Inactive) logged work - 01/Jun/17 04:30 PM - edited
            • Time Spent:
              2h
               

              Code review, Unit testing with Abhilash

            abhilash.warkari Abhilash Warkari (Inactive) made changes -
            Item State Parent values: Development(10200)Level 1 values: In Analysis(10204) Parent values: Development(10200)Level 1 values: In Progress(10206)
            abhilash.warkari Abhilash Warkari (Inactive) made changes -
            Code Review Date 02/Jun/2017
            Code Reviewed By Umesh Kadam [ 15302 ]
            Dev Due Date 02/Jun/2017
            Item State Parent values: Development(10200)Level 1 values: In Progress(10206) Parent values: Development(10200)Level 1 values: Ready for Local Testing(10209)
            khandu.kshirsagar Khandu Kshirsagar (Inactive) made changes -
            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)
            umesh.kadam Umesh Kadam (Inactive) made changes -
            Assignee abhilash warkari [ abhilash.warkari ] Prasad Pise [ prasadp ]
            abhilash.warkari Abhilash Warkari (Inactive) made changes -
            Remaining Estimate 10h [ 36000 ] 4h [ 14400 ]
            Time Spent 6h [ 21600 ]
            Worklog Id 51952 [ 51952 ]
            abhilash.warkari Abhilash Warkari (Inactive) made changes -
            Remaining Estimate 4h [ 14400 ] 2h [ 7200 ]
            Time Spent 6h [ 21600 ] 8h [ 28800 ]
            Worklog Id 51990 [ 51990 ]
            abhilash.warkari Abhilash Warkari (Inactive) logged work - 02/Jun/17 04:30 PM
            • Time Spent:
              2h
               

              Code Review .
              and code check in LB and UI Refresh

            prasadp Prasad Pise (Inactive) made changes -
            Assignee Prasad Pise [ prasadp ] Alankar Chavan [ alankar.chavan ]
            Hide
            abhilash.warkari Abhilash Warkari (Inactive) added a comment - - edited

            Hi Alankar Chavan,

            Please find below 3Cs :

            Concern Server Error on SA Utility if health tier policy no is of longer length and characters.
            Cause As per current table structure, lenght of policy number allowed in DB is 50 characters only.
            Hence code to insert / update policy number having length greater than 50 characters is failing.
            Correction We have changed size of a policy number column in a DB to allow length up to 250 characters.
            Impacted Areas
            • Health Tier Plan Design Mapping Screens
            • SA Utility : Policy Number Recalculation

            Thanks and Regards,
            Abhilash Warkari

            CC : Jyoti Mayne, Umesh Kadam, Vinanti Yadav

            Show
            abhilash.warkari Abhilash Warkari (Inactive) added a comment - - edited Hi Alankar Chavan , Please find below 3Cs : Concern Server Error on SA Utility if health tier policy no is of longer length and characters. Cause As per current table structure, lenght of policy number allowed in DB is 50 characters only. Hence code to insert / update policy number having length greater than 50 characters is failing. Correction We have changed size of a policy number column in a DB to allow length up to 250 characters. Impacted Areas Health Tier Plan Design Mapping Screens SA Utility : Policy Number Recalculation Thanks and Regards, Abhilash Warkari CC : Jyoti Mayne , Umesh Kadam , Vinanti Yadav
            rakeshr Rakesh Roy (Inactive) made changes -
            Status In Development [ 10007 ] Local Testing [ 10200 ]
            umesh.kadam Umesh Kadam (Inactive) made changes -
            Remaining Estimate 2h [ 7200 ] 0h [ 0 ]
            Time Spent 8h [ 28800 ] 10h [ 36000 ]
            Worklog Id 52315 [ 52315 ]
            umesh.kadam Umesh Kadam (Inactive) made changes -
            Worklog Id 52315 [ 52315 ]
            abhilash.warkari Abhilash Warkari (Inactive) made changes -
            Attachment WT-7902 Affected_Files.txt [ 50927 ]
            abhilash.warkari Abhilash Warkari (Inactive) made changes -
            Attachment WT-7902 Code Review Checklist.doc [ 50928 ]
            rakeshr Rakesh Roy (Inactive) made changes -
            Assignee Alankar Chavan [ alankar.chavan ] Priya Handepatil [ priya.handepatil ]
            priya.handepatil Priya Handepatil (Inactive) logged work - 13/Jun/17 12:44 PM
            • Time Spent:
              0.5h
               

              Testing & Internal disscusson

            priya.handepatil Priya Handepatil (Inactive) made changes -
            Time Spent 10h [ 36000 ] 10.5h [ 37800 ]
            Worklog Id 54622 [ 54622 ]
            priya.handepatil Priya Handepatil (Inactive) made changes -
            Item State Parent values: LB QA(10201)Level 1 values: LB Deployed(11600) Parent values: LB QA(10201)Level 1 values: In Testing(10210)
            priya.handepatil Priya Handepatil (Inactive) made changes -
            Assignee Priya Handepatil [ priya.handepatil ] Alankar Chavan [ alankar.chavan ]
            Hide
            priya.handepatil Priya Handepatil (Inactive) added a comment -

            As Discussed with Alankar ;
            Assigning this issue to Alankar Chavan

            Show
            priya.handepatil Priya Handepatil (Inactive) added a comment - As Discussed with Alankar ; Assigning this issue to Alankar Chavan
            Hide
            alankar.chavan Alankar Chavan (Inactive) added a comment -

            This is tested on WT Stage - Worked Well

            Mapped a Health Tier Policy (with allowed special characters and longer length) - EE enrolled in the respective plan - Recalculated the policy from SA Utility - No Server Error while recalculation

            Ready for Stage

            CC - Prasad Pise Rakesh Roy Priya Handepatil

            Show
            alankar.chavan Alankar Chavan (Inactive) added a comment - This is tested on WT Stage - Worked Well Mapped a Health Tier Policy (with allowed special characters and longer length) - EE enrolled in the respective plan - Recalculated the policy from SA Utility - No Server Error while recalculation Ready for Stage CC - Prasad Pise Rakesh Roy Priya Handepatil
            alankar.chavan Alankar Chavan (Inactive) made changes -
            Item State Parent values: LB QA(10201)Level 1 values: In Testing(10210) Parent values: LB QA(10201)Level 1 values: Ready for Stage(10213)
            alankar.chavan Alankar Chavan (Inactive) logged work - 14/Jun/17 01:34 PM
            • Time Spent:
              1.5h
               

              LB Testing

            alankar.chavan Alankar Chavan (Inactive) made changes -
            Time Spent 10.5h [ 37800 ] 12h [ 43200 ]
            Worklog Id 55090 [ 55090 ]
            umesh.kadam Umesh Kadam (Inactive) made changes -
            Time Spent 12h [ 43200 ] 12.25h [ 44100 ]
            Worklog Id 56037 [ 56037 ]
            khandu.kshirsagar Khandu Kshirsagar (Inactive) made changes -
            Item State Parent values: LB QA(10201)Level 1 values: Ready for Stage(10213) Parent values: Stage QA(10202)Level 1 values: Stage Deployed(11602)
            Hide
            alankar.chavan Alankar Chavan (Inactive) added a comment -

            This is tested on Stage - Worked Well

            Mapped a Health Tier Policy (with allowed special characters and longer length) - EE enrolled in the respective plan - Recalculated the policy from SA Utility - No Server Error while recalculation

            Ready for Production

            CC - Rakesh Roy Prasad Pise

            Show
            alankar.chavan Alankar Chavan (Inactive) added a comment - This is tested on Stage - Worked Well Mapped a Health Tier Policy (with allowed special characters and longer length) - EE enrolled in the respective plan - Recalculated the policy from SA Utility - No Server Error while recalculation Ready for Production CC - Rakesh Roy Prasad Pise
            alankar.chavan Alankar Chavan (Inactive) made changes -
            Item State Parent values: Stage QA(10202)Level 1 values: Stage Deployed(11602) Parent values: Stage QA(10202)Level 1 values: Ready for Production(10217)
            alankar.chavan Alankar Chavan (Inactive) made changes -
            Status Local Testing [ 10200 ] Stage Testing [ 10201 ]
            alankar.chavan Alankar Chavan (Inactive) logged work - 19/Jun/17 12:52 PM
            • Time Spent:
              1h
               

              LB Testing

            alankar.chavan Alankar Chavan (Inactive) made changes -
            Time Spent 12.25h [ 44100 ] 13.25h [ 47700 ]
            Worklog Id 56318 [ 56318 ]
            umesh.kadam Umesh Kadam (Inactive) logged work - 19/Jun/17 04:30 PM
            • Time Spent:
              0.25h
               

              Stage code commit

            umesh.kadam Umesh Kadam (Inactive) made changes -
            Time Spent 13.25h [ 47700 ] 13.5h [ 48600 ]
            Worklog Id 56454 [ 56454 ]
            khandu.kshirsagar Khandu Kshirsagar (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)
            Hide
            alankar.chavan Alankar Chavan (Inactive) added a comment -

            This is tested on Production - Worked Well

            Mapped a Health Tier Policy (with allowed special characters and longer length) - EE enrolled in the respective plan - Recalculated the policy from SA Utility - No Server Error while recalculation

            CC - Prasad Pise Rakesh Roy

            Show
            alankar.chavan Alankar Chavan (Inactive) added a comment - This is tested on Production - Worked Well Mapped a Health Tier Policy (with allowed special characters and longer length) - EE enrolled in the respective plan - Recalculated the policy from SA Utility - No Server Error while recalculation CC - Prasad Pise Rakesh Roy
            alankar.chavan Alankar Chavan (Inactive) made changes -
            Status Stage Testing [ 10201 ] Production Testing [ 10202 ]
            alankar.chavan Alankar Chavan (Inactive) made changes -
            Item State Parent values: Production QA(10203)Level 1 values: Production Deployed(10221) Parent values: Production Complete(10222)Level 1 values: Closed(10223)
            alankar.chavan Alankar Chavan (Inactive) made changes -
            Resolution Fixed [ 1 ]
            Status Production Testing [ 10202 ] Production Complete [ 10028 ]
            alankar.chavan Alankar Chavan (Inactive) made changes -
            Status Production Complete [ 10028 ] Closed [ 6 ]
            umesh.kadam Umesh Kadam (Inactive) logged work - 20/Jun/17 04:30 PM
            • Time Spent:
              0.25h
               

              Production code commit on behalf of Abhilash Warkari

            alankar.chavan Alankar Chavan (Inactive) logged work - 21/Jun/17 05:29 AM
            • Time Spent:
              1h
               

              prod testing

            alankar.chavan Alankar Chavan (Inactive) made changes -
            Time Spent 13.5h [ 48600 ] 14.5h [ 52200 ]
            Worklog Id 56915 [ 56915 ]
            rakeshr Rakesh Roy (Inactive) made changes -
            Bug Severity Medium [ 16702 ]
            satyap Satya made changes -
            Environment_New LB [ 18444 ]
            Transition Time In Source Status Execution Times
            Abhilash Warkari (Inactive) made transition -
            Open In Development
            132d 17h 59m 1
            Rakesh Roy (Inactive) made transition -
            In Development In LB Testing
            4d 3h 54m 1
            Alankar Chavan (Inactive) made transition -
            In LB Testing Stage Testing
            13d 23h 4m 1
            Alankar Chavan (Inactive) made transition -
            Stage Testing In Production Testing
            1d 2h 21m 1
            Alankar Chavan (Inactive) made transition -
            In Production Testing Production Complete
            14s 1
            Alankar Chavan (Inactive) made transition -
            Production Complete Closed
            2s 1

              People

              Assignee:
              alankar.chavan Alankar Chavan (Inactive)
              Reporter:
              alankar.chavan Alankar Chavan (Inactive)
              Developer:
              Abhilash Warkari (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

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

                  Time Tracking

                  Estimated:
                  Original Estimate - 10h Original Estimate - 10h
                  10h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 14.5h
                  14.5h