Koha/serials
Jonathan Druart dc465736cd 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.

Signed-off-by: Magnus Enger <magnus@libriotech.no>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-11-11 16:09:58 +01:00
..
acqui-search-result.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
acqui-search.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
add_user_search.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
checkexpiration.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
claims.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
create-numberpattern.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
lateissues-export.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
reorder_members.pl Bug 20015: use Modern::Perl in Serials perl script 2018-02-05 09:46:45 -03:00
routing-preview.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
routing.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
serials-collection.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
serials-edit.pl Bug 26987: (bug 23463 follow-up) Fix serial receipt if makePreviousSerialAvailable 2020-11-11 16:09:58 +01:00
serials-home.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
serials-search.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
showpredictionpattern.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
subscription-add.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
subscription-batchedit.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
subscription-bib-search.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
subscription-detail.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
subscription-frequencies.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
subscription-frequency.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
subscription-history.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
subscription-numberpattern.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
subscription-numberpatterns.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
subscription-renew.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
viewalerts.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00