https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43569 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Failed QA --- Comment #11 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- We set the result to 0/False if there are errors, but then when handling the errors in _handle_response: return 0 unless $result; # true result: nothing failed So the errors are not reported In update_index I added: + my $err_id; for ( my $i = 0 ; $i < scalar @$index_record_ids ; $i++ ) { my $id = $index_record_ids->[$i]; my $document = $documents->[$i]; push @body, { index => { _id => "$id" } }; push @body, $document; + $err_id = $id; } + if( 1 ){ + $response->{errors} = "Thatone error"; + $response->{items} = [{ index => { error => { reason => "Item error"}, _id => $err_id }}]; + } For testing to ensure errors were passed back -- You are receiving this mail because: You are watching all bug changes.