This is a migrated thread and some comments may be shown as answers.

Scheduler: Globalization and recurring events

14 Answers 302 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
gunnisen
Top achievements
Rank 1
gunnisen asked on 23 Jul 2013, 12:54 PM
Hi!

I'm testing the scheduler and seem to be having a problem wrt. getting recurring events to "behave" in a Norwegian setting. The app is an ASP.NET MVC4 web application. I have set both uiCulture and culture to nb-NO in web.config, and I've loaded kendo.culture.nb-NO.min.js in _Layout.cshtml.

If I am in DayView, choosing today's date (which is a Tuesday) and try to set up a weekly recurring event, the dialog has pre-selected Wednesday as the weekday for the recurring event. If I change that to Tuesday manually, all seems to work fine. However, this should not be necessary.  ;-)  

All day names are listed in Norwegian, and the first-day-of-week is Monday, just as it should be. Only the preselected weekday seems to be wrong.

Have I missed something in the config, or is this a bug...?

Best regards,
  Gunnar


14 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 25 Jul 2013, 09:42 AM
Hello Gunnar,

 
I prepared a simple test project in my attempt to replicate the issue, but to no avail. The problem is attached to this message. Probably I am missing something. Could you modify it to mimic the problem?

As a side note, currently the WeekView does not honour first day of week defined by the culture. The project shows how to achieve this.

Regards,
Georgi Krustev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
gunnisen
Top achievements
Rank 1
answered on 25 Jul 2013, 12:16 PM
Hello Georgi!

Thanks for replying and for taking the time to create a test project. When I load your test project, I get the same behavior as I described in my original post. See attached screen dump. Strange??

However, I was not quite accurate when describing the problem. What happens is this:  If I manually change the selected weekday to the correct choice in the recurrence dialog, the recurrence rule ends up in the DB as "FREQ=WEEKLY;BYDAY=undefined", and the event appears in the day view every day.

If I leave the pre-selected weekday as it is (which is then one off), the saved recurrence rule is correct, and the event appears as expected in the scheduler.

Any ideas?  :-)

--Gunnar

0
Georgi Krustev
Telerik team
answered on 29 Jul 2013, 07:30 AM
Hello again Gunnar,

 
Thank you for the clarification. I was able to observe the issue and I confirm it as a bug. We will address it in the next internal build of Kendo UI.

As a gratitude for your involvement I updated your Telerik points.

Regards,
Georgi Krustev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
gunnisen
Top achievements
Rank 1
answered on 21 Aug 2013, 10:18 AM
Hello again!

From reading other posts, I got the impression this was fixed in the latest internal build. I tried updating through the Telerik Control Panel, but I'm not sure if that gave me the latest build. My current version is 2013.2.716, main js files are dated July 19th, while the culture js files are dated July 29th). I'm still getting the same behavior regarding recurring events on specific weekdays, see attached image. I try to enter a recurring event while I'm on a Wednesday (onsdag), and the recurrence dialog comes up with Thursday (torsdag) preselected. If I leave it as is, it ends up correct in the database. Whereas if I  correct the weekday manually in the dialog, the recurrence rule ends up with BYDAY=undefined.

Did I fail installing the latest internal build, or is the bug still there? If I'm still on the previous version, how can I get the latest internal build? 

Best regards,
  Gunnar
0
Georgi Krustev
Telerik team
answered on 23 Aug 2013, 08:28 AM
Hello again,

 
The fix was not included in production branch until now. The next internal build of Kendo UI will include the fix. I also attached a version of Kendo UI, which includes the patch. Please give it a try and let me know if the problem still persists.

Best regards,
Georgi Krustev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
gunnisen
Top achievements
Rank 1
answered on 23 Aug 2013, 08:48 AM
Hi Georgi!

Thank you so much for including the internal build. Unfortunately, I'm still getting the same error where the preselected weekday is one off (if I'm on a Friday and try to enter a weekly recurring event, the dialog comes up with Saturday preselected). However, if I then correct this manually, the correct recurrence rule now seems to be saved in the database, which is a great improvement.

Is the remaining error due to something I'm doing wrong, or are you able to reproduce this on your end as well?

Best regards,
  Gunnar

