You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/02/07 13:48:14 UTC

DO NOT REPLY [Bug 16876] New: - BeanUtils.populate does not skip zero lenght String

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=16876>.
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=16876

BeanUtils.populate does not skip zero lenght String

           Summary: BeanUtils.populate does not skip zero lenght String
           Product: Commons
           Version: Nightly Builds
          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