[Koha-bugs] [Bug 35685] New: ILL - OPAC request creation error if submitted empty while ILLModuleDisclaimerByType is in use
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jan 3 12:54:33 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35685
Bug ID: 35685
Summary: ILL - OPAC request creation error if submitted empty
while ILLModuleDisclaimerByType is in use
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: ILL
Assignee: pedro.amorim at ptfs-europe.com
Reporter: pedro.amorim at ptfs-europe.com
CC: pedro.amorim at ptfs-europe.com
Depends on: 33716
To reproduce:
1) Install FreeForm and enable ILLModule, run:
bash <(curl -s
https://raw.githubusercontent.com/ammopt/koha-ill-dev/master/start-ill-dev.sh)
2) Configure ILLModuleDisclaimerByType, visit:
/cgi-bin/koha/admin/preferences.pl?tab=&op=search&searchfield=ILLModuleDisclaimerByType
Click "edit" and paste the example code into the sys pref value
3) Create a new OPAC ILL request, visit:
/cgi-bin/koha/opac-illrequests.pl?method=create&backend=FreeForm
4) Dont put a type or branch, click 'Create', on the next screen click 'Submit'
5) Notice it explodes
6) Apply patch and repeat. It no longer explodes and now shows an error
message.
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33716
[Bug 33716] ILL - Allow for a disclaimer stage per request type
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list