0
Georgi Krustev
Telerik team
answered on 27 Aug 2013, 09:22 AM
Hello Gunnar,

 
Yes, the issue still exists and it is a bug. We addressed it and the fix will be included in the next internal build of Kendo UI due to this week. I once again updated your Telerik points because of the involvement. 

Regards,
Georgi Krustev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
gunnisen
Top achievements
Rank 1
answered on 29 Aug 2013, 08:33 AM
Thanks again, Georgi. BTW, it's not just that the preselected weekday is one off. Also, if I try to enter a recurring event for every work day (Monday through Friday), it looks good in the database (FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR;WKST=MO), but in the scheduler the event shows up on Sundays as well. And if I open the dialog to edit the event, the recurrency is shown as Tu/We/Th/Fr/Sa. So there's something going on there, but I'm sure you'll sort it out.  :-)

How do we get the latest internal build when it's ready? Will you post it here, or could you give me the URL?

Best regards,
  Gunnar


0
Georgi Krustev
Telerik team
answered on 02 Sep 2013, 09:00 AM
Hello again Gunnar,

 
We have already addressed this problem. The internal build which will be uploaded in the begining of this week will include this fix. 
The internal builds can be downloaded from your account:

  1. Click "Products & Subscriptions" 
  2. Navigate to "Latest internal builds"
  3. Choose the product you want to update (Kendo UI in this case)
  4. When page loads you will see a list of the available internal builds of Kendo UI.

Regards,
Georgi Krustev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
gunnisen
Top achievements
Rank 1
answered on 06 Sep 2013, 01:55 PM
Hello again!

I've been busy on a different project for a while, but now I've installed v. 2013.2.906 which I believe is the latest build (?).

The recurrency feature seems to work better now, but I still have some issues in my project, which I try to localize to a Norwegian setting.

I have seven resources (rooms) for which I'm booking events.

Weekly recurring events for Mondays are rendered on both Sundays and Mondays in Day and Agenda views. Something to do with first-day-of-week (which is Monday in Norway)...? Same thing happens for work-day events (Mon-Fri), these are also rendered on Sundays. RecurrenceRule seems to be OK in the database, e.g. FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR;WKST=MO

Weekly recurring events for Sundays: In Day, Month, and Agenda views, the event is rendered for Sundays and Mondays. In Week view, the event is rendered correctly for the first Sunday, but from then on it is only rendered on Mondays. 

In Agenda view, all events are listed for each and every room, not just the one they are assigned to. This is not limited to recurring events.

Are you able to reproduce these errors on your end?

Best regards,
  Gunnar



0
Georgi Krustev
Telerik team
answered on 10 Sep 2013, 03:20 PM
Hello Gunnar,

 
Yes, I was able to replicate  all the issues related to recurring logic. They will be addressed in the upcoming official release of Kendo UI (service pack due the mid of September).
As to your last issue, could you elaborate more on it? I modified the test project that I attached in this thread and it seams that the Agenda view works as expected. Probably I am missing something.

Regards,
Georgi Krustev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
gunnisen
Top achievements
Rank 1
answered on 11 Sep 2013, 08:25 AM
Hi Georgi!

OK, great, looking forward to the mid-September release. 

Regarding the Agenda view, I was able to reproduce the behavior I described when running your test project. In Agenda view, all events are listed for all attendees. I attach some screen dumps with one event scheduled for one attendee in order to illustrate what I'm seeing. 

All the best,
  Gunnar

0
Georgi Krustev
Telerik team
answered on 11 Sep 2013, 02:32 PM
Hi Gunnar,

 
Once again, thanks for drawing our attention to this issue. We addressed both problems (recurring issue too) and the next internal build will include the fixes. I updated your Telerik points because of the involvement. 

Regards,
Georgi Krustev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Accepted
gunnisen
Top achievements
Rank 1
answered on 17 Sep 2013, 11:05 AM
Hello Georgi!

I just downloaded the latest internal build (2013.2.912), and I'm happy to say that recurrent events now seem to render perfectly even in a localized setting! Also, the bug I reported with the Agenda view has been fixed, just like you said.  :-)

Excellent work!

Best regards,
  Gunnar


Tags
Scheduler
Asked by
gunnisen
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
gunnisen
Top achievements
Rank 1
Share this question
or