[Koha-bugs] [Bug 29046] Allow libraries to specify email order for "AutoEmailPrimaryAddress"

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 13 21:09:10 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29046

Caroline Cyr La Rose <caroline.cyr-la-rose at inlibro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |caroline.cyr-la-rose at inlibr
                   |                            |o.com

--- Comment #8 from Caroline Cyr La Rose <caroline.cyr-la-rose at inlibro.com> ---
I tested the new syspref and it works.

1. Add primary, secondary and alternate email addresses in a patron's account
   - Primary email = primary at ...
   - Secondary email = secondary at ...
   - Email, under Alternate address = alternate at ...

2. Set EmailFieldPrimary to first valid

3. In the patron's account click More > Send welcome email

4. Check the message_queue, the to_address should be primary at ...

select to_address, message_transport_type, letter_code, time_queued from
message_queue where date(time_queued) = curdate();

5. Set EmailFieldPrecedence to emailpro|B_email|email

6. Repeat steps 3 and 4, the to_address should be secondary at ...

7. Set EmailFieldPrecedence to B_email|email|emailpro

8. Repeat steps 3 and 4, the to_address should be alternate at ...

9. Set EmailFieldPrecedence to email|emailpro|B_email

10. Remove the primary email from the patron's account

14. Repeat steps 3 and 4, the to_address should be secondary at ...

15. Remove the secondary email from the patron's account

16. Repeat steps 3 and 4, the to_address should be alternate at ...

Try other orders in EmailFieldPrecedence and removing the emails in a different
order.

I added a link from EmailFieldPrimary to the new syspref and changed the link
to reflect the changes in the dependant bug 33192...

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list