BE | Add the User primary address tokens to the notice context - in mod-fee-fines

Description

Purpose: Please add the object "User primary address", and the tokens that belong to it, to the Notice context, for these notice categories:
Manual fee/fine charge + Manual fee/fine action (pay, waive, refund, transfer or cancel/error)

Scenarios:

1. Scenario:

  • Given: I have received an email, the notice template of which contains a token in the section "User address" + There is an address selected as "Use as primary address"

  • When: I look at the text of that token in the live email,

  • Then: I see the plain text name of the corresponding field as can be seen in the UI of Users.
    Example: In the email, for the token "user.primaryDeliveryAddressType", I see "Office", and NOT the UUID.

2.  Scenario:

  • Given: I have received an email, the notice template of which contains a token in the section "User address + There is NO address selected as "Use as primary address"

  • When: I look at the text of that token in the live email,

  • Then: The token is empty.

Environment

None

Potential Workaround

None

Attachments

1

Checklist

hide

TestRail: Results

Activity

Show:

Charlotte WhittSeptember 19, 2023 at 8:00 AM

With the succesful test of we can close as obsolete.

Charlotte WhittSeptember 12, 2023 at 3:44 PM

Hi - this ticket I moved to In review. It might be obsolete - as development - but then I use it for test purpose, of testing manual controlled actions like the check out / check in slips

Duplicate

Details

Assignee

Reporter

Tester Assignee

Priority

Sprint

Development Team

Odin

Release

Poppy (R2 2023)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created May 4, 2023 at 4:34 PM
Updated September 19, 2023 at 8:00 AM
Resolved September 19, 2023 at 8:00 AM
TestRail: Cases
TestRail: Runs