[UPDATE]
In der Klasse ccm-core/src/com/arsdigita/formbuilder/actions/TemplateEmailListener.java die FormProcessException in der Zeile 181 umgebaut. git-svn-id: https://svn.libreccm.org/ccm/trunk@3245 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
7556fd6efd
commit
03a1aa74e7
|
|
@ -70,3 +70,4 @@ formbuilder.ui.no_widgetLabel_found=Cannot find WidgetLabel for
|
|||
formbuilder.ui.editors.cannot_find_form=Cannot find form
|
||||
formbuilder.ui.editors.cannot_find_persistent_widget=Cannot find persistent widget {0}
|
||||
formbuilder.ui.editors.cannot_find_persistent_process_listener=Cannot find persistent process listener {0}
|
||||
formbuilder.actions.cannot_sent_message=cannot send message
|
||||
|
|
|
|||
|
|
@ -70,3 +70,4 @@ formbuilder.ui.no_widgetLabel_found=Finde kein Label f\u00fcr Widget
|
|||
formbuilder.ui.editors.cannot_find_form=Kann die Form nicht finden
|
||||
formbuilder.ui.editors.cannot_find_persistent_widget=Kann nicht das persistente Widget {0} finden
|
||||
formbuilder.ui.editors.cannot_find_persistent_process_listener=Kann nicht den persistenten Prozess Listener {0} finden
|
||||
formbuilder.actions.cannot_sent_message=Kann die Nachricht nicht senden
|
||||
|
|
|
|||
|
|
@ -62,3 +62,4 @@ formbuilder.ui.no_widgetLabel_found=Cannot find WidgetLabel for
|
|||
formbuilder.ui.editors.cannot_find_form=Ne peut pas trouver la forme
|
||||
formbuilder.ui.editors.cannot_find_persistent_widget=Ne peut pas trouver le widget persistente {0}
|
||||
formbuilder.ui.editors.cannot_find_persistent_process_listener=Ne peut pas trouver processus persistant auditeur {0}
|
||||
formbuilder.actions.cannot_sent_message=Ne peut pas envoyer le message
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ import com.arsdigita.persistence.DataObject;
|
|||
import com.arsdigita.persistence.OID;
|
||||
import com.arsdigita.persistence.metadata.ObjectType;
|
||||
import com.arsdigita.domain.DataObjectNotFoundException;
|
||||
import com.arsdigita.formbuilder.util.GlobalizationUtil;
|
||||
import com.arsdigita.kernel.Kernel;
|
||||
import com.arsdigita.kernel.User;
|
||||
import com.arsdigita.mail.Mail;
|
||||
|
|
@ -177,7 +178,8 @@ public class TemplateEmailListener extends PersistentProcessListener {
|
|||
Mail message = new Mail(to, from, subject, body);
|
||||
message.send();
|
||||
} catch (MessagingException ex) {
|
||||
throw new FormProcessException( "cannot send message", ex );
|
||||
throw new FormProcessException(GlobalizationUtil.globalize(
|
||||
"formbuilder.actions.cannot_sent_message"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue