[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 Dec 6 11:32:43 CET 2019


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

--- Comment #13 from Andrew Isherwood <andrew.isherwood at ptfs-europe.com> ---
(In reply to Séverine Queune from comment #10)
> 3 things about this MODIFY_BASKET log :
>   - as the borrowernumber is saved in the 'user' field, why duplicating it
> in the 'info' field ?

Thanks for point this out, I have attached a patch that removes this
duplication.

>   - in this 'info' field, we usually have the details of the action made by
> the user. To me, the information displays for now in not really usefull.

The idea is that we're logging the minimal amount of information in the action
logs but, through a report, it would be possible to obtain additional
information about the related objects as required, such as basket, borrower
etc. This logging is very much a starting point, I'll be elaborating on this
point in response to Katrin's message.

>   - I only get log when I modify the "Managing library" but not when I
> update the managers of the basket, not when I edit the basket. Is that the
> expected behaviour ?

Again, this logging is a starting point

> 
> > - 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
> I tried several EDI settings but it still doesn't work so one mode ime, I
> didn't test this part (would be happy if someone could help !).

Thanks, I'll do some testing and fix any problems.

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


More information about the Koha-bugs mailing list