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 2006/02/16 13:39:47 UTC
DO NOT REPLY [Bug 38678] New: - [Validator] ValidatorResult.getActionMap() or ValidatorResult.getActions() only contain last run dependency per field
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=38678>.
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=38678
Summary: [Validator] ValidatorResult.getActionMap() or
ValidatorResult.getActions() only contain last run
dependency per field
Product: Commons
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Validator
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: bart@nascom.be
When calling ValidatorResult#getActionMap() on a ValidatorResult Object
associated with a Field which depends on several ValidatorActions, only the last
ValidatorAction will be present in the returned Map / Iterator.
A fix for this appears to be moving the line
844: ValidatorResults results = new ValidatorResults();
in the org.apache.commons.validator.Field class up to outside the dependencies
loop, putting it as:
835: ValidatorResults results = new ValidatorResults();
No patch submitted for this yet and no Unit Test written. Will try to do so if
time permits.
This bug is also reported to the Commons mailing list at
http://mail-archives.apache.org/mod_mbox/jakarta-commons-dev/200602.mbox/%3c43F45A7E.8080902@nascom.be%3e
--
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
DO NOT REPLY [Bug 38678] - [Validator] ValidatorResult.getActionMap() or ValidatorResult.getActions() only contain last run dependency per field
Posted by bu...@apache.org.
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=38678>.
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=38678
niallp@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From niallp@apache.org 2006-03-10 08:07 -------
I have fixed this, thanks for reporting it and digging into the code to
identify the probem.
http://svn.apache.org/viewcvs?rev=384724&view=rev
Closing as FIXED.
--
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