IDEMPIERE-4592 Bank Statement Loader zoom in the Load Bank Statement process throws an exception when the field is empty (#1401)

IDEMPIERE-4592 #resolve
This commit is contained in:
Carlos Ruiz 2022-07-20 12:29:41 +02:00 committed by GitHub
parent dc67ae816d
commit 9538739544
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -364,8 +364,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
/** /**
* Window Tabs * Window Tabs
*/ */
if (query != null && query.getZoomTableName() != null && query.getZoomColumnName() != null if (query != null && query.getZoomTableName() != null && query.getZoomColumnName() != null)
&& query.getZoomValue() instanceof Integer && (Integer)query.getZoomValue() > 0)
{ {
if (!query.getZoomTableName().equalsIgnoreCase(gridWindow.getTab(0).getTableName())) if (!query.getZoomTableName().equalsIgnoreCase(gridWindow.getTab(0).getTableName()))
{ {