Uploaded image for project: 'Workterra BenAdmin'
  1. Workterra BenAdmin
  2. WB-510

Server Error while saving uploaded banner

    Details

    • Environment:
      Production, Pre Production, QA
    • Categories:
      Platform
    • Company:
      El Dorado
    • Reported by:
      Harbinger
    • Level:
      Partner

      Description

      Environment - Production

      Company - El Dorado for HSPL

      Step-
      1.login to application using Partner
      2.Navigate to BenAdmin >>Summary Configuration
      3.Upload Banner image
      4.Click on save

      Actual - Server error

      Expected - It should save and display to employee summary page

      Error Log -
      Exception : Must declare the scalar variable "@ImageName".
      App Error Log : ControllerAppTier.Save->BenAdminControllerAppTier.Save->SummaryConfiguration.Save
      Employee ID : 0
      Action Name : AddEditSummaryConfiguration
      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 c:\WT\branches\UiRefresh-LB\Web\ControllerWebTier\ControllerWebTier\BenAdminControllerWebTier.cs:line 44
      at WORKTERRA.BenAdmin.Areas.Customization.Models.SummaryConfigurationModel.EditSummaryConfiguration()
      at WORKTERRA.BenAdmin.Areas.Customization.Controllers.CustomizationController.AddEditSummaryConfiguration(SummaryConfigurationModel summaryConfigurationModel)
      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.Async.AsyncControllerActionInvoker.b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState)
      at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult)
      at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
      at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.b__3d()
      at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c_DisplayClass46.b_3f()
      at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c_DisplayClass46.b_3f()
      at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)
      at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c_DisplayClass21.<>cDisplayClass2b.b_1c()
      at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c_DisplayClass21.b_1e(IAsyncResult asyncResult)

      apxQA

        Attachments

          Issue Links

            Activity

            Hide
            seema.gaikwad Seema Gaikwad (Inactive) added a comment -

            Modified File

            • App\BusinessLogic\Benefits\SummaryConfiguration.vb
            Show
            seema.gaikwad Seema Gaikwad (Inactive) added a comment - Modified File App\BusinessLogic\Benefits\SummaryConfiguration.vb
            Hide
            seema.gaikwad Seema Gaikwad (Inactive) added a comment -

            Concern: Server Error while saving uploaded banner
            Cause: On Summary configuration page all three banners are saved at a time when we try to save only one banner for other banner query not becomes empty due to this error occurs
            Correction: Inside For loop for each iteration query makes empty

            Show
            seema.gaikwad Seema Gaikwad (Inactive) added a comment - Concern: Server Error while saving uploaded banner Cause: On Summary configuration page all three banners are saved at a time when we try to save only one banner for other banner query not becomes empty due to this error occurs Correction: Inside For loop for each iteration query makes empty
            Hide
            seema.gaikwad Seema Gaikwad (Inactive) added a comment -

            Hi Mahendra Mungase,

            This issue deployed on codemap today.
            Can you please verify this

            Thanks,
            Seema

            Show
            seema.gaikwad Seema Gaikwad (Inactive) added a comment - Hi Mahendra Mungase , This issue deployed on codemap today. Can you please verify this Thanks, Seema
            Hide
            mahendra.mungase Mahendra Mungase (Inactive) added a comment - - edited

            We have verified this issue on CodeMap and observed that it is fixed.Hence marking ready for the stage

            Thanks,
            Mahendra

            Show
            mahendra.mungase Mahendra Mungase (Inactive) added a comment - - edited We have verified this issue on CodeMap and observed that it is fixed.Hence marking ready for the stage Thanks, Mahendra
            Hide
            mahendra.mungase Mahendra Mungase (Inactive) added a comment -

            We have verified this issue on Pre-prod and observed that it is fixed.Hence marking ready for the Production.

            Thanks,
            Mahendra

            Show
            mahendra.mungase Mahendra Mungase (Inactive) added a comment - We have verified this issue on Pre-prod and observed that it is fixed.Hence marking ready for the Production. Thanks, Mahendra
            Hide
            mahendra.mungase Mahendra Mungase (Inactive) added a comment -

            We have verified this issue on Prod and observed that it is fixed.Hence closing the same.

            Thanks,
            Mahendra

            Show
            mahendra.mungase Mahendra Mungase (Inactive) added a comment - We have verified this issue on Prod and observed that it is fixed.Hence closing the same. Thanks, Mahendra
            Hide
            abhay.patil Abhay Patil (Inactive) added a comment - - edited

            apxQA

            Show
            abhay.patil Abhay Patil (Inactive) added a comment - - edited apxQA

              People

              Assignee:
              mahendra.mungase Mahendra Mungase (Inactive)
              Reporter:
              mahendra.mungase Mahendra Mungase (Inactive)
              QA:
              Mahendra Mungase (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Code Review Date:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0h
                  0h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 5.75h
                  5.75h