Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 334372 - Missing key when using locale different than EN
Summary: Missing key when using locale different than EN
Status: CLOSED FIXED
Alias: None
Product: Virgo
Classification: RT
Component: runtime (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 3.0.0.M01   Edit
Assignee: Hristo Iliev CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-14 07:23 EST by Hristo Iliev CLA
Modified: 2011-02-01 11:00 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hristo Iliev CLA 2011-01-14 07:23:40 EST
When dumping, Virgo outputs:

[2011-01-14 13:58:01.289] startup-tracker              <ME0001W> A message with the key 'ME0003I' was not found. The inserts for the message were '[serviceability\dump\2011-01-14-13-57-304]'

The problem seems to be that my locale is bg_BG. There is a similar message (ME0003I) in bug 328492 reported by Thomas Kratz that I guess uses a german locale.

The files scanned for the message by ResourceBundleUtils in my case are:
[EventLogMessages_bg_BG.properties, EventLogMessages_bg.properties, EventLogMessages.properties]

But the message can be found in properties file with _en.
Comment 1 Hristo Iliev CLA 2011-01-14 07:25:43 EST
The problem can be reproduced with:
startup -clean "-Forg.eclipse.virgo.kernel.startup.wait.limit=10"
Comment 2 Hristo Iliev CLA 2011-01-14 08:36:20 EST
Renamed 

org.eclipse.virgo.medic.core/src/main/resources/EventLogMessages_en.properties 
to
org.eclipse.virgo.medic.core/src/main/resources/EventLogMessages.properties 

with commit b4b82b5a7e9539c6f86757cd1dafed17ee54649c