Uploaded image for project: 'CFA MX '
  1. CFA MX
  2. CFAMX-8512

2020.R2(S4):Shift Validation Update- Exception thrown when no shifts to update

    Details

    • Type: Sprint Defect
    • Status: Done (View Workflow)
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: CFA 2020R2
    • Fix Version/s: CFA 2020R2
    • Component/s: HelpDesk
    • Labels:
      None
    • SCRUM Team:
      Brotherhood of Mutants
    • Source Code ID(s):
    • Sprint:
      CFAMX 2020R2 SA Sprint 4

      Description

      Technically, this story is still in DIT, but since I have other stories and automation to work on, I logged this defect just to keep track of QA progress.

      If there are no Cashier shifts to validate, the below exception is thrown. I tested this in MMS as well and no exception was thrown (it said it was successful, which probably doesn't make sense either)

      Environment: JAT
      build #: CFA - 20.2.0.2988
      Store: 70049 Truett's Grill
      Date: 2-12-2020
      URL: https://m.inform.jatesting.cfahome.com/#/Administration/HelpDesk
      Script: Shift Validation Status Update

      1. Navigate to URL
      2. Select the above script
      3. Review the script
      4. Click Execute

      Expected: User friendly error

      Results:

      Object reference not set to an instance of an object.
      ERRORSHELPABOUT
      System.NullReferenceException
      Object reference not set to an instance of an object.

      System.NullReferenceException: Object reference not set to an instance of an object.
      at Mx.Administration.Services.CommandServices.HelpDeskCommandService.ExecuteUpdateScript(HelpDeskScriptExecuteRequest request)
      at lambda_method(Closure , Object , Object[] )
      at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c_DisplayClass10.<GetExecutor>b_9(Object instance, Object[] methodParameters)
      at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)
      — End of stack trace from previous location where exception was thrown —
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                soma.dixon Soma Dixon (Inactive)
                Reporter:
                soma.dixon Soma Dixon (Inactive)
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4h
                  4h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h Time Not Required
                  3h

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.