portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/om/security BaseJetspeedUser.java
Date Tue, 04 Nov 2003 15:34:24 GMT
taylor      2003/11/04 07:34:24

  Modified:    src/java/org/apache/jetspeed/om/security
                        BaseJetspeedUser.java
  Log:
  NPE in security when a dupkey error occurs on adding a new user
  
  Revision  Changes    Path
  1.10      +2 -2      jakarta-jetspeed/src/java/org/apache/jetspeed/om/security/BaseJetspeedUser.java
  
  Index: BaseJetspeedUser.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/om/security/BaseJetspeedUser.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- BaseJetspeedUser.java	23 Jul 2003 19:50:15 -0000	1.9
  +++ BaseJetspeedUser.java	4 Nov 2003 15:34:23 -0000	1.10
  @@ -130,7 +130,7 @@
           try
           {
               tmp = (String) getPerm (JetspeedUser.USER_ID);
  -            if ( tmp.length() == 0 )
  +            if (tmp != null && tmp.length() == 0)
               {
                   tmp = null;
               }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message