Github user lukaszlenart commented on a diff in the pull request:

    https://github.com/apache/struts/pull/32#discussion_r22206741
  
    --- Diff: 
xwork-core/src/main/java/com/opensymphony/xwork2/ognl/OgnlValueStack.java ---
    @@ -351,6 +352,7 @@ private Object tryFindValue(String expr, Class asType) 
throws OgnlException {
                 value = getValue(expr, asType);
                 if (value == null) {
                     value = findInContext(expr);
    +                return converter.convertValue(getContext(), value, asType);
    --- End diff --
    
    What will happen when value from context is null? Should it be converted? 
Can you add additional test case?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to