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 37704] New: - API Bug in org.apache.commons.validator.ValidatorResult
Date Tue, 29 Nov 2005 23:54:58 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37704>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37704

           Summary: API Bug in org.apache.commons.validator.ValidatorResult
           Product: Commons
           Version: 1.2 Final
          Platform: All
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Validator
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: p.mouawad@ubik-ingenierie.com


Why is the class protected:
org.apache.commons.validator.ValidatorResult.ResultStatus
I implemented a special ValidatorForm that needs to access to this object to
check that no validations error exists for a particular property form and if so
do some job, I don't find any other way than accessing to this object.
In my opinion, it's an API bug, because the method
ValidatorResult#getActionMap() is public but it return a map where values are
ValidatorResult.ResultStatus making this method useless.
Could ValidatorResult.ResultStatus become public ?
I can send you the patch but is it necessary regarding the modification :-)
Thank you.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
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