Koha-clms/t/cypress/integration
Nick Clemens f1ca516b60
Bug 39829: Allow custom title in SIP responses
This patch adds a custom aj_field_template to the sip accounts
This allows libraries to specify a template for the title (AJ) field in sip
messages

The template allows using item and biblio fields (item provides access to biblio. but we pass
both in order to makes the templates simpler

To test:
1 - Install patches
2 - updatedatabase, yarn build, restart_all
3 - Setup a sip account, KTD already has a sip patron, term1, you can use that
    don't add the aj_field_template yet
4 - Find or create a biblio with 245a and 245b like 245$aTitle : $bSubtitle and add item with TESTBARCODE
5 - From the command line:
    perl misc/sip_cli_emulator.pl -su term1 -sp term1 -l CPL -t CR -a localhost -p 6001 -m item_information --item TESTBARCODE
6 - Confirm AJ field shows "Title :" as expected
7 - Edit sip account, set aj_field_template to:
    [% biblio.title %] [% biblio.subtitle %] [% item.barcode %]
8 - Repeat the sip test
9 - Confirm you get the response like:
    Title : Subtitle TESTBARCODE
10 - Sign off!

Signed-off-by: Bob Bennhoff <bbennhoff@clicweb.org>
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
2026-09-03 10:56:52 +00:00
..
Acquisitions Bug 42605: Add automated tests 2026-08-28 16:36:33 +00:00
Admin Bug 40191: Update Cypress tests for split button navigation changes 2026-01-22 09:25:55 -07:00
Auth Bug 42066: Add a Cypress test 2026-07-16 17:05:02 +00:00
Circulation Bug 42862: Use current-relative dates in bookingsModalDatePicker_spec.ts 2026-06-29 15:38:59 +00:00
ERM Bug 42801: Fix race condition in ERM/UsageReports_spec.ts 2026-07-17 13:49:06 +00:00
ILL Bug 43354: Fix ILL request table search 2026-09-01 15:42:00 +00:00
Islands Bug 42772: Cypress.env => cy.env 2026-07-20 12:45:01 +00:00
KohaTable Bug 43174: (QA follow-up) Restore user choices on redraw independent of search state 2026-07-31 13:40:30 +00:00
OPAC Bug 42772: Cypress.env => cy.env 2026-07-20 12:45:01 +00:00
Patron Bug 42423: Add a Cypress test 2026-04-23 09:25:08 -06:00
Preservation Bug 40191: Update Cypress tests for split button navigation changes 2026-01-22 09:25:55 -07:00
SIP2 Bug 39829: Allow custom title in SIP responses 2026-09-03 10:56:52 +00:00
Tools Bug 42783: Fix ManageMarcImport_spec.ts 2026-06-08 14:16:25 +00:00
t Bug 41587: (follow-up) Remove unused imports causing webpack node: URI errors 2026-03-20 15:16:23 +00:00
AdditionalFields_spec.ts Bug 38446: Add a dedicated route to retrieve ERM-related additional fields 2025-11-17 15:15:38 -07:00
BiblioFrameworkCode_spec.ts Bug 42606: Add Cypress tests 2026-05-26 08:37:34 -06:00
Breadcrumbs_spec.ts Bug 38201: Add VueFramework cypress tests 2025-10-02 09:40:16 -06:00
HttpClient_spec.ts Bug 42705: Add HttpClient_spec.ts 2026-06-02 15:07:21 +00:00
InfiniteScrollSelect_spec.ts Bug 40191: Update Cypress tests for split button navigation changes 2026-01-22 09:25:55 -07:00
PatronSearchDebounce_spec.ts Bug 41039: Add cypress tests 2025-11-18 06:56:54 -07:00
Sidebar_spec.ts Bug 42322: Add Cypress tests 2026-08-25 08:56:46 +00:00
Toolbar_spec.ts Bug 40430: Fix Toolbar_spec.ts 2025-07-21 14:01:28 -06:00
VueFramework_spec.ts Bug 38262: Fix VueFramework_spec.ts 2026-02-12 07:58:40 -07:00
flatpickr_spec.ts Revert "Bug 37493: [DONT PUSH] Test only - Force test fail" 2024-09-02 17:21:50 +02:00