[ https://issues.apache.org/jira/browse/OFBIZ-4393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13096984#comment-13096984 ]
Anne Jessel commented on OFBIZ-4393: ------------------------------------ value="null" definitely doesn't work. It's what I tried first before looking at the code. Is that what should work? The current code compares value variable with null, but I can't see how value can ever be null, as it has the value returned by org.w3c.dom.Element.getAttribute, which doesn't return null. I can change patch so it looks for String "null" instead of using isEmpty. > View entity condition-expr doesn't handle null > ---------------------------------------------- > > Key: OFBIZ-4393 > URL: https://issues.apache.org/jira/browse/OFBIZ-4393 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Environment: Rev 1165137 > Reporter: Anne Jessel > Attachments: OFBIZ-4393-view-entity_condition-expr_null.patch > > Original Estimate: 2h > Remaining Estimate: 2h > > condition-expr tag in view-entity can't be used to compare a field with null. > An absent value attribute is read as an empty string, and the code currently > checks for value being null to know when to compare against null. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira