[Koha-bugs] [Bug 28832] New: Batch modification always clears permanent_location if it is mapped in frameworks

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Aug 9 18:02:25 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28832

            Bug ID: 28832
           Summary: Batch modification always clears permanent_location if
                    it is mapped in frameworks
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Tools
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

On bug 27837 we ensured that the value for permanent_location was always passed
through to the edit

Unfortunately - when performing a batch mod the field is not set if we don't
want to change it or clear it

Forcing the pass through then means we clear the field on every update

To recreate:
1 - In frameworks add a new subfield to 952, "C" - make it editable in items
tab and visible in intranet/editor
2 - In mappings map that subfield to items.permanent_location
3 - Set an item to have differing shelving location and permanent_location
4 - This saves correctly for an individual item
5 - Edit the item using Tools->batch item modification, updating the note field
6 - Note the permanet_location is removed
7 - Check the DB, the field is set to NULL

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list