[ http://mc4j.org/jira/browse/STS-269?page=all ]
Tim Fennell resolved STS-269.
-----------------------------
Resolution: Fixed
equals() has now been corrected to call super.equals()
> SimpleError equals method incorrect, causes some errors not to be displayed
> ---------------------------------------------------------------------------
>
> Key: STS-269
> URL: http://mc4j.org/jira/browse/STS-269
> Project: Stripes
> Issue Type: Bug
> Components: Validation
> Affects Versions: Release 1.4
> Reporter: Tim Fennell
> Assigned To: Tim Fennell
> Fix For: Release 1.4.1
>
>
> The problem is that the equals() method in SimpleError has a bug in it. It
> doesn't not check that the message template or the parameters are the same,
> and so thinks that any message for the same action path and field is equal!
> A short term workaround would be to subclass SimpleError and redefine equals
> as:
> super.equals(other) && getMessage().equals(other.getMessage());
> Should probably check the other error/message equals() methods at the same
> time to see if anything else got messed up with the whole message/error merge.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development