Koha/installer/data/mysql/mandatory
Emily Lamancusa 89a0c62da4
Bug 37216: Fix SQL for EmailFieldSelection
Test plan:
Part A: New installation
1. Start a fresh test instance
2. Set EmailFieldPrimary to "selected addresses", and do not touch
    EmailFieldSelection
3. Edit a patron to ensure the following fields are set:
   - Primary email
   - Secondary email
   - Alternate email
   - Enable email notices for item checkout
4. Attempt to check an item out to that patron
--> Koha explodes!
5. Apply patch
6. reset_all
7. Repeat steps 2-4
--> Checkout succeeds!
8. Ensure test plan for bug 12802 still passes

Part B: Upgraded installation
1. Start a fresh test instance at version 23.11
2. Switch to main
3. Install database update
4. Set EmailFieldPrimary to "selected addresses", and do not touch
    EmailFieldSelection
5. Edit a patron to ensure the following fields are set:
   - Primary email
   - Secondary email
   - Alternate email
   - Enable email notices for item checkout
6. Attempt to check an item out to that patron
--> Koha explodes!
7. Go back to 23.11 and reset_all
8. Switch to main and apply patch
9. Repeat steps 4-6
--> Checkout succeeds!
10. Ensure test plan for bug 12802 still passes

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-07-01 18:55:44 +02:00
..
audio_alerts.sql
auth_val_cat.sql Bug 32435: Add TICKET_RESOLUTION authorized value 2024-04-30 12:01:08 +02:00
keyboard_shortcuts.sql Bug 27769: Update default key mapping to copy text 2024-06-10 16:18:56 +01:00
message_transport_types.sql
sample_notices_message_attributes.sql
sample_notices_message_transports.sql
subtag_registry.sql Bug 18493: (follow-up) Fix typo descriptionsn 2024-06-11 12:22:08 +01:00
sysprefs.sql Bug 37216: Fix SQL for EmailFieldSelection 2024-07-01 18:55:44 +02:00
userflags.sql
userpermissions.sql Bug 29393: Add send_messages_to_borrowers permission 2024-04-29 17:37:58 +02:00