[Koha-bugs] [Bug 27714] Koha::NewsItem->author explodes if the author has been removed
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Feb 17 12:05:06 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27714
--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 116932
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=116932&action=edit
Bug 27714: Prevent Koha::NewsItem->author to explode
If the author of a news has been removed, Koha::NewsItem->author must
not explode
DBIC result _type isn't of the _type Borrower at t/db_dependent/Koha/News.t
line 68.
Test plan:
prove t/db_dependent/Koha/News.t
must return green, and changes must be consistent
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list