Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
Patch created off rev 678580
Description
- Update MessageManager to supply the locale to MessageFormat so that formatters for parameters have the locale initialized to the correct value
- Added a unit test that verifies that the formatters for parameters do correctly localize the output. The unit test fails if the changes to MessageManager are undone
- Modified XMLMessageProvider.getText() to return null instead of throwing an exception when the message is not found to avoid skipping checking the next service provider. XMLMessageProvider.getEntries() modified accordingly to handle null and to throw a MessageNotFoundException in that case
Unit tests included.