Steps to reproduce:
- Create a 'hello' macro as defined at https://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/Tutorials/WritingMacros/WikiMacroTutorial/ e.g. in a page 'Main.HelloWorldMacro'
- Rename this page into 'Main.HelloMacro'
Actual result: the pages including the 'hello' macro display "Unknown macro: hello."
Expected result: the macro is executed just as it was before the rename.
NB: if the new page is manually saved after the rename, then the macro works as expected again.
- is duplicated by
XWIKI-15511 Changing a macro page name during an extension upgrade breaks the macro