Created attachment 116932 [details] [review] 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
Created attachment 117005 [details] [review] 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 Signed-off-by: David Nind <david@davidnind.com>
Created attachment 117019 [details] [review] 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 Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Pushed to master for 21.05, thanks to everybody involved!
Pushed to 20.11.x for 20.11.04
Pushed to 20.05.x for 20.05.10
Not backported to oldoldstable (19.11.x). Feel free to ask if it's needed.