[xwiki-notifications] [jira@xwiki.org][Issue] Updates for XWIKI-22663: When modifying and saving $doc in a script macro the second script macro ends up with the unmodified version of $doc