ValueMap.getAsBoolean(key, defaultValue) always returns false for non-existing 
keys, instead of the defaultValue
----------------------------------------------------------------------------------------------------------------

                 Key: WICKET-2787
                 URL: https://issues.apache.org/jira/browse/WICKET-2787
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.4.7
            Reporter: Arthur Bogaart
            Priority: Minor
             Fix For: 1.4.8, 1.5-M1
         Attachments: valuemap_1.4.x.patch, valuemap_trunk.patch

ValueMap.getAsBoolean(key, defaultValue) should check if the provided key 
actually exists, and if not return the defaultValue. Currently it will delegate 
to Strings.isTrue(null) which always returns false.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to