[Koha-bugs] [Bug 23971] Add logging for basket related actions

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 29 16:26:31 CET 2019


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

Andrew Isherwood <andrew.isherwood at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Failed QA                   |Needs Signoff

--- Comment #8 from Andrew Isherwood <andrew.isherwood at ptfs-europe.com> ---
The nature of the logging has now changed according to customer requirements. I
am logging less, and it is necessary now to use table joins in reports in order
to gain access to the more detailed information, this will make the logging
done here much more usable and flexible.

Katrin and Séverine - I agree that basket reopening would be a useful thing to
log, but it is outside of the scope of the requirements for this bug. There are
many Acq actions that could be logged, I'm hoping these will be added in time.

Katrin - I have put the logging behind an AcqLog syspref, thanks for
highlighting this.

Revised test plan:

- Apply the patch
=> TEST: Observe there is a new "AcqLog" syspref
- Enable the AcqLog syspref
- Create a basket
=> TEST: Observe that an Acquisitions action log has been created containing:
  => Basket number
- Modify a basket
=> TEST: Observe that an Acquisitions action log has been created containing:
  => Basket number
  => Borrowernumber of the user who modified the basket, this is stored in
"info" as a left padded 10 digit number which can be joined on to the borrowers
table
- Approve a basket via EDI
=> TEST: Observe that an Acquisitions action log has been created containing:
  => Basket number
  => Borrowernumber of the user who approved the basket, this is stored in
"info" as a left padded 10 digit number which can be joined on to the borrowers
table
- Close a basket
=> TEST: Observe that an Acquisitions action log has been created containing:
  => Basket number
  => Borrowernumber of the user who closed the basket, this is stored in "info"
as a left padded 10 digit number which can be joined on to the borrowers table

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


More information about the Koha-bugs mailing list