https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28530
--- Comment #116 from Lucas Gass (lukeg) <[email protected]> --- New test plan: Test Plan: 1) Apply this patch set 2) Run updatedatabase.pl 3) Restart all the things! 4) Enable UseLibraryFloatLimits 5) Verify items float correctly as per your circulation rules 6) Set some float limits from the Library Float Limits configuration page in the Administration section, for example: 7) Create some float limits for a single itemtype, we are testing with REF itemtypes in k-t-d as there are none by default, so add these float limits for the REF itemtype: -CPL: 2 -FFL: 2 -FPL: 2 -FRL: 2 -ITP: 2 The rest should be set 0 or remain empty. 8) Create or have the following items: -CPL: 2 REF items -FFL: 2 REF items -FPL: 2 REF items -FRL: 2 REF items -ITP: 2 REF items 9) In Circulation rules set ‘Default checkout, hold and return policy’ to ‘item floats’. 10) Ensure you are logged in as CPL. 11) Check in a CPL REF item at CPL. It checks in normally. 12) Check in a FFL item at CPL, get a pop-up modal telling you that you have exceeded float limits, this item should return to FFL. 13). Login as FFL, they should have 1 REF item in-transit and 1 REF item on the shelves. 14) Check in a ITP item, since you have exceeded float limits you should get a pop-up telling to return this item to CPL. CPL has 1 on shelf REF item, 1 in transit away. CPL is the best option for this item. 15) Check out both items from FPL at FPL. Still logged in as FFL check in one of your own items. You should be told to return it to FPL, they have the lowest float limit now. 16) Reset all of your items transfers and holding branch data: -delete from branchtransfers; -update items set holdingbranch = homebranch; 17) Set the float limits to each branch to: -CPL: 1 -FFL: 1 -FPL: 1 -FRL: 1 -ITP: 1 18) Every library is now at its float limit. Checkin one of the checked out items for step 15. It should be send back to FPL, since it has the lowest ratio now. 19) Check all items in and reset transfers and holding branch data: -delete from branchtransfers; -update items set holdingbranch = homebranch; 20) Now as FFL, checkin an FFL item. Everyone is over their limit and the ratio is a tie. The item should go to a random branch among the tied candidates. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] 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/
