Details
-
Bug
-
Status: Resolved
-
Resolution: Fixed
-
1.7
-
None
-
None
-
Operating System: All
Platform: All
Description
The key ERROR_EXTERNAL_RESOURCE_NOT_EMBEDED in EmbededExternalResourceSecurity has 'esource' instead of 'resource', i.e.:
EmbededExternalResourceSecurity.error.external.esource.not.embeded
----^
This means that instead of the correction exception:
org.apache.batik.bridge.BridgeException: The document references a resource (file:/tmp/test.png) which is not embeded in the document. This is not allowed with the current security settings and that resource cannot be loaded.
a MissingResourceError is thrown:
java.util.MissingResourceException: Unable to find resource: EmbededExternalResourceSecurity.error.external.esource.not.embeded
and the error message is not passed to the user.