[Koha-bugs] [Bug 36118] ILL request log does not display patron information

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 15 23:33:24 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36118

Victor Grousset/tuxayo <victor at tuxayo.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #163180|0                           |1
        is obsolete|                            |

--- Comment #16 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
Created attachment 163285
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=163285&action=edit
Bug 36118: Update status and send notice core actions logging

1) Enable ILLlog sys pref
2) Enable ILLModule and install 'FreeForm', run:
bash <(curl -s
https://raw.githubusercontent.com/ammopt/koha-ill-dev/master/start-ill-dev.sh)
3) Create a new FreeForm request, visit:
<INTRA_URL>/cgi-bin/koha/ill/ill-requests.pl?method=create&backend=FreeForm
4) You need to checkout FreeForm's branch compatible with the CSRF work:
cd /kohadevbox/koha/Koha/Illbackends/FreeForm
git checkout b_36243
koha-plack --restart kohadev
5) Pick a type, insert '42' on cardnumber and pick a library, hit 'Create'
6) On the next screen, click 'Confirm request' and confirm.
7) Click 'ILL request log', notice the entry is there but has no information
about who did the logged action.
8) Apply patches. Repeat steps 3) to 6). Notice the logged action now has
information about the user who did the action.
9) Extra: Click 'Send notice to patron' and confirm that action is also logged
with patron information.

To my knowledge, these are the only 2 actions logged by core Logger.
Backends logging their own actions that want patron information need to add it
themselves following this pattern.

Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list