commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 16875] New: - BeanUtils.populate does not skip zero lenght String
Date Fri, 07 Feb 2003 12:48:08 GMT
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: commons-dev@jakarta.apache.org
        ReportedBy: marco.laporta@tiscalinet.it


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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message