Scheduler: Globalization and recurring events

15 posts, 1 answers
  1. gunnisen
    gunnisen avatar
    25 posts
    Member since:
    Oct 2006

    Posted 23 Jul 2013 Link to this post

    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


  2. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 25 Jul 2013 Link to this post

    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!
  3. Kendo UI is VS 2017 Ready
  4. gunnisen
    gunnisen avatar
    25 posts
    Member since:
    Oct 2006

    Posted 25 Jul 2013 Link to this post

    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

  5. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 29 Jul 2013 Link to this post

    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!
  6. gunnisen
    gunnisen avatar
    25 posts
    Member since:
    Oct 2006

    Posted 21 Aug 2013 Link to this post

    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
  7. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 23 Aug 2013 Link to this post

    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!
  8. gunnisen
    gunnisen avatar
    25 posts
    Member since:
    Oct 2006

    Posted 23 Aug 2013 Link to this post

    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

  9. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 27 Aug 2013 Link to this post

    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!
  10. gunnisen
    gunnisen avatar
    25 posts
    Member since:
    Oct 2006

    Posted 29 Aug 2013 Link to this post

    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


  11. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 02 Sep 2013 Link to this post

    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!
  12. gunnisen
    gunnisen avatar
    25 posts
    Member since:
    Oct 2006

    Posted 06 Sep 2013 Link to this post

    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



  13. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 10 Sep 2013 Link to this post

    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!
  14. gunnisen
    gunnisen avatar
    25 posts
    Member since:
    Oct 2006

    Posted 11 Sep 2013 Link to this post

    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

  15. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 11 Sep 2013 Link to this post

    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!
  16. Answer
    gunnisen
    gunnisen avatar
    25 posts
    Member since:
    Oct 2006

    Posted 17 Sep 2013 Link to this post

    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


Back to Top
Kendo UI is VS 2017 Ready