-
Bug
-
Resolution: Fixed
-
Major
-
5.2.1
-
None
Assume two or more modules have a message bundle with the same name in their /mgnl-i18n/ directory. The current message bundle resolvers loads just one of them - all other are silently ignored.
Java supports resolving multiple resources with the same name on the classpath by providing the ClassLoader.getResources method.
Please consider using this method or fixing it up otherwise. The current implementation is dangerous.
Workaround: add prefixes to the message bundles and hope, that no other module uses the same prefix/name.
- depends upon
-
MAGNOLIA-5802 Update version of commons-io
- Closed
- is causing
-
MAGNOLIA-5823 i18n message bundles that contain UTF-8 chars are no longer read correctly by i18n service.
- Closed
- is duplicated by
-
MAGNOLIA-5430 i18nsystem: if property files have same name under mgnl-i18n directory, only one of them will be loaded
- Closed
- relates to
-
MAGNOLIA-6376 ClasspathResourceOrigin should warn users about duplicate resources
- Open