When editing some records, the editing items returns an error :
Can't call method "field" on an undefined value at /home/koha/src/cataloguing/additem.pl line 570."
Created attachment 11125 [details] [review]
Small correction to test existance of $hostrecord before continuing.
EasyAnalyticalRecords must be activated to be concerned by this bug.
Activate 'EasyAnalyticalRecords' syspref.
Edit a record on a framework containing visible : 773$0 for MARC21/NORMARC, 461$0 for UNIMARC.
Use in this subfield a value that does not correspond to an existing biblionumber.
Save the record.
Go to "edit items".
=> Without patch : software error
=> With patch : no error
Created attachment 11181 [details] [review]
Bug 8503: Software error in edit items with EasyAnalyticalRecords
Signed-off-by: Jared Camins-Esakov <firstname.lastname@example.org>
Solves software error when editing items for record with invalid
Maybe we want to add a log line if something is wrong, isn't it ?
(In reply to comment #4)
> QA Comments:
> Maybe we want to add a log line if something is wrong, isn't it ?
I don't think so, no. Someone may be storing other data in subfield $0.
(In reply to comment #5)
> I don't think so, no. Someone may be storing other data in subfield $0.
ok, so marking as Passed QA.
Pushed to 3.8.x will be in 3.8.4
*** Bug 8699 has been marked as a duplicate of this bug. ***