IDEMPIERE-4771 - fix typo in message (#1269)
This commit is contained in:
parent
3f8ecbece6
commit
10fca86adf
|
@ -0,0 +1,10 @@
|
||||||
|
-- IDEMPIERE-4771_fixMessage
|
||||||
|
SELECT register_migration_script('202203281643_IDEMPIERE-4771.sql') FROM dual;
|
||||||
|
|
||||||
|
SET SQLBLANKLINES ON
|
||||||
|
SET DEFINE OFF
|
||||||
|
|
||||||
|
-- Mar 28, 2022, 4:43:24 PM CEST
|
||||||
|
UPDATE AD_Message SET Value='UploadSuccess',Updated=TO_TIMESTAMP('2022-03-28 16:43:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Message_ID=200679
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
-- IDEMPIERE-4771_fixMessage
|
||||||
|
SELECT register_migration_script('202203281643_IDEMPIERE-4771.sql') FROM dual;
|
||||||
|
|
||||||
|
-- Mar 28, 2022, 4:43:24 PM CEST
|
||||||
|
UPDATE AD_Message SET Value='UploadSuccess',Updated=TO_TIMESTAMP('2022-03-28 16:43:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Message_ID=200679
|
||||||
|
;
|
||||||
|
|
|
@ -412,7 +412,7 @@ public class Scheduler extends AdempiereServer
|
||||||
|
|
||||||
UploadResponse response = handlers[0].uploadMedia(new UploadMedia(fileName, contentType, new FileInputStream(file), file.length()), account);
|
UploadResponse response = handlers[0].uploadMedia(new UploadMedia(fileName, contentType, new FileInputStream(file), file.length()), account);
|
||||||
if (response.getLink() != null) {
|
if (response.getLink() != null) {
|
||||||
MSchedulerLog pLog = new MSchedulerLog(get(getCtx(), AD_Scheduler_ID), Msg.getMsg(Env.getCtx(), "UploadSucess"));
|
MSchedulerLog pLog = new MSchedulerLog(get(getCtx(), AD_Scheduler_ID), Msg.getMsg(Env.getCtx(), "UploadSuccess"));
|
||||||
pLog.setTextMsg("User: " + upload.getAD_User().getName() + " Account: " + account.getEMail() +
|
pLog.setTextMsg("User: " + upload.getAD_User().getName() + " Account: " + account.getEMail() +
|
||||||
" Link: " + response.getLink());
|
" Link: " + response.getLink());
|
||||||
pLog.setIsError(false);
|
pLog.setIsError(false);
|
||||||
|
|
Loading…
Reference in New Issue