Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.3.3
-
None
Description
Found by reading the code: ImageHtmlEmail#replacePattern() asks the DataSourceResolver for a DataSource, and if the name of the data source is null/empty uses the resource location as name for looking up the CID.
But, if that didn't work out it tries to embed the data source using the original 'null' name instead, which fails with an exception.
Trivial patch attached.