[Koha-bugs] [Bug 30754] New: Library transfer limits should not allow for matching library to be unselected

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 13 17:39:57 CEST 2022


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

            Bug ID: 30754
           Summary: Library transfer limits should not allow for matching
                    library to be unselected
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: System Administration
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: katrin.fischer at bsz-bw.de
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, michaela.sieber at kit.edu

When the library matching the current selection is unchecked in the normal
editor for library transfer rules, it will be saved correctly, but will still
display as checked after saving. 

To test:
* Set UseBranchTransferLimits to enforce
* Go to administration > library transfer limits
* Pick a library, unselect all using the link on top and save
* Verify that the library matching your selection is still displaying as
checked
  You can verify that the rule actually appears in:
  select * from branch_transfer_limits;
* Edit the rules again, unselect all and then recheck the library matching the 
    selected library manually. 
  Rerunning the SQL from before will show the rule is now gone:
  select * from branch_transfer_limits;

-- 
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