You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using dt:filterDelay="10000" will cause a NullPointerException in TableFilterDelayAttrProcessor as it will try to cast the given value, an int, into a BigDecimal.
(from AttributeUtils.processStandardExpression at :
return result == null?null:(clazz.isAssignableFrom(result.getClass())?result:null);
Workaround is to use : dt:filterDelay="10000.0" which will work correctly, but is unintuitive and does not correspond to the documentation.
An easy fix would be to replace line 28 of TableFilterDelayAttrProcessor :
BigDecimal attrValue = (BigDecimal)AttributeUtils.parseAttribute(arguments, element, attributeName, BigDecimal.class);
with :
BigInteger attrValue = (BigInteger)AttributeUtils.parseAttribute(arguments, element, attributeName, BigInteger.class);
The text was updated successfully, but these errors were encountered:
Using dt:filterDelay="10000" will cause a NullPointerException in TableFilterDelayAttrProcessor as it will try to cast the given value, an int, into a BigDecimal.
(from AttributeUtils.processStandardExpression at :
return result == null?null:(clazz.isAssignableFrom(result.getClass())?result:null);
Workaround is to use : dt:filterDelay="10000.0" which will work correctly, but is unintuitive and does not correspond to the documentation.
An easy fix would be to replace line 28 of TableFilterDelayAttrProcessor :
BigDecimal attrValue = (BigDecimal)AttributeUtils.parseAttribute(arguments, element, attributeName, BigDecimal.class);
with :
BigInteger attrValue = (BigInteger)AttributeUtils.parseAttribute(arguments, element, attributeName, BigInteger.class);
The text was updated successfully, but these errors were encountered: