@@ -, +, @@ is not set if field 942 is missing. --- C4/Serials.pm | 6 +++++- api/v1/swagger-ui | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) --- a/C4/Serials.pm +++ a/C4/Serials.pm @@ -1629,7 +1629,11 @@ sub NewSubscription { my $record = GetMarcBiblio($biblionumber); my ( $tag, $subf ) = GetMarcFromKohaField( 'biblio.serial', $bib->{'frameworkcode'} ); if ($tag) { - eval { $record->field($tag)->update( $subf => 1 ); }; + if (my $f = $record->field($tag)) { + $f->update( $subf => 1 ) + } else { + $record->append_fields(MARC::Field->new($tag, '', '', $subf => 1)); + } } ModBiblio( $record, $biblionumber, $bib->{'frameworkcode'} ); } --- a/api/v1/swagger-ui +++ a/api/v1/swagger-ui @@ -1, +1, @@ -Subproject commit f1dc8522ad16a271fe2af2eb00d82a2cd9dc4dcd +Subproject commit dfcd29dd676ac23a054404ee803615b6dc788fab --