Bug 38288

Summary: Provide openURL backwards compatibility with FreeForm
Product: Koha Reporter: Pedro Amorim <pedro.amorim>
Component: ILLAssignee: Pedro Amorim <pedro.amorim>
Status: Needs documenting --- QA Contact: Martin Renvoize (ashimema) <martin.renvoize>
Severity: normal    
Priority: P5 - low CC: david, lucas, martin.renvoize, pedro.amorim, tomascohen
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: Trivial patch Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
24.11.00
Circulation function:
Bug Depends on: 35570    
Bug Blocks:    
Attachments: Bug 38288: Fallback to Standard if FreeForm
Bug 38288: Fallback to Standard if FreeForm
Bug 38288: Fallback to Standard if FreeForm

Description Pedro Amorim 2024-10-29 14:36:50 UTC

    
Comment 1 Pedro Amorim 2024-10-29 14:38:52 UTC
Created attachment 173658 [details] [review]
Bug 38288: Fallback to Standard if FreeForm

A regular openURL works fine:
http://localhost:8080/cgi-bin/koha/opac-illrequests.pl?backend=Standard&title=Koha%20is%20cool&method=create&genre=article&openurl=1

Problem is existing third-party systems may be linking to Koha using FreeForm, not Standard

Test plan:
1) Access the OPAC URL from above.
2) Notice it works.
3) Replace the word 'Standard' with 'FreeForm'. It no longer works.
4) Apply patch. Repeat.
Comment 2 David Nind 2024-10-29 21:29:13 UTC
Created attachment 173691 [details] [review]
Bug 38288: Fallback to Standard if FreeForm

A regular openURL works fine:
http://localhost:8080/cgi-bin/koha/opac-illrequests.pl?backend=Standard&title=Koha%20is%20cool&method=create&genre=article&openurl=1

Problem is existing third-party systems may be linking to Koha using FreeForm, not Standard

Test plan:
1) Access the OPAC URL from above.
2) Notice it works.
3) Replace the word 'Standard' with 'FreeForm'. It no longer works.
4) Apply patch. Repeat.

Signed-off-by: David Nind <david@davidnind.com>
Comment 3 David Nind 2024-10-29 21:30:03 UTC
Testing notes (using KTD):

1. Apply bug 35570
2. Update the database: updatedatabase
3. Restart everything: restart_all
4. Enable the ILL module: ILLModule
5. Follow the test plan
6. When applying 38288, say 'n' to applying dependent patches
Comment 4 Martin Renvoize (ashimema) 2024-10-31 07:24:07 UTC
Created attachment 173751 [details] [review]
Bug 38288: Fallback to Standard if FreeForm

A regular openURL works fine:
http://localhost:8080/cgi-bin/koha/opac-illrequests.pl?backend=Standard&title=Koha%20is%20cool&method=create&genre=article&openurl=1

Problem is existing third-party systems may be linking to Koha using FreeForm, not Standard

Test plan:
1) Access the OPAC URL from above.
2) Notice it works.
3) Replace the word 'Standard' with 'FreeForm'. It no longer works.
4) Apply patch. Repeat.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Comment 5 Martin Renvoize (ashimema) 2024-10-31 07:24:27 UTC
Simple follow-up for bug 35570.  All working, Passing QA
Comment 6 Katrin Fischer 2024-10-31 10:33:45 UTC
Pushed for 24.11!

Well done everyone, thank you!
Comment 7 Lucas Gass (lukeg) 2024-12-05 21:32:38 UTC
Missing 24.05.x deps, no backport.