Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collaborations created in the API are not live updated in the websocket live stream #552

Closed
baszoetekouw opened this issue Mar 8, 2023 · 4 comments
Labels
bug Something isn't working
Milestone

Comments

@baszoetekouw
Copy link
Member

No description provided.

@oharsta oharsta changed the title Collaborations that are create in the API are not live updtaed in the websocket live stream Collaborations that are create in the API are not live updated in the websocket live stream Mar 10, 2023
@FlorisFokkinga FlorisFokkinga changed the title Collaborations that are create in the API are not live updated in the websocket live stream Collaborations created in the API are not live updated in the websocket live stream Mar 17, 2023
@baszoetekouw baszoetekouw added the bug Something isn't working label Mar 17, 2023
@oharsta
Copy link
Collaborator

oharsta commented Mar 17, 2023

@baszoetekouw We don't currently emit websocket events when a CO is created. Which screen do you expect to update automatically? Only the ORG detail screen or also the CO overview of the platform admin?

@baszoetekouw
Copy link
Member Author

Only the org detail screen.

@oharsta
Copy link
Collaborator

oharsta commented Mar 31, 2023

It works now, but we use a cookie to identify the session which each tab stores and refreshes in the session storage. Otherwise changes in one tab would not show up in another tab as the cookie is the same. But if you open a new tab with the flasgger API and POST a new CO, then the cookie from the other tab is send (because it is not refreshed) and changes are not picked up. To test this specific situation you'll need to use two browsers.

@baszoetekouw baszoetekouw assigned mrvanes and unassigned oharsta Apr 3, 2023
@baszoetekouw baszoetekouw added this to the v22 milestone Apr 3, 2023
oharsta added a commit that referenced this issue Apr 4, 2023
@baszoetekouw
Copy link
Member Author

tested, works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

3 participants