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: [email protected]
Reporter: [email protected]
CC: [email protected]
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/