[
http://www.stripesframework.org/jira/browse/STS-802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12228#comment-12228
]
Ben Gunter commented on STS-802:
--------------------------------
Oddly, this was fixed by Freddy over two years ago for STS-646. But for some
reason, it was only fixed in the trunk for release 1.6 and not for the 1.5.x
branch. In any case, it will be fixed for 1.5.6.
> LocalizableMessage missing getMessageKey() Method / Inconsistent
> ----------------------------------------------------------------
>
> Key: STS-802
> URL: http://www.stripesframework.org/jira/browse/STS-802
> Project: Stripes
> Issue Type: Improvement
> Components: Formatting
> Affects Versions: Release 1.5, Release 1.5.5
> Reporter: Nikolaos
> Assignee: Ben Gunter
> Priority: Trivial
> Fix For: Release 1.5.6
>
>
> LocalizableMessage is missing the following code at the bottom:
> public String getMessageKey() {
> return messageKey;
> }
> Which makes it consistent with LocalizableError (in fact I copied the snippet
> from LocalizableError).
> Why is this neccessary? When writing unit tests for ActionBean in a
> localized message environment I want to make sure the appropriate messages
> and errors are presented to the user... as such it makes little sense to
> compare the localized text of the message for a number of reasons (i.e. it
> could change / be tweaked, it is different in different languages, it
> requires copy/paste and maintenance, etc...). However obtaining the message
> key and comparing the key is perfect.
> This is EXTREMELY TRIVIAL and when comparing LocalizableMessage with
> LocalizableError the omission is EXTREMELY OBVIOUS.
> --Nikolaos
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development