Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:

  http://jira.opensymphony.com/secure/ViewIssue.jspa?key=XW-70


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XW-70
    Summary: OGNL does not allow explicit false for boolean properties
       Type: Bug

     Status: Assigned
   Priority: Critical

    Project: XWork
   Fix Fors:
             1.0-beta1
   Versions:
             1.0-beta1

   Assignee: Jason Carreira
   Reporter: Mathias Bogaert

    Created: Mon, 4 Aug 2003 4:49 AM
    Updated: Mon, 4 Aug 2003 4:49 AM

Description:
Here is my problem:

1. a checkbox does not set a false value, so I had to include manually a hidden field

2. try adding the following to OgnlUtilTest testSetPropertiesBoolean:

        props = new HashMap();
        props.put("useful", "false");
        OgnlUtil.setProperties(props, foo, context);

        assertEquals(false, foo.isUseful());

You'll see that it fails, while it should support explicit set of false.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.opensymphony.com/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to