Working on a macro as part of Codegeist, we noticed that sometimes
AP.context wasn’t available in our Connect Iframes. As a result, whenever this happens, our macro, macro editor, or any other Connect Iframes on that pages were completely broken.
Reproducing the error is as simple as this:
- Going to a Confluence page.
- Opening the editor.
- Letting everything load, mouving your mouse, maybing typing something…
- Refreshing the page
In the console you will find an error message
ac/context missing ac/content-resolver and from this point on, Connect iframes are basically broken. You can watch me do it here: https://drive.google.com/file/d/1yLL-fDeMt8zH8JTQj1nzaZzAw6aoM2sI/view
We’ve been able to reproduce this on several different Cloud instances, using different computers and browsers. Sometimes the
ac/context missing ac/content-resolver error even appeared out of the blue without explicitly reloading.