-
Notifications
You must be signed in to change notification settings - Fork 39
Creating a complex event doesn't update the calendar view #99
Comments
Hi benjamin, This works on my cozy's VM, but after looking at the code it appears to work only because of the realtime loop (the change is made in the Data-System, an event is fired, the app fetch latest version from the server). To test if the realtime loop works on your VM, open the calendar app in two browser windows on the same month and create an event in one of the window. It should appears without refresh on the other window. If it doesn't, that means the realtime doesn't work.
|
Hi!
Chromium:
Firefox:
|
Oh, and thanks by the way, there are some chances we've found a bug in Firefox that shows up in the Calendar app :) (not related to the websocket though) |
@bnjbvr , you need to update your proxy. |
@aenario I updated proxy and the issue is still present. According to cozy-monitor versions, proxy is at version 1.0.4, which seems to be the head version on the github repo. Is there something else I can do to help debugging? |
Ok , It works on my hosted instance with the following versions.
Another potential source of error is your nginx (or another reverse proxy you might use). It needs to be setup for websockets (details here : http://nginx.org/en/docs/http/websocket.html) |
Thanks for the links! After pasting the following lines in the cozy nginx descriptor file, everything worked as expected (after an actual nginx restart, sigh):
It might be nice to set up a FAQ page and to add a link to this nginx doc page there. Feel free to close the issue according to what decision you take :) |
I created an issue in cozy-docs and closing this one. Thanks for reporting ! |
STR
Expected
The new event should directly show up in the calendar view.
Actual
One needs to refresh the page to see the newly created event in the calendar.
The text was updated successfully, but these errors were encountered: