-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
Minor
-
Using the connect publish conditions to trigger a dialog, the dialog fetches the context using the AP.context.getContext() API when triggered. If this dialog is triggered after some time in the editor, the context object is missing its fields, this can break the functionality of an app if it requires the context of the page.
To reproduce:
- Open the editor, call AP.context.getContext() (in app or through the browser console) and inspect the context, it should appear normal
- Wait 20 minutes
- Call AP.context.getContext() and inspect the context
Expected behaviour:
- The context object looks the same as the first call
Actual behaviour
- The context object is missing fields