From 5705474223868dbbc8101d9d1d7b43a9d21309df Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Sun, 28 Jan 2024 11:01:25 +0100 Subject: [PATCH] IDEMPIERE-6018 Dangerous 2Packs generated with UpdateDictionary=true (#2215) * IDEMPIERE-6018 Dangerous 2Packs generated with UpdateDictionary=true * - change message to make it clear that it doesn't export official dictionary entries --- migration/iD11/oracle/202401271430_IDEMPIERE-6018.sql | 10 ++++++++++ .../iD11/postgresql/202401271430_IDEMPIERE-6018.sql | 7 +++++++ .../src/org/adempiere/pipo2/GridTab2PackExporter.java | 2 +- 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 migration/iD11/oracle/202401271430_IDEMPIERE-6018.sql create mode 100644 migration/iD11/postgresql/202401271430_IDEMPIERE-6018.sql diff --git a/migration/iD11/oracle/202401271430_IDEMPIERE-6018.sql b/migration/iD11/oracle/202401271430_IDEMPIERE-6018.sql new file mode 100644 index 0000000000..e03bf74fb7 --- /dev/null +++ b/migration/iD11/oracle/202401271430_IDEMPIERE-6018.sql @@ -0,0 +1,10 @@ +-- IDEMPIERE-6018 Dangerous 2Packs generated with UpdateDictionary=true +SELECT register_migration_script('202401271430_IDEMPIERE-6018.sql') FROM dual; + +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- Jan 27, 2024, 2:30:04 PM CET +UPDATE AD_Message SET MsgText='zip - 2Pack zip file (not Official Dictionary)',Updated=TO_TIMESTAMP('2024-01-27 14:30:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Message_ID=53134 +; + diff --git a/migration/iD11/postgresql/202401271430_IDEMPIERE-6018.sql b/migration/iD11/postgresql/202401271430_IDEMPIERE-6018.sql new file mode 100644 index 0000000000..4c03b01b87 --- /dev/null +++ b/migration/iD11/postgresql/202401271430_IDEMPIERE-6018.sql @@ -0,0 +1,7 @@ +-- IDEMPIERE-6018 Dangerous 2Packs generated with UpdateDictionary=true +SELECT register_migration_script('202401271430_IDEMPIERE-6018.sql') FROM dual; + +-- Jan 27, 2024, 2:30:04 PM CET +UPDATE AD_Message SET MsgText='zip - 2Pack zip file (not Official Dictionary)',Updated=TO_TIMESTAMP('2024-01-27 14:30:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Message_ID=53134 +; + diff --git a/org.adempiere.pipo/src/org/adempiere/pipo2/GridTab2PackExporter.java b/org.adempiere.pipo/src/org/adempiere/pipo2/GridTab2PackExporter.java index 2a0d83cb23..a06af12d39 100644 --- a/org.adempiere.pipo/src/org/adempiere/pipo2/GridTab2PackExporter.java +++ b/org.adempiere.pipo/src/org/adempiere/pipo2/GridTab2PackExporter.java @@ -48,7 +48,7 @@ public class GridTab2PackExporter implements IGridTabExporter { String tableName = gridTab.getTableName(); PackOut packOut = new PackOut(); packOut.setCtx(Env.getCtx()); - packOut.setExportDictionaryEntity(true); + packOut.setExportDictionaryEntity(false); Map properties = new HashMap(); properties.putAll(Env.getCtx()); List packoutItems = new ArrayList();