Nicolas Malin created OFBIZ-11143:

             Summary: EntityCondition(EntityOperator, fields...) raise 
exception with a null value
                 Key: OFBIZ-11143
             Project: OFBiz
          Issue Type: Bug
          Components: framework
    Affects Versions: Trunk
            Reporter: Nicolas Malin
            Assignee: Nicolas Malin

When yo write a condition like
rawProdcuts = from("Product")
       'productTypeId', 'RAW_MATERIAL',
        'quantityUomId', null)
the function
public static EntityFieldMap makeCondition(EntityJoinOperator joinOp, Object... 
keysValues) {code}
raise a IllegalArgumentException

The problem came from EntityUtil.makeFields(V... args) ( who 
check if a value is an insteance of Comparable and Serializable but didn't take 
the case tat where have a null value.


This message was sent by Atlassian JIRA

Reply via email to