Hi,

 

I have re-written the Xwiki.CalendarSheet code to add the calendar event object to $xwiki.getDocument("XWiki.CalendarSheet") rather than $doc (reason being, I want to include it in other contexts/pages).

 

It works fine, until another user adds an event, then the events in the calendar display disappear, and re-appear if I edit the page and make no changes: oddly, the changes disappear for everyone and re-appear globally too.

If I use my own account and add an even, there’s no issue (im an admin, my test account is a normal user: I have tried fiddling with the rights).

 

Any help?

 

(code attached)