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

Form Builder: Characters not working for Radio button

    Details

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

      Description

      Form Builder: Characters not working for Radio button When saving data by selecting radio button option with Below character:
      1] ' Saving on form builder but not on Employee additional form page
      2] & Saving on form builder but not on Employee additional form page
      3]"" Saving on form builder but not on Employee additional form page
      4]' Saving on form builder but not on Employee additional form page
      5]| Getting server error When Saving data trough Employee level
      6]<> Getting Server error On Form builder Whiled adding it

      Refer below error Log:
      #6:

      Exception : Conversion failed when converting the varchar value `M` to data type int.
      App Error Log : ControllerAppTier.Save->WORKTERRAControllerAppTier.Save->EmployeeFormBuilder.Save->EmployeeFormBuilder.UpdateFormBuilderAttribute
      Employee ID : 586
      Action Name : GetEmployeeFormBuilderInfo
      Model : System.Web.Mvc.HandleErrorInfo
      Controller : Customization
      Web Error Log : at WORKTERRA.Shared.WORKTERRAControllerWebTier.Save(ObjectType I_objectType, Object objInputObject, Object I_context, Boolean I_mode)
      at WORKTERRA.Shared.Areas.Customization.Models.EmployeeFormBuilderModel.UpdateFormBuilderAttribute(EmployeeData objEmployeeData, Int32 PageID, String PageTitle)
      at WORKTERRA.Shared.Areas.Customization.Models.EmployeeFormBuilderModel.SaveAdditionalForm(EmployeeProfileModel objEmployeeFormBuilder, EmployeeData objEmployeeData)
      at WORKTERRA.Shared.Areas.Customization.Controllers.CustomizationController.GetEmployeeFormBuilderInfo(EmployeeProfileModel objEmployeeFormBuilder)
      at lambda_method(Closure , ControllerBase , Object[] )
      at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
      at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
      at System.Web.Mvc.ControllerActionInvoker.<>c_DisplayClass13.b_10()
      at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
      at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
      at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
      at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)

      #5

      Exception : Conversion failed when converting the varchar value `M` to data type int.
      App Error Log : ControllerAppTier.Save->WORKTERRAControllerAppTier.Save->EmployeeFormBuilder.Save->EmployeeFormBuilder.UpdateFormBuilderAttribute
      Employee ID : 586
      Action Name : GetEmployeeFormBuilderInfo
      Model : System.Web.Mvc.HandleErrorInfo
      Controller : Customization
      Web Error Log : at WORKTERRA.Shared.WORKTERRAControllerWebTier.Save(ObjectType I_objectType, Object objInputObject, Object I_context, Boolean I_mode)
      at WORKTERRA.Shared.Areas.Customization.Models.EmployeeFormBuilderModel.UpdateFormBuilderAttribute(EmployeeData objEmployeeData, Int32 PageID, String PageTitle)
      at WORKTERRA.Shared.Areas.Customization.Models.EmployeeFormBuilderModel.SaveAdditionalForm(EmployeeProfileModel objEmployeeFormBuilder, EmployeeData objEmployeeData)
      at WORKTERRA.Shared.Areas.Customization.Controllers.CustomizationController.GetEmployeeFormBuilderInfo(EmployeeProfileModel objEmployeeFormBuilder)
      at lambda_method(Closure , ControllerBase , Object[] )
      at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
      at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
      at System.Web.Mvc.ControllerActionInvoker.<>c_DisplayClass13.b_10()
      at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
      at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
      at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
      at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)

        Attachments

        1. Long_Formbuilder.png
          Long_Formbuilder.png
          212 kB
        2. Long form builderr.png
          Long form builderr.png
          184 kB
        3. Character_new.png
          Character_new.png
          199 kB
        4. WT-8348 _code_Review Checklist.doc
          24 kB
        5. WT-8348_AffectedFiles.txt
          0.3 kB

          Issue Links

            Activity

            Show
            rashmita.dudhe Rashmita Dudhe (Inactive) added a comment - CC: Swapnil Pandhare , Satya , Niteen Surwase , Hrishikesh Deshpande , Rakesh Roy
            Hide
            sheetal.bodhale Sheetal Bodhale (Inactive) added a comment -

            Hi Akshay Mukkawar,

            Please check this today.

            CC:Satya
            Thanks,
            Sheetal Bodhale

            Show
            sheetal.bodhale Sheetal Bodhale (Inactive) added a comment - Hi Akshay Mukkawar , Please check this today. CC: Satya Thanks, Sheetal Bodhale
            Hide
            akshay.mukkawar Akshay Mukkawar (Inactive) added a comment -

            HI Sheetal Bodhale,

            Okay Sheetal, I am working on it.

            CC:Satya
            Thanks,
            Akshay Mukkawar

            Show
            akshay.mukkawar Akshay Mukkawar (Inactive) added a comment - HI Sheetal Bodhale , Okay Sheetal, I am working on it. CC: Satya Thanks, Akshay Mukkawar
            Hide
            sheetal.bodhale Sheetal Bodhale (Inactive) added a comment - - edited

            Hi,

            We will take this issue in next sprint.We have already planned other tasks in current sprint so can not take this now.

            CC:SatyaSwapnil PandhareAkshay Mukkawar
            Thanks,
            Sheetal Bodhale

            Show
            sheetal.bodhale Sheetal Bodhale (Inactive) added a comment - - edited Hi, We will take this issue in next sprint.We have already planned other tasks in current sprint so can not take this now. CC: Satya Swapnil Pandhare Akshay Mukkawar Thanks, Sheetal Bodhale
            Hide
            akshay.mukkawar Akshay Mukkawar (Inactive) added a comment -

            Hi Rashmita Dudhe,

            Please find below 3C's of the issue,

            Concern: Form Builder: Characters not working for Radio button
            Cause <> : Getting Server error for these special characters on Form builder while adding radio button.
            Correction: java script Validation for Radio button , drop down list , check box is done now. So it will not show server error for <> these special characters.

            Please check this for Radio button,drop down list and check box as well.
            CC : Sheetal Bodhale,Satya
            Thanks,
            Akshay Mukkawar,

            Show
            akshay.mukkawar Akshay Mukkawar (Inactive) added a comment - Hi Rashmita Dudhe , Please find below 3C's of the issue, Concern: Form Builder: Characters not working for Radio button Cause <> : Getting Server error for these special characters on Form builder while adding radio button. Correction: java script Validation for Radio button , drop down list , check box is done now. So it will not show server error for <> these special characters. Please check this for Radio button,drop down list and check box as well. CC : Sheetal Bodhale , Satya Thanks, Akshay Mukkawar,
            Hide
            rashmita.dudhe Rashmita Dudhe (Inactive) added a comment -

            Verified on Lb Environment it not working for below Characters:

            1] ' Saving on form builder but not on Employee additional form page
            Showing validation message

            2] & Saving on form builder but not on Employee additional form page
            Not saving at employee level

            3]“” Saving on form builder but not on Employee additional form page
            Showing validation message

            5]| Getting server error When Saving data trough Employee level
            ErrorID : 0
            ErrorSource : ControllerAppTier.Save->WORKTERRAControllerAppTier.Save->EmployeeFormBuilder.Save->EmployeeFormBuilder.UpdateFormBuilderAttribute
            ErrorMessage: Conversion failed when converting the varchar value 'M' to data type int.

            6]<> showing validation message

            show proper validation message for those Character whcih are restricted.

            Show
            rashmita.dudhe Rashmita Dudhe (Inactive) added a comment - Verified on Lb Environment it not working for below Characters: 1] ' Saving on form builder but not on Employee additional form page Showing validation message 2] & Saving on form builder but not on Employee additional form page Not saving at employee level 3]“” Saving on form builder but not on Employee additional form page Showing validation message 5]| Getting server error When Saving data trough Employee level ErrorID : 0 ErrorSource : ControllerAppTier.Save->WORKTERRAControllerAppTier.Save->EmployeeFormBuilder.Save->EmployeeFormBuilder.UpdateFormBuilderAttribute ErrorMessage: Conversion failed when converting the varchar value 'M' to data type int. 6]<> showing validation message show proper validation message for those Character whcih are restricted.
            Hide
            rashmita.dudhe Rashmita Dudhe (Inactive) added a comment -

            Hi Akshay Mukkawar,

            I have verified this issue on Lb Environment.
            for above mention issues it working properly showing correct validation message as per expected.

            when cross verifying for other character found issue ~ and ^ are allowed on Lb also causing issues like
            ~ not working at employee level
            ^ Break radio button two parts.

            But on Stage it is not acceptable refer below screen shots.

            Thanks,
            Rashmita

            Show
            rashmita.dudhe Rashmita Dudhe (Inactive) added a comment - Hi Akshay Mukkawar , I have verified this issue on Lb Environment. for above mention issues it working properly showing correct validation message as per expected. when cross verifying for other character found issue ~ and ^ are allowed on Lb also causing issues like ~ not working at employee level ^ Break radio button two parts. But on Stage it is not acceptable refer below screen shots. Thanks, Rashmita
            Hide
            aarati.sabnis Aarati Sabnis (Inactive) added a comment -

            Affected File name : WT-8348_AffectedFiles.txt

            Show
            aarati.sabnis Aarati Sabnis (Inactive) added a comment - Affected File name : WT-8348_AffectedFiles.txt
            Hide
            aarati.sabnis Aarati Sabnis (Inactive) added a comment -

            Hello Rashmita Dudhe,

            As you mentioned in above comments, special characters ~ and ^ are also not acceptable.
            So changes are done for ~ and ^ special characters.

            LB check-in is done.

            Thanks,
            Aarati R. Sabnis

            CC Satya,Sheetal Bodhale

            Show
            aarati.sabnis Aarati Sabnis (Inactive) added a comment - Hello Rashmita Dudhe , As you mentioned in above comments, special characters ~ and ^ are also not acceptable. So changes are done for ~ and ^ special characters. LB check-in is done. Thanks, Aarati R. Sabnis CC Satya , Sheetal Bodhale
            Hide
            rashmita.dudhe Rashmita Dudhe (Inactive) added a comment -

            Verified on Lb Environment for special character ~ and ^ showing proper validation message for it.
            Working fine as expected.

            Show
            rashmita.dudhe Rashmita Dudhe (Inactive) added a comment - Verified on Lb Environment for special character ~ and ^ showing proper validation message for it. Working fine as expected.
            Hide
            sanjana.jadhav Sanjana Jadhav (Inactive) added a comment -

            Verified on stage Environment for special character.
            Working fine as expected.

            Show
            sanjana.jadhav Sanjana Jadhav (Inactive) added a comment - Verified on stage Environment for special character. Working fine as expected.

              People

              Assignee:
              sanjana.jadhav Sanjana Jadhav (Inactive)
              Reporter:
              rashmita.dudhe Rashmita Dudhe (Inactive)
              Developer:
              Aarati Sabnis (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

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

                  Time Tracking

                  Estimated:
                  Original Estimate - 30h Original Estimate - 30h
                  30h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 36.3h
                  36.3h