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
This commit is contained in:
Carlos Ruiz 2024-01-28 11:01:25 +01:00
parent f56452e6d7
commit 5705474223
3 changed files with 18 additions and 1 deletions

View File

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

View File

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

View File

@ -48,7 +48,7 @@ public class GridTab2PackExporter implements IGridTabExporter {
String tableName = gridTab.getTableName(); String tableName = gridTab.getTableName();
PackOut packOut = new PackOut(); PackOut packOut = new PackOut();
packOut.setCtx(Env.getCtx()); packOut.setCtx(Env.getCtx());
packOut.setExportDictionaryEntity(true); packOut.setExportDictionaryEntity(false);
Map properties = new HashMap(); Map properties = new HashMap();
properties.putAll(Env.getCtx()); properties.putAll(Env.getCtx());
List<PackoutItem> packoutItems = new ArrayList<PackoutItem>(); List<PackoutItem> packoutItems = new ArrayList<PackoutItem>();