Bug: SelectedSlot is not preserved in latest release

7 posts, 1 answers
  1. hwsoderlund
    hwsoderlund avatar
    419 posts
    Member since:
    Aug 2006

    Posted 29 Apr 2011 Link to this post

    See the attached screen shots. They are taken in your Context Menu Integration example.

    • Screen shot 1 - I am creating an appointment in a slot I pre-selected. No other appointments exist in the current view. You can see that the slot is selected in the background.
    • Screen shot 2 - I have now selected a slot and opened the context menu. The slot is still selected behind the context menu.
    • Screen shot 3 - Now I have clicked "New Appointment" in the context menu. As you can see, the slot is no longer selected.

    This bug does not affect the standard functionality of the ScheduleView, but in our scenario it makes a huge difference. In fact it breaks it completely. I will explain:
    1. When the AppointmentCreating event is fired we cancel it immediately and present the user with a window where he/she can select the type of event to be created.
    2. When the type has been selected, we make a service call to get an entity for the new appointment, populated with a bunch of default values and such.
    3. When the entity comes back we execute the CreateAppointmentCommand manually.
    4. The AppointmentCreating event is now fired again. This time we populate e.Appointment with values that we got from the service call. We also populate the Start and End properties with the values from the SelectedSlot. And here is the problem. If other appointments exist in the view, the SelectedSlot is null and we cannot use i, which means that the appointment will be created at the wrong time.

    Note that this bug occurs also when double clicking to create a new event.

    I guess we might be able to hack our way around this, but this is clearly a bug. It was not present in the previous version and we would prefer that it was fixed. We need a fix within a few weeks, so I am hoping that you can squeeze this into an internal build.

    Best regards,
    /Henrik
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 03 May 2011 Link to this post

    Hi Henrik,

    Thank you for reporting this issue, we'll do our best to fix it in the internal build until he end of the month. We hope that this timeframe is suitable for you.

    As a token of gratitude for your involvement, I've updated your points.

    Kind regards,
    Yana
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. hwsoderlund
    hwsoderlund avatar
    419 posts
    Member since:
    Aug 2006

    Posted 06 May 2011 Link to this post

    That works for me. It would be great if you could report back here when the bug is fixed. Thank you.
  5. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 09 May 2011 Link to this post

    Hello Henrik,

    We've logged the bug in our public issue tracking system, you can track its progress here.

    All the best,
    Yana
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. hwsoderlund
    hwsoderlund avatar
    419 posts
    Member since:
    Aug 2006

    Posted 25 May 2011 Link to this post

    I just checked the PITS issue, and I am not seeing any activity on it yet. This is a very important issue for us, and I would like to know if it will still make it into an internal build before the end of the month.

    Thank you,
    /Henrik
  7. Answer
    Yana
    Admin
    Yana avatar
    4554 posts

    Posted 25 May 2011 Link to this post

    Hi Henrik,

    The issue is already fixed and the fix will be available in the next internal build.  We'll update the PITS item shortly.

    Best wishes,
    Yana
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  8. hwsoderlund
    hwsoderlund avatar
    419 posts
    Member since:
    Aug 2006

    Posted 25 May 2011 Link to this post

    Great! Thank you.
Back to Top
DevCraft banner