In der Klasse ccm-core/src/com/arsdigita/ui/login/UserForm.java die FormProcessException in der Zeile 256 umgebaut. Die Klasse LoginGlobalizationUtil.java hinzugefügt um auf die LoginResources.properties zugreifen zu können.

git-svn-id: https://svn.libreccm.org/ccm/trunk@3246 8810af33-2d31-482b-a856-94f89814c4df
master
tosmers 2015-02-18 21:37:27 +00:00
parent 03a1aa74e7
commit 8091e7bef2
5 changed files with 6 additions and 1 deletions

View File

@ -62,3 +62,4 @@ login.error.bannedEmail=User cannot currently access system
login.error.loginFail=Login failed login.error.loginFail=Login failed
login.changePasswortForm.greeting=Welcome {0} login.changePasswortForm.greeting=Welcome {0}
login.changePasswortForm.introText=To change your passwort please fill out this form. login.changePasswortForm.introText=To change your passwort please fill out this form.
login.userForm.couldnt_load_user=Could not load User

View File

@ -62,3 +62,4 @@ login.error.bannedEmail=Benutzer kann zur Zeit das System nicht nutzen
login.error.loginFail=Anmeldung nicht erfolgreich login.error.loginFail=Anmeldung nicht erfolgreich
login.changePasswortForm.greeting=Willkommen {0} login.changePasswortForm.greeting=Willkommen {0}
login.changePasswortForm.introText=Um ihr Passwort zu \u00e4ndern, f\u00fcllen sie bitte das folgende Formular aus. login.changePasswortForm.introText=Um ihr Passwort zu \u00e4ndern, f\u00fcllen sie bitte das folgende Formular aus.
login.userForm.couldnt_load_user=User konnte nicht geladen werden

View File

@ -62,3 +62,4 @@ login.error.bannedEmail=User cannot currently access system
login.error.loginFail=Login failed login.error.loginFail=Login failed
login.changePasswortForm.greeting=Welcome {0} login.changePasswortForm.greeting=Welcome {0}
login.changePasswortForm.introText=To change your passwort please fill out this form. login.changePasswortForm.introText=To change your passwort please fill out this form.
login.userForm.couldnt_load_user=Could not load User

View File

@ -62,3 +62,4 @@ login.changePasswortForm.introText=To change your passwort please fill out this
login.userRegistrationForm.newUserRegister=New users register here login.userRegistrationForm.newUserRegister=New users register here
login.error.bannedEmail=User cannot currently access system login.error.bannedEmail=User cannot currently access system
login.error.loginFail=User cannot currently access system login.error.loginFail=User cannot currently access system
login.userForm.couldnt_load_user=Impossible de charger l'utilisateur

View File

@ -253,7 +253,8 @@ public abstract class UserForm extends Form
try { try {
user = getUser(state); user = getUser(state);
} catch (DataObjectNotFoundException e) { } catch (DataObjectNotFoundException e) {
throw new FormProcessException("Could not load User", e); throw new FormProcessException(LoginGlobalizationUtil.globalize(
"login.userForm.couldnt_load_user");
} }
if (user == null) { if (user == null) {