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

Wellness -> Issue with Rewards points

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Cancelled
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Wellness
    • Labels:
      None
    • Environment:
      Stage
    • Module:
      Wellness
    • Reported by:
      Harbinger
    • Item State:
      LB QA - On Hold
    • Issue Importance:
      Must Have

      Description

      Below issues are exist on Add/Exit rewards :

      1) Admin cannot Save Premium Reduction.
      2) None Class selection not applies.
      3) Start Date gets blank after Save.

      Due to above Issues Employee cannot redeem rewards points.

        Attachments

          Activity

          Hide
          vijays Vijay Siddha (Inactive) added a comment - - edited

          Hi Samir,

          whom this ticket can be assigned to?

          Thanks
          Vijay
          CC: Umesh Kanade,Satya, Rakesh Roy

          Show
          vijays Vijay Siddha (Inactive) added a comment - - edited Hi Samir, whom this ticket can be assigned to? Thanks Vijay CC: Umesh Kanade , Satya , Rakesh Roy
          Hide
          prasanna Prasanna Karlekar (Inactive) added a comment -

          Concern:
          1. Admin cannot Save Premium Reduction.
          2. None Class selection not applies.
          3. Start Date gets blank after Save.
          4. Reward page, request getting posted twice.

          Cause:
          1. Locally non-repro
          2. Incase of no class selection, nothing was getting returned for Classes collections.
          3. Start date was getting blank, as the control was disabled. For disabled control on posting the form, NULL value is returned.
          In javascript validation fuction that gets called before Save, return statement was getting fired after validating the zip code and before enabling the date control.
          4. Unobtrusive JS files were included twice in WORKTERRALayout as well as WellnessLayout.

          Correction:
          1. No fix needed.
          2. Have returned class collections with -1 value.
          3. Have removed the return statement that was getting fired after Zip code validation.
          4. Have commented inclusion of Unobtrusive JS from WellnessLayout page.

          Files affected:
          WORKTERRAweb/Web/Web Projects/Wellness/Views/Shared/_WellnessLayout.cshtml
          WORKTERRAweb/Web/Web Projects/Wellness/Scripts/Application/Reward.js
          WORKTERRAweb/App/BusinessLogic/Wellness/Reward.cs

          Impacted areas:
          Rewards screen.

          Show
          prasanna Prasanna Karlekar (Inactive) added a comment - Concern: 1. Admin cannot Save Premium Reduction. 2. None Class selection not applies. 3. Start Date gets blank after Save. 4. Reward page, request getting posted twice. Cause: 1. Locally non-repro 2. Incase of no class selection, nothing was getting returned for Classes collections. 3. Start date was getting blank, as the control was disabled. For disabled control on posting the form, NULL value is returned. In javascript validation fuction that gets called before Save, return statement was getting fired after validating the zip code and before enabling the date control. 4. Unobtrusive JS files were included twice in WORKTERRALayout as well as WellnessLayout. Correction: 1. No fix needed. 2. Have returned class collections with -1 value. 3. Have removed the return statement that was getting fired after Zip code validation. 4. Have commented inclusion of Unobtrusive JS from WellnessLayout page. Files affected: WORKTERRAweb/Web/Web Projects/Wellness/Views/Shared/_WellnessLayout.cshtml WORKTERRAweb/Web/Web Projects/Wellness/Scripts/Application/Reward.js WORKTERRAweb/App/BusinessLogic/Wellness/Reward.cs Impacted areas: Rewards screen.
          Hide
          gokul.sonawane Gokul Sonawane (Inactive) added a comment -

          Deployed on stage

          Show
          gokul.sonawane Gokul Sonawane (Inactive) added a comment - Deployed on stage
          Hide
          prasanna Prasanna Karlekar (Inactive) added a comment - - edited

          Concern:
          4. Add Reward Page not getting Saved.
          5. Wellness specific Import/Export menu, icon not appearing
          6. 0 cost was getting displayed for subrates with criteria for Wellness Points and employee with no Wellness points earned. [Have given patch for this with description: After redeem cost getting sum up]

          Cause:
          4. Bundle.config is different on Local, LB and Stage branch. Unobtrusive JS files are mentioned in Bundle.config on LB and Stage but it is commented in Trunk.
          5. Wellness specific Import / Export feature is not in use. Wellness is also using Platform Import / Export feature.
          6. If there was no entry in for an employee in Wellness.tblUserTaskDetails, no points were getting returned from UDF, WL_UDF_GetUserWellnessProgramPoint. Instead 0 points should be returned.

          Correction:
          4. As of now, patch reverted. Need to check, if Wellness files included in Wellness Bundle.config are required.
          5. Deactivated Wellness Import / Export menu
          6. Changes done to return 0 Wellness points, when employee does not earn any Point.

          Changed Files:
          WORKTERRAweb/Web/Web Projects/Wellness/Views/Shared/_WellnessLayout.cshtml
          Database Objects/MasterCompanyDB/02_UDFs/Wellness.WL_UDF_GetUserWellnessProgramPoint.UserDefinedFunction.sql
          Database Objects/MasterCompanyDB/07_Data/46_WT3484_WTB_Wellness_ModData_MenuActions.sql

          Impacted Areas:

          • Wellness Admin and Employee login Reward screen.
          • Wellness Menus
          Show
          prasanna Prasanna Karlekar (Inactive) added a comment - - edited Concern : 4. Add Reward Page not getting Saved. 5. Wellness specific Import/Export menu, icon not appearing 6. 0 cost was getting displayed for subrates with criteria for Wellness Points and employee with no Wellness points earned. [Have given patch for this with description: After redeem cost getting sum up] Cause : 4. Bundle.config is different on Local, LB and Stage branch. Unobtrusive JS files are mentioned in Bundle.config on LB and Stage but it is commented in Trunk. 5. Wellness specific Import / Export feature is not in use. Wellness is also using Platform Import / Export feature. 6. If there was no entry in for an employee in Wellness.tblUserTaskDetails, no points were getting returned from UDF, WL_UDF_GetUserWellnessProgramPoint. Instead 0 points should be returned. Correction : 4. As of now, patch reverted. Need to check, if Wellness files included in Wellness Bundle.config are required. 5. Deactivated Wellness Import / Export menu 6. Changes done to return 0 Wellness points, when employee does not earn any Point. Changed Files : WORKTERRAweb/Web/Web Projects/Wellness/Views/Shared/_WellnessLayout.cshtml Database Objects/MasterCompanyDB/02_UDFs/Wellness.WL_UDF_GetUserWellnessProgramPoint.UserDefinedFunction.sql Database Objects/MasterCompanyDB/07_Data/46_WT3484_WTB_Wellness_ModData_MenuActions.sql Impacted Areas : Wellness Admin and Employee login Reward screen. Wellness Menus
          Hide
          priya.dhamande Priya Dhamande (Inactive) added a comment -

          The testing is on hold till employee login issues is resolved.

          Show
          priya.dhamande Priya Dhamande (Inactive) added a comment - The testing is on hold till employee login issues is resolved.
          Hide
          priya.dhamande Priya Dhamande (Inactive) added a comment - - edited

          For CA login, it is giving Unauthorized access error on clicking Wellness module. Tested on groendyke on LB. Error log for the same is attached with the jira. Due to this isssue unable to proceed further and verify the issue.

          Show
          priya.dhamande Priya Dhamande (Inactive) added a comment - - edited For CA login, it is giving Unauthorized access error on clicking Wellness module. Tested on groendyke on LB. Error log for the same is attached with the jira. Due to this isssue unable to proceed further and verify the issue.
          Hide
          satyap Satya added a comment -

          Hi Priya,

          The Unauthorized access issue has been resolved on LB. Can you please continue verification of other points.

          Thanks & Regards,
          Satya Prakash

          Show
          satyap Satya added a comment - Hi Priya, The Unauthorized access issue has been resolved on LB. Can you please continue verification of other points. Thanks & Regards, Satya Prakash
          Hide
          priya.dhamande Priya Dhamande (Inactive) added a comment -

          The issues are verified on LB for LBSanityCOD company. The issues tested in this patch are:

          1. CA has access to Wellness module.
          2. CA can add Premium Reduction with Flat
          3. CA can add Premium Reduction with Premium Reduction percentage
          4. Start date gets saved once the Award is created.
          5. Now, None is removed from the Status list.

          All above points are accessible and are ready for Stage.

          Show
          priya.dhamande Priya Dhamande (Inactive) added a comment - The issues are verified on LB for LBSanityCOD company. The issues tested in this patch are: 1. CA has access to Wellness module. 2. CA can add Premium Reduction with Flat 3. CA can add Premium Reduction with Premium Reduction percentage 4. Start date gets saved once the Award is created. 5. Now, None is removed from the Status list. All above points are accessible and are ready for Stage.

            People

            Assignee:
            priya.dhamande Priya Dhamande (Inactive)
            Reporter:
            hrishikesh.deshpande Hrishikesh Deshpande (Inactive)
            Developer:
            Prasanna Karlekar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Pre-Prod Due Date:
              Production Due Date: