Skip to content

Lightbox does not correctly save changes for recurring events in “This and following events” mode (non-first occurrence) #80

@Darthleon

Description

@Darthleon

When editing a recurring event using the lightbox and selecting “This and following events”, changes made in the lightbox are not fully applied if the edited occurrence is not the first occurrence in the series.

In this scenario, only the description/text field is saved correctly. Other fields edited in the lightbox (such as start time, end time, duration, and other mapped fields) are ignored for the newly created recurring series.

This behavior is reproducible both in my application and in the official “Recurring Events” sample provided by dhtmlxScheduler.
(Reccuring Events)

Steps to reproduce

  1. Create a recurring event (e.g. every day).
  2. Open a non-first occurrence of the series.
  3. Choose “This and following events”.
  4. Open the lightbox.
  5. Change multiple fields (e.g. Description and End time).
  6. Click Save.

This will create a new recurring event, with the new description but with the same End Time as the original.

Wanted result:
All fields modified in the lightbox should be applied to the newly created recurring series when using “This and following events”, regardless of whether the edited occurrence is the first one or not.

Notes / Observations

  • Editing “All events” works correctly.
  • Editing “This event only” works correctly.
  • Editing the first occurrence with “This and following events” works correctly.
  • Drag-and-drop editing with “This and following events” works correctly.
  • Changing time via dragging/resizing the event also works correctly.

The issue appears to be specific to saving via the lightbox when the edited occurrence is not the first one.

Please let me know if there's a know fix to achieve the expected behavior.
Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions