From a4e501973a87cd83f07ed0b30015f9181e594d66 Mon Sep 17 00:00:00 2001 From: sjeffen Date: Fri, 26 Apr 2019 21:24:45 +0200 Subject: [PATCH] cph::erp IDEMPIERE-3957 --- migration/i6.2/oracle/201904271403_IDEMPIERE-3957.sql | 8 ++++++++ migration/i6.2/postgresql/201904271403_IDEMPIERE-3957.sql | 5 +++++ .../src/org/adempiere/webui/panel/InfoGeneralPanel.java | 2 +- 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 migration/i6.2/oracle/201904271403_IDEMPIERE-3957.sql create mode 100644 migration/i6.2/postgresql/201904271403_IDEMPIERE-3957.sql diff --git a/migration/i6.2/oracle/201904271403_IDEMPIERE-3957.sql b/migration/i6.2/oracle/201904271403_IDEMPIERE-3957.sql new file mode 100644 index 0000000000..2975798e08 --- /dev/null +++ b/migration/i6.2/oracle/201904271403_IDEMPIERE-3957.sql @@ -0,0 +1,8 @@ +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- CPH::ERP Comments: +-- 26. apr. 2019 20.56.39 CEST +INSERT INTO AD_Message (MsgType,MsgText,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Message_ID,Value,EntityType,AD_Message_UU) VALUES ('E','No query columns found',0,0,'Y',TO_DATE('2019-04-26 20:56:38','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-04-26 20:56:38','YYYY-MM-DD HH24:MI:SS'),100,200512,'No query columns found','C','6c8ad45a-43a1-4386-96e1-b3958844fd4a') +; + diff --git a/migration/i6.2/postgresql/201904271403_IDEMPIERE-3957.sql b/migration/i6.2/postgresql/201904271403_IDEMPIERE-3957.sql new file mode 100644 index 0000000000..04b34a2cda --- /dev/null +++ b/migration/i6.2/postgresql/201904271403_IDEMPIERE-3957.sql @@ -0,0 +1,5 @@ +-- CPH::ERP Comments: +-- 26. apr. 2019 20.56.39 CEST +INSERT INTO AD_Message (MsgType,MsgText,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Message_ID,Value,EntityType,AD_Message_UU) VALUES ('E','No query columns found',0,0,'Y',TO_TIMESTAMP('2019-04-26 20:56:38','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-04-26 20:56:38','YYYY-MM-DD HH24:MI:SS'),100,200512,'No query columns found','C','6c8ad45a-43a1-4386-96e1-b3958844fd4a') +; + diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/InfoGeneralPanel.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/InfoGeneralPanel.java index 6bfe7fcbde..ccd141c0e6 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/InfoGeneralPanel.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/InfoGeneralPanel.java @@ -415,7 +415,7 @@ public class InfoGeneralPanel extends InfoPanel implements EventListener // Miminum check if (m_queryColumns.size() == 0) { - FDialog.error(p_WindowNo, this, "Error", "No query columns found"); + FDialog.error(p_WindowNo, this, "Error", Msg.getMsg(Env.getCtx(),"No query columns found")); log.log(Level.SEVERE, "No query columns found"); return false; }