DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16875>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16875

BeanUtils.populate does not skip zero lenght String

           Summary: BeanUtils.populate does not skip zero lenght String
           Product: Commons
           Version: 1.0 Alpha
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Bean Utilities
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Whi Beanutils populate method does not skip zero lenght string? 
I i have a Bean with a property of Type BigDecimal and i don't want to have a 
BigDecimalConverter default value, when I submit a Form , leaving blank the 
input, i have an exception because BigDecimalConverter can't conver "" to a 
BigDecimal. 
The Requestprocessor calls the populate funcion  before the validate function 
and so i can't validate my property (required). All we be work correct if 
beanUtils.populate skip zero-lenght string if Class is not a String

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to