Current implementation of getTemplate might lead to create path with characters not supported by the filesystem. The definition of the method says it can create path such as html_displayer/[type]/[mode].vm. But a type can be something like List<String>, and < character is not supported in Windows filesystem.
We should not allow getTemplate to create such path and replace automatically those unsupported characters.
JIRA-28 Jira Macro inserting error 10.11.2 and 11.11-rc-1 on Windows
- relates to
XWIKI-16171 Several macros fail to retrieve macro descriptor on Windows