Activate a publishing destination by adding your account Id
Issue
After adding the account Id the publishing destinations list doesn't show an update.
Work Around
Ctrl-Refreshing the page seems to resolve the issue.
Cause
A combination of one or two of the following is likely causing this;
The results of the getPublishingDestinations API call is cached in the browser for 60 seconds to reduce the number of server requests.
Property Compass is designed to be eventually consistent. Processed actions to strage are finalised independently of the processing that updates the read model used for the front end. A user navigating quickly back to a page with a publishing list before the read model is updated would get stale results in their perspective.
Solutions
Clear the browser of cached publishing destinations after changes
Add an artifical delay after activating a destination before navigating the user back to a listing.
Add a refresh button the the publishing destinations list
Add a signal handler to refresh the publishing destinations in the UI after acknowledgement of a read model up
Process
Activate a publishing destination by adding your account Id
Issue
After adding the account Id the publishing destinations list doesn't show an update.
Work Around
Ctrl-Refreshing the page seems to resolve the issue.
Cause
A combination of one or two of the following is likely causing this;
The results of the getPublishingDestinations API call is cached in the browser for 60 seconds to reduce the number of server requests.
Property Compass is designed to be eventually consistent. Processed actions to strage are finalised independently of the processing that updates the read model used for the front end. A user navigating quickly back to a page with a publishing list before the read model is updated would get stale results in their perspective.
Solutions