View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005650||SOGo||Web Calendar||public||2022-11-28 23:01||2022-11-30 16:12|
|Summary||0005650: "Today" button sometimes does not work when calendar is displaying previous week|
I have the calendar on week view and often page forwards or backwards to check something that will happen in another week, then use the "Today" button to get back to the current week. This button exhibits strange behaviour, where sometimes it will do nothing, if the displayed week is the previous week.
If displaying any week other than the current or previous week, the button seems to work as expected.
Reloading the page seems to fix the issue every time, but it seems to reoccur regularly, at least once per week.
I don't think this bug was always present, but I'm not sure at which version it started.
|Steps To Reproduce|
(Today is October 24, in week 43, for the purpose of this demonstration)
Expected behaviour: Clicking "Today" should change the week view so that today's date is visible.
Further strange behaviour:
|Tags||No tags attached.|
Maybe related to this commit : https://github.com/Alinto/sogo/commit/5fb82fe414ed6cbac5f1396078ec87e87691123b
I'll take a look on that
I can't reproduce this issue on demo.sogo.nu. Please try on that.
Thanks for the quick reply.
That commit is from Oct 17 - although I'm not sure 100%, I believe the first time I encountered the issue predates that.
I should've been clearer - this occurs intermittently for me (about once per week), so I can't reproduce it on demand. I'll keep demo.sogo.nu open in my browser for a while and see if I can somehow trigger it. Next time I observe it, I'll also look in the JS console.
I didn't manage to trigger the main problem yet, but here is a screenshot of the wrong day being highlighted as "today" on demo.sogo.nu, including the contents of the console. What I did was click "Today" while viewing week 51. The view jumped back to the correct week, 49, but highlighted 29 November whereas today is 30 November.
|2022-11-28 23:01||ptomato||New Issue|
|2022-11-29 07:33||sebastien||Note Added: 0016424|
|2022-11-29 07:38||sebastien||Note Added: 0016425|
|2022-11-29 07:39||sebastien||Assigned To||=> sebastien|
|2022-11-29 07:39||sebastien||Status||new => feedback|
|2022-11-29 19:04||ptomato||Note Added: 0016428|
|2022-11-29 19:04||ptomato||Status||feedback => assigned|
|2022-11-30 08:36||sebastien||Note Added: 0016429|
|2022-11-30 16:12||ptomato||Note Added: 0016446|
|2022-11-30 16:12||ptomato||File Added: Screenshot from 2022-11-30 08-09-10.png|