IDEMPIERE-2271 iDempiere is hardcoded EMail to support subject / IDEMPIERE-2260 iDempiere is hardcoded in MClient.testEMail / based on patch from Nicolas Micoud (nmicoud)
This commit is contained in:
parent
5c27c2bf3d
commit
1c351ddd23
|
@ -0,0 +1,6 @@
|
|||
update ad_system set name='iDempiere' where name='?'
|
||||
;
|
||||
|
||||
SELECT register_migration_script('201410291142_IDEMPIERE-2260.sql') FROM dual
|
||||
;
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
update ad_system set name='iDempiere' where name='?'
|
||||
;
|
||||
|
||||
SELECT register_migration_script('201410291142_IDEMPIERE-2260.sql') FROM dual
|
||||
;
|
||||
|
|
@ -447,9 +447,10 @@ public class MClient extends X_AD_Client
|
|||
return msgreturn.toString();
|
||||
}
|
||||
//
|
||||
StringBuilder msgce = new StringBuilder("iDempiere EMail Test: ").append(toString());
|
||||
String systemName = MSystem.get(getCtx()).getName();
|
||||
StringBuilder msgce = new StringBuilder(systemName).append(" EMail Test: ").append(toString());
|
||||
EMail email = createEMail (getRequestEMail(),
|
||||
"iDempiere EMail Test",msgce.toString());
|
||||
systemName + " EMail Test",msgce.toString());
|
||||
if (email == null){
|
||||
StringBuilder msgreturn = new StringBuilder("Could not create EMail: ").append(getName());
|
||||
return msgreturn.toString();
|
||||
|
|
|
@ -103,7 +103,7 @@ public class DefaultFeedbackService implements IFeedbackService {
|
|||
Msg.getMsg(Env.getCtx(), "EMailSupport"),
|
||||
MUser.get(Env.getCtx()),
|
||||
"", // to
|
||||
"iDempiere " + Msg.getMsg(Env.getCtx(), "TraceInfo"),
|
||||
MSystem.get(Env.getCtx()).getName() + " " + Msg.getMsg(Env.getCtx(), "TraceInfo"),
|
||||
"", ds);
|
||||
dialog.setAttribute(Window.MODE_KEY, Mode.OVERLAPPED);
|
||||
|
||||
|
|
Loading…
Reference in New Issue