https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32175
--- Comment #3 from David Cook <dc...@prosentient.com.au> --- Created attachment 143738 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=143738&action=edit Bug 32175: Prevent Javascript error by checking for kohafield sibling This patch checks for kohafield sibling before proceeding with data clone when creating items during receival. If the kohafield sibling is not available, don't try to clone the value. Test plan: 1. Create a test vendor 2. Create a test basket (create item on receival) 3. Create a test order for 3 items 4. Close the test basket 5. Receive the order 6. Fill out many item fields including "Date acquired" 7. Click "Add item" 8. Note that the fields aren't cloned and there is a Javascript error in the console 9. Apply the patch 10. Refresh the page 11. Fill out many item fields including "Date acquired" 12. Click "Add item" 13. Note that the fields are cloned, except "Date acquired" -- 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/