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

--- Comment #2 from Jonathan Druart <jonathan.dru...@bugs.koha-community.org> 
---
Created attachment 113394
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=113394&action=edit
Bug 26987: (bug 23463 follow-up) Fix serial receipt if
makePreviousSerialAvailable

$serialitem is not a Koha::Item there, we need to fetch the item before.

Test plan:
Turn makePreviousSerialAvailable on
Create a subscription
Receive an serial item, mark it "arrived"
Without this patch Koha explodes with
No property notforloan for Koha::Serial::Item at
/usr/share/perl5/Exception/Class/Base.pm line 88
Koha::Object::set('Koha::Serial::Item=HASH(0x55dd67c75700)',
'HASH(0x55dd672cec30)') called at /kohadevbox/koha/serials/serials-edit.pl line
273

With this patch applied the notforloan and itype values are correctly
set for the new serial item.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to