IDEMPIERE-3759 Env.getContextAsDate should not log warning

This commit is contained in:
Nicolas Micoud 2018-07-24 09:26:48 +02:00
parent ea2151698d
commit 6b4bc86fba
1 changed files with 1 additions and 7 deletions

View File

@ -871,14 +871,8 @@ public final class Env
throw new IllegalArgumentException ("Require Context");
String s = getContext(ctx, WindowNo, context, false);
// JDBC Format YYYY-MM-DD example 2000-09-11 00:00:00.0
if (s == null || s.equals(""))
{
if (!"#date".equalsIgnoreCase(context))
{
log.log(Level.WARNING, "No value for: " + context);
}
if (Util.isEmpty(s))
return new Timestamp(System.currentTimeMillis());
}
// BUG:3075946 KTU - Fix Thai Date
/*