IDEMPIERE-4771 - fix typo in message (#1269)

This commit is contained in:
Nicolas Micoud 2022-03-28 23:20:49 +02:00 committed by GitHub
parent 3f8ecbece6
commit 10fca86adf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 1 deletions

View File

@ -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
;

View File

@ -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
;

View File

@ -412,7 +412,7 @@ public class Scheduler extends AdempiereServer
UploadResponse response = handlers[0].uploadMedia(new UploadMedia(fileName, contentType, new FileInputStream(file), file.length()), account);
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() +
" Link: " + response.getLink());
pLog.setIsError(false);