Edit mode loads stale macro context after the context has been updated

Note that another way to reproduce the same behaviour is the following (with the banana macro listed above)

  1. Insert the banana macro onto a blank confluence page
  2. Save the macro and publish the page
  3. Edit the page
  4. Delete the macro
  5. Publish the page
  6. Edit the page

Expected result
A blank page appears in the editor

Actual result
The macro which you previously deleted is rendered briefly before disappearing. All of the macro’s code executes.

2 Likes