Problem description: when template.massupdate API is used to replace the list of existing macros with new ones, existing macros are removed from templates, but the new macros are not added.
Steps to reproduce:
- Create a couple of templates and add user macros to each of them
- Attempt to replace all user macros with new ones using template.massupdate API like below:
Result: the old macros were removed, but the new ones were not added to the templates.
Expected: new list of macros from the API should replace exiting macros for the selected templates.