[open-ils-commits] [GIT] Evergreen ILS branch master updated. 035507338bc0a13d04d14ef9874e6a6ee977e30e

Evergreen Git git at git.evergreen-ils.org
Tue Mar 20 13:27:37 EDT 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  035507338bc0a13d04d14ef9874e6a6ee977e30e (commit)
      from  0c9929ed83510f8180144c3935fdcd77f4d609eb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 035507338bc0a13d04d14ef9874e6a6ee977e30e
Author: Michael Peters <mrpeters at library.in.gov>
Date:   Fri Mar 16 13:56:57 2012 -0400

    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 at library.in.gov>
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm
index 3fa922c..1599d30 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm
@@ -2664,7 +2664,7 @@ sub usrname_exists {
 	my( $self, $conn, $auth, $usrname ) = @_;
 	my $e = new_editor(authtoken=>$auth);
 	return $e->event unless $e->checkauth;
-	my $a = $e->search_actor_user({usrname => $usrname, deleted=>'f'}, {idlist=>1});
+	my $a = $e->search_actor_user({usrname => $usrname}, {idlist=>1});
 	return $$a[0] if $a and @$a;
 	return undef;
 }

-----------------------------------------------------------------------

Summary of changes:
 .../src/perlmods/lib/OpenILS/Application/Actor.pm  |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list