[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
Thu Sep 17 14:55:54 CEST 2015


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

Nicole C. Engard <nengard at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #41997|0                           |1
        is obsolete|                            |

--- Comment #7 from Nicole C. Engard <nengard at gmail.com> ---
Created attachment 42659
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42659&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

Signed-off-by: Heather Braum <hbraum at nekls.org>

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


More information about the Koha-bugs mailing list