Details
-
Bug
-
Resolution: Fixed
-
Low
-
4.2.1
-
None
Description
The macro configuration supports absolute urls to icons and in fact, it does work sometimes, like when the autocomplete tries to suggest a macro. However, once you open up the macro editor, an NPE is thrown as it expects the icon url to be relative.
The specific problem is in MacroMetadataParser line 164:
if (icon != null) { builder.setIcon(new MacroIcon(icon, true)); }
Notice it always treats the icon as relative (isRelative is the second argument), while elsewhere in the code it property detects an absolute url based on whether it starts with http.
Attachments
Issue Links
- relates to
-
CONFSERVER-31585 Add support for absolute Image placeholder URLs
- Closed