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

Duplicate Audit Records when adding/removing store from Ad Hoc zone

    Details

    • Type: Testing Defect
    • Status: Done (View Workflow)
    • Priority: Major
    • Resolution: Completed
    • Affects Version/s: CFA 2022R1
    • Fix Version/s: CFA 2022R2
    • Component/s: Core
    • Labels:
      None
    • SCRUM Team:
      Brotherhood of Mutants
    • Sprint:
      2022.R2 New Features Sprint 1

      Description

      When testing the new logic to trigger the Order Guide when a store is added/removed from an Ad Hoc zone it was noticed that two audit records are written, one saying that store was added and one saying that it was removed.
      Example:

      • Entity 01919 - Denton Towne Crossing FSU (1041) deleted from zone Testing 0806 (946) in zone type Location - Ad Hoc (50)
      • Entity 01919 - Denton Towne Crossing FSU (1041) added to zone Testing 0806 (946) in zone type Location - Ad Hoc (50)

      When testing this in Staging, only one audit record gets written per action

      Add:

      • Entity 00048 - Chapel Hills Mall (32) added to zone Fish Friday (888) in zone type Location - Ad Hoc (50)

      Remove:

      • Entity 00048 - Chapel Hills Mall (32) deleted from zone Fish Friday (888) in zone type Location - Ad Hoc (50)
      SQL

      select * from tbaudit with(nolock)
      where auditdatetime > '2022-01-04 14:00:00'
      and AuditCategoryID = 4

        Attachments

        1. Defect_Resolved.png
          89 kB
          Tristan Strong
        2. screenshot-1.png
          11 kB
          Will Englefield

          Issue Links

            Activity

              People

              • Assignee:
                Tristan.Strong Tristan Strong
                Reporter:
                will.englefield Will Englefield (Inactive)
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2h
                  2h
                  Remaining:
                  0h
                  Logged:
                  Time Not Required
                  1m

                    PagerDuty

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