IDEMPIERE-4700 PackOut is creating index and view data for Dictionary entries when export dictionary is disabled (#578)
This commit is contained in:
parent
dda6ede13d
commit
84eff33ebf
|
@ -122,11 +122,8 @@ public class IndexColumnElementHandler extends AbstractElementHandler {
|
|||
int AD_IndexColumn_ID = Env.getContextAsInt(ctx.ctx, MIndexColumn.COLUMNNAME_AD_IndexColumn_ID);
|
||||
MIndexColumn m_IndexColumn = new MIndexColumn(ctx.ctx, AD_IndexColumn_ID, getTrxName(ctx));
|
||||
|
||||
if (ctx.packOut.getFromDate() != null) {
|
||||
if (m_IndexColumn.getUpdated().compareTo(ctx.packOut.getFromDate()) < 0) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (!isPackOutElement(ctx, m_IndexColumn))
|
||||
return;
|
||||
|
||||
AttributesImpl atts = new AttributesImpl();
|
||||
addTypeName(atts, "table");
|
||||
|
|
|
@ -132,12 +132,7 @@ public class TableIndexElementHandler extends AbstractElementHandler {
|
|||
|
||||
MTableIndex m_TableIndex = new MTableIndex(ctx.ctx, AD_TableIndex_ID, null);
|
||||
|
||||
boolean createElement = true;
|
||||
if (ctx.packOut.getFromDate() != null) {
|
||||
if (m_TableIndex.getUpdated().compareTo(ctx.packOut.getFromDate()) < 0) {
|
||||
createElement = false;
|
||||
}
|
||||
}
|
||||
boolean createElement = isPackOutElement(ctx, m_TableIndex);
|
||||
|
||||
if (createElement) {
|
||||
if (m_TableIndex.getAD_Message_ID() > 0) {
|
||||
|
|
|
@ -113,11 +113,8 @@ public class ViewColumnElementHandler extends AbstractElementHandler {
|
|||
int AD_ViewColumn_ID = Env.getContextAsInt(ctx.ctx, MViewColumn.COLUMNNAME_AD_ViewColumn_ID);
|
||||
MViewColumn m_ViewColumn = new MViewColumn(ctx.ctx, AD_ViewColumn_ID, getTrxName(ctx));
|
||||
|
||||
if (ctx.packOut.getFromDate() != null) {
|
||||
if (m_ViewColumn.getUpdated().compareTo(ctx.packOut.getFromDate()) < 0) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (!isPackOutElement(ctx, m_ViewColumn))
|
||||
return;
|
||||
|
||||
AttributesImpl atts = new AttributesImpl();
|
||||
addTypeName(atts, "table");
|
||||
|
|
|
@ -94,14 +94,9 @@ public class ViewComponentElementHandler extends AbstractElementHandler {
|
|||
AttributesImpl atts = new AttributesImpl();
|
||||
|
||||
MViewComponent m_ViewComponent = new MViewComponent(ctx.ctx, AD_ViewComponent_ID, null);
|
||||
|
||||
boolean createElement = true;
|
||||
if (ctx.packOut.getFromDate() != null) {
|
||||
if (m_ViewComponent.getUpdated().compareTo(ctx.packOut.getFromDate()) < 0) {
|
||||
createElement = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
boolean createElement = isPackOutElement(ctx, m_ViewComponent);
|
||||
|
||||
if (createElement) {
|
||||
verifyPackOutRequirement(m_ViewComponent);
|
||||
addTypeName(atts, "table");
|
||||
|
|
Loading…
Reference in New Issue