DK created Bug CAL-36
Issue Type: Bug Bug
Assignee: Ceki Gulcu
Created: 06/Feb/13 1:29 PM
Description: I don't believe cal10n should fail if the default resource bundle exists and contains the required key.

I am hitting the following exception:
ch.qos.cal10n.MessageConveyorException: Failed to locate resource bundle
[Bundle] for locale [en_US] for enum type [com.mycompany.Messages]
at ch.qos.cal10n.MessageConveyor.lookup(MessageConveyor.java:115)
at ch.qos.cal10n.MessageConveyor.getMessage(MessageConveyor.java:77)
at org.slf4j.cal10n.LocLogger.error(LocLogger.java:167)

I have a default Bundle.properties in my classpath but cal10n doesn't use it.
Everything works fine when I have a Bundle_en_US.properties.
However, it is called the default resource bundle for a reason so it should be used.


Related mail threads:
http://mailman.qos.ch/pipermail/cal10n-user/2013-February/000025.html
http://mailman.qos.ch/pipermail/cal10n-user/2010-September/000020.html
http://mailman.qos.ch/pipermail/cal10n-dev/2009-September/000298.html
Environment: slf4j 1.7.2 with cal10n 0.7.4
Project: CAL10N
Labels: default bundle
Priority: Major Major
Reporter: DK
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira