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

WT -> BCC Invoice Enhancement -> Server Error after searching employee name with single quote.

    XMLWordPrintable

    Details

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

      Description

      company - Symphony_Production_10272016
      1] Login to the application, navigate to Report>Invoice Management.
      2] Navigate to any invoice>Invoice Details. search any term with single quote. (e.g. o'really)

      Actual Result:
      Server error is displaying.
      Expected Result:
      Server error should not be display, record should be get searched.

      Error Log:
      Exception : Input string was not in a correct format.
      App Error Log : ControllerAppTier.GetData->BenAdminControllerAppTier.GetData->InvoiceDetails.GetData->InvoiceDetails.GetTemplateNameWithSimilarSelection
      Employee ID : 0
      Action Name : CreateInvoicePVPost
      Model : System.Web.Mvc.HandleErrorInfo
      Controller : Report
      Web Error Log : at WORKTERRA.BenAdmin.BenAdminControllerWebTier.GetData(ObjectType I_objectType, Hashtable I_criteria, Object I_context, Boolean I_mode, Boolean I_needCollection) in d:\WT\branches\LB\Web\ControllerWebTier\ControllerWebTier\BenAdminControllerWebTier.cs:line 122
      at WORKTERRA.BenAdmin.Areas.Report.Models.InvoiceManagement.CreateInvoiceModel.CheckTemplateWithSimilarSelection(AddInvoiceDetails objInvoiceDetails) in d:\WT\branches\LB\Web\Web Projects\BenAdmin\Areas\Report\Models\InvoiceManagement\CreateInvoiceModel.cs:line 394
      at WORKTERRA.BenAdmin.Areas.Report.Models.InvoiceManagement.CreateInvoiceModel.SaveinvoiceDetails() in d:\WT\branches\LB\Web\Web Projects\BenAdmin\Areas\Report\Models\InvoiceManagement\CreateInvoiceModel.cs:line 257
      at WORKTERRA.BenAdmin.Areas.Report.Controllers.ReportController.CreateInvoicePVPost(CreateInvoiceModel objCreateInvoiceModel) in d:\WT\branches\LB\Web\Web Projects\BenAdmin\Areas\Report\Controllers\InvoiceManagement\InvoiceController.cs:line 68
      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.<>c_DisplayClass42.<BeginInvokeSynchronousActionMethod>b_41()
      at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c_DisplayClass37.<>cDisplayClass39.<BeginInvokeActionMethodWithFilters>b_33()
      at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c_DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b_49()
      at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c_DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b_49()
      at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c_DisplayClass37.<BeginInvokeActionMethodWithFilters>b_36(IAsyncResult asyncResult)
      at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c_DisplayClass25.<>cDisplayClass2a.<BeginInvokeAction>b_20()
      at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c_DisplayClass25.<BeginInvokeAction>b_22(IAsyncResult asyncResult)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              alankar.chavan Alankar Chavan (Inactive)
              Reporter:
              kunal.kedari Kunal Kedari (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0.5h Original Estimate - 0.5h
                  0.5h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.75h
                  0.75h