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

            seema.gaikwad Seema Gaikwad (Inactive) logged work - 06/Mar/18 12:50 PM
            • Time Spent:
              4h
               
              • Issue analysis
              • Discussion with Komal and Mahendra
              • Fixed issue
              • Unit and impact testing
            mahendra.mungase Mahendra Mungase (Inactive) created issue -
            mahendra.mungase Mahendra Mungase (Inactive) made changes -
            Field Original Value New Value
            Link This issue is caused by NF-4544 [ NF-4544 ]
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Status Open [ 1 ] In Development [ 10007 ]
            Prashant.samal Prashant Samal (Inactive) made changes -
            Workflow WB: Bugs Project Management Workflow [ 65688 ] 0803 Copy of WB: Bugs Project Management Workflow [ 65801 ]
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Remaining Estimate 0h [ 0 ]
            Time Spent 4h [ 14400 ]
            Worklog Id 107535 [ 107535 ]
            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
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Status In Development [ 10007 ] Local Testing [ 10200 ]
            seema.gaikwad Seema Gaikwad (Inactive) logged work - 08/Mar/18 05:01 PM
            • Time Spent:
              0.5h
               

              Testing and code checkins

            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Time Spent 4h [ 14400 ] 4.5h [ 16200 ]
            Worklog Id 107586 [ 107586 ]
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Code Review Date 08/Mar/2018
            Code Reviewed By Pratap Patil [ 18475 ]
            Original Estimate 0h [ 0 ]
            khandu.kshirsagar Khandu Kshirsagar (Inactive) made changes -
            Item State Parent values: LB QA(10201)Level 1 values: LB Deployed(11600)
            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
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Assignee Seema Gaikwad [ seema.gaikwad ] Mahendra Mungase [ mahendra.mungase ]
            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
            mahendra.mungase Mahendra Mungase (Inactive) logged work - 10/Mar/18 06:45 AM
            • Time Spent:
              0.5h
               
              • Issue verified on CodeMap
            mahendra.mungase Mahendra Mungase (Inactive) logged work - 10/Mar/18 06:48 AM
            • Time Spent:
              0.25h
               
              • Issue verified on Preprod
            mahendra.mungase Mahendra Mungase (Inactive) logged work - 10/Mar/18 06:48 AM
            • Time Spent:
              0.25h
               
              • Issue verified on Prod
            rakeshr Rakesh Roy (Inactive) made changes -
            Status Local Testing [ 10200 ] Stage Testing [ 10201 ]
            rakeshr Rakesh Roy (Inactive) made changes -
            Status Stage Testing [ 10201 ] Pre-prod Testing [ 11500 ]
            mahendra.mungase Mahendra Mungase (Inactive) made changes -
            Resolution Done [ 10000 ]
            Status Pre-prod Testing [ 11500 ] Production Review [ 11501 ]
            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
            mahendra.mungase Mahendra Mungase (Inactive) logged work - 13/Mar/18 05:54 AM
            • Time Spent:
              0.25h
               
              • Issue verified on Prod
            mahendra.mungase Mahendra Mungase (Inactive) made changes -
            Time Spent 4.5h [ 16200 ] 5h [ 18000 ]
            Worklog Id 108697 [ 108697 ]
            mahendra.mungase Mahendra Mungase (Inactive) made changes -
            Time Spent 5h [ 18000 ] 5.25h [ 18900 ]
            Worklog Id 108704 [ 108704 ]
            mahendra.mungase Mahendra Mungase (Inactive) made changes -
            Time Spent 5.25h [ 18900 ] 5.5h [ 19800 ]
            Worklog Id 108705 [ 108705 ]
            mahendra.mungase Mahendra Mungase (Inactive) made changes -
            Time Spent 5.5h [ 19800 ] 5.75h [ 20700 ]
            Worklog Id 108719 [ 108719 ]
            rakeshr Rakesh Roy (Inactive) made changes -
            Root Cause Bug [ 18430 ]
            Prashant.samal Prashant Samal (Inactive) made changes -
            Workflow 0803 Copy of WB: Bugs Project Management Workflow [ 65801 ] 2203 WB: Bugs Project Management Workflow [ 66958 ]
            Hide
            abhay.patil Abhay Patil (Inactive) added a comment - - edited

            apxQA

            Show
            abhay.patil Abhay Patil (Inactive) added a comment - - edited apxQA
            mahendra.mungase Mahendra Mungase (Inactive) made changes -
            Status Production Review [ 11501 ] Closed [ 6 ]
            abhay.patil Abhay Patil (Inactive) made changes -
            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.<>c__DisplayClass2b.b__1c()
            at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.b__1e(IAsyncResult asyncResult)

            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.<>c__DisplayClass2b.b__1c()
            at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.b__1e(IAsyncResult asyncResult)

            apxQA
            Prashant.samal Prashant Samal (Inactive) made changes -
            Workflow 2203 WB: Bugs Project Management Workflow [ 66958 ] 0604 Issues Management Workflow [ 68384 ]
            Prashant.samal Prashant Samal (Inactive) made changes -
            Labels ServerError_invalid_Inputs
            Transition Time In Source Status Execution Times
            Seema Gaikwad (Inactive) made transition -
            Open In Development
            45m 49s 1
            Seema Gaikwad (Inactive) made transition -
            In Development In LB Testing
            6h 12m 1
            Rakesh Roy (Inactive) made transition -
            In LB Testing Stage Testing
            3d 3h 43m 1
            Rakesh Roy (Inactive) made transition -
            Stage Testing IN Pre-prod Testing
            6s 1
            Mahendra Mungase (Inactive) made transition -
            IN Pre-prod Testing In Production Review
            13h 9m 1
            Mahendra Mungase (Inactive) made transition -
            In Production Review Closed
            16d 14h 13m 1

              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