Changeset 15

Show
Ignore:
Timestamp:
01/22/06 23:16:18
Author:
johnsa
Message:

added "notFound" return to PEFetchAuthAction with appropriate error message (userid not found); modified error message for notFound return of prefs fetch action to reflect the same.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/calendar3/webadmin/src/org/bedework/webadmin/authuser/PEFetchAuthAction.java

    r2 r15  
    6969 * <p>Forwards to:<ul> 
    7070 *      <li>"noAccess"     user not authorised.</li> 
    71  *      <li>"notFound"     no such event.</li> 
     71 *      <li>"notFound"     no such user.</li> 
    7272 *      <li>"continue"     continue on to update page.</li> 
    7373 * </ul> 
     
    9696    BwAuthUser au = svci.getUserAuth().getUser(userid); 
    9797 
     98    if (au == null) { 
     99      form.getErr().emit("org.bedework.userid.notfound", userid); 
     100      return "notFound"; 
     101    } 
     102     
    98103    if (debug) { 
    99104      logIt("Retrieved auth user " + au); 
  • trunk/calendar3/webcommon/src/org/bedework/webcommon/pref/FetchPrefsAction.java

    r11 r15  
    103103      BwUser user = svc.findUser(str); 
    104104      if (user == null) { 
    105         form.getErr().emit("org.bedework.client.notfound", str); 
     105        form.getErr().emit("org.bedework.userid.notfound", str); 
    106106        return "notFound"; 
    107107      }