[Koha-bugs] [Bug 14233] Add logging support to notices and slips management
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Feb 11 13:16:59 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14233
Owen Leonard <oleonard at myacpl.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Needs Signoff |Failed QA
--- Comment #19 from Owen Leonard <oleonard at myacpl.org> ---
(In reply to Martin Renvoize from comment #15)
> Created attachment 116672 [details] [review]
> Bug 14233: Add logging to notice create/update/delete
>
> This patch adds the call to logaction to record when a notice is added
> or changed.
>
> Test plan
> 1/ Add a new notice and check a corresponding line appears in the
> action_logs table.
At this stage I get an error:
C4::Log::logaction(): DBI Exception: DBD::mysql::st execute failed: Incorrect
integer value: 'reserves' for column 'object' at row 1 [for Statement "Insert
into action_logs (timestamp,user,module,action,object,info,interface) values
(now(),?,?,?,?,?,?)" with ParamValues: 0="20375", 1='NOTICES', 2='CREATE',
3="reserves", 4="Lorem ipsum", 5='Intranet'] at
/kohadevbox/koha/tools/letter.pl line 346
at /usr/share/perl5/DBIx/Class/Exception.pm line 77
The notice gets added but I don't see anything in the log.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list