[Koha-bugs] [Bug 14733] Prevent a record from having holds with duplicate priorities

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 26 17:48:02 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14733

--- Comment #2 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 41997
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41997&action=edit
Bug 14733 - Prevent a record from having holds with duplicate priorities

It is possible to create holds with duplicate priorities.

The reason for this is that typically the priority is calculated before
placing the hold. When the hold is placed the priority is calculated.
This can easily be shown by opening up two browser windows and starting
to place a hold for a record in each one. You'll see that both list the
same priority. If you than place the hold in each window, both holds
will have the same priority!

Test Plan:
1) Run unit tests pre-patch, note they fail
2) Run unit tests post-patch, note they succeed

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


More information about the Koha-bugs mailing list