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

2020.R4(S5): Post Waste API - Investigate Posting Items on Sundays

    Details

    • Type: Sprint Defect
    • Status: Done (View Workflow)
    • Priority: Major
    • Resolution: Completed
    • Affects Version/s: CFA 2020R4
    • Fix Version/s: CFA 2020R4
    • Component/s: API
    • Labels:
      None
    • SCRUM Team:
      Brotherhood of Mutants
    • Sprint:
      CFAMX 2020R4 Sprint 5

      Description

      Description I realize you can't post waste on Sundays through the Mobile UI, but should you be able to post waste on Sundays through the API? Please investigate possible solutions for AC #11 "Confirm that the date included cannot be a Sunday"

      Steps
      1. Navigate to Swagger UI: http://api.inform.jatesting.cfahome.com/swagger/ui/index#!/Waste/Waste_PostItem

      { "itemCode": "100021", "isRaw": false, "unitTotal": 10, "unitUom": "Each", "applyDate": "2020-08-16T08:15:24.849Z", <--- Sunday "reason": "Expired" }

      2. Enter the required data include the JWT that you get from Postman
      3. Click "Try it Out"

      Results: Waste is posted, even though it is Sunday
      Expected: Error: "Invalid BusinessDay: Date

      {applyDate}

      does not fall on a valid BusinessDay."

        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:

                  PagerDuty

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