Uploaded image for project: 'mod-circulation'
  1. mod-circulation
  2. CIRC-1789

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

    XMLWordPrintable

Details

    • Odin Sprint 168, Odin Sprint 169, Odin Sprint 170, Odin Sprint 171, Odin Sprint 172, Odin Sprint 173, Odin Sprint 174, Odin Sprint 175
    • Odin
    • Poppy (R2 2023)
    • TBD

    Description

      Purpose: Please add the object "User primary address", and the tokens that belong to it, to the Notice context, for these notice categories:
      Loan + Request + Automated fee/fine charge + Automated fee/fine adjustment

      Scenarios:

      1. Scenario:

      • Given: I have received an email, the notice template of which contains a token in the section "User primary 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.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Janis Saldabols Janis Saldabols
                JulieBickle_LMU Julie Bickle
                Charlotte Whitt Charlotte Whitt
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases