-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
Component/s: Forge - Macro Extension Point
-
Severity 2 - Major
-
Load testing
-
M
Issue Summary:
Using view.submit() on a custom macro config
import { view } from '@forge/bridge'; const updatedConfig = { config: { exportedPng, exportedSize, diagramContent: JSON.stringify({ elements }), }, keepEditing: true, }; await view.submit(updatedConfig);
confluence page fails to save updated macro data when publishing too fast
Steps to Reproduce
- Start creating new Confluence page
- Type /excalidraw to start adding content from the app https://marketplace.atlassian.com/apps/1237732/just-add-excalidraw-create-embed-diagrams-in-confluence?hosting=cloud&tab=overview
- Add some shape
- Hit Save -> Close -> Publish
- Hit Edit to Edit page
- Make any change
- Hit Save -> Close -> Update
Expected Results
Page should properly save updated macro
Actual Results
Page does not save updated macro
Workaround
Wait for macro preview to finish loading, and then save (used to previously work without this wait).