LP#707167 Make open-ils.actor.usrname.exists not ignore deleted users user/mrpeters-isl/actor_username_stop_ignore_deleted
authorMichael Peters <mrpeters@library.in.gov>
Fri, 16 Mar 2012 17:56:57 +0000 (13:56 -0400)
committerMichael Peters <mrpeters@library.in.gov>
Fri, 16 Mar 2012 17:56:57 +0000 (13:56 -0400)
commitff83d3f8a44c534bed214a0b02f3fbc5409b04ee
treefbe3dcbd91c34c01ec7d90d3a55b39b7b638d684
parent4ff1088b05b03ac57f6447deee2f0e3c98291137
LP#707167 Make open-ils.actor.usrname.exists not ignore deleted users

Currently, open-ils.actor.usrname.exists filters out deleted users.  This
results in a user recieving indication as to why a user update
failed, when the reason is the username they're attempting to use
is in use, but is "deleted" in the database.

This branch makes open-ils.actor.usrname.exists look at deleted users
since they still prevent re-use of the delted user's username.

More information is in the original bug, https://bugs.launchpad.net/evergreen/+bug/707167.

Signed-off-by: Michael Peters <mrpeters@library.in.gov>
Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm