http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7817
--- Comment #4 from Kyle M Hall <[email protected]> --- I have found the problem: Bug 6034, Shelving cart feature can wipe permanent shelving location in certain circumstances, added "permanent_location => undef" at line 430 of Items.pm. When permanent_locations is not mapped, it always uses null as the value from this hash. Solution: comment out line 430. I don't know if this will have any other affects. Potential problem: If a library decides to map permanent_location to a marc field, they will be unable to set it to a null value. Possibly better solution: build %default_values_for_mod_from_marc via a subroutine that checks to see if each column is mapped to a marc field, and deletes that key if it is not. That way, any unmapped fields will not be nulled when an item is edited. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://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/
