IDEMPIERE-1518 2Pack shoud not try to reduce column size (#143)
This commit is contained in:
parent
4afaed6140
commit
fd475f0cac
|
@ -79,6 +79,14 @@ public class ColumnElementHandler extends AbstractElementHandler {
|
|||
return;
|
||||
}
|
||||
|
||||
if ( !mColumn.is_new()
|
||||
&& mColumn.is_ValueChanged(MColumn.COLUMNNAME_FieldLength)
|
||||
&& mColumn.getFieldLength() < mColumn.get_ValueOldAsInt(MColumn.COLUMNNAME_FieldLength)
|
||||
) {
|
||||
// IDEMPIERE-1518 2Pack shoud not try to reduce column size
|
||||
mColumn.setFieldLength(mColumn.get_ValueOldAsInt(MColumn.COLUMNNAME_FieldLength));
|
||||
}
|
||||
|
||||
if (!mColumn.is_new() && !mColumn.is_Changed()) {
|
||||
boolean syncDatabase = "Y".equalsIgnoreCase(getStringValue(element, "IsSyncDatabase"));
|
||||
if (syncDatabase) {
|
||||
|
|
Loading…
Reference in New Issue