IDEMPIERE-5424 NPE when setting SysConfig BACKGROUND_JOB_ALLOWED=N (#1488)
This commit is contained in:
parent
6a51f57c08
commit
b5c0809072
|
@ -681,7 +681,7 @@ public abstract class AbstractProcessDialog extends Window implements IProcessUI
|
||||||
else
|
else
|
||||||
chooseSaveParameter(saveName, lastRun);
|
chooseSaveParameter(saveName, lastRun);
|
||||||
}else if (event.getTarget().equals(bOK)){
|
}else if (event.getTarget().equals(bOK)){
|
||||||
if (runAsJobField.isChecked() && getNotificationType() == null)
|
if (isBackgroundJob() && getNotificationType() == null)
|
||||||
throw new WrongValueException(notificationTypeField.getComponent(), Msg.getMsg(m_ctx, "FillMandatory") + notificationTypeLabel.getValue());
|
throw new WrongValueException(notificationTypeField.getComponent(), Msg.getMsg(m_ctx, "FillMandatory") + notificationTypeLabel.getValue());
|
||||||
saveReportOption();
|
saveReportOption();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue