django-scheduler
django-scheduler copied to clipboard
Doubling of occurrences when modified
I understand this is a design feature, not a bug, but perhaps it could be modified.
It happens to be a bit annoying in my use case since occurrences are often hard saved.
Currently if I hard save an occurrence, then I change the event to a different time globally (say extend the event by a half hour) and then change the recurring date, it will remake the occurrence in the spot I hard saved, effectively rescheduling something I already hard saved.
Would an indexing of occurrences or "only future events" option be helpful, or is this just too hard to implement case wise?
currently Gcal uses this method for editing events:
Only this event: similar to the occurrence edit here All in event: this not only changes the event model, but also goes through and changes every persisted occurrence associated to the event All after this: this truncates the old event to stop persisting at the time of the current occurrence, it then creates a new event from the new time and reassociates any future occurrences with this new event and changes them to all have the same time.
This would fix the occurrence doubling issues, but would also require a refactoring to choose which of these three options is chosen after clicking save in a new abstracted occurrence form.