Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • gnome-calendar gnome-calendar
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 315
    • Issues 315
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 51
    • Merge requests 51
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • gnome-calendargnome-calendar
  • Merge requests
  • !262

manager: Fix bug where recurring events shift after being edited

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Ray Strode requested to merge fix-shifting-events into main Oct 11, 2022
  • Overview 22
  • Commits 1
  • Pipelines 7
  • Changes 3

Right now if a user edits say event 3 in a set of 5 events, the whole event set gets shifted over by 3. It's as if the middle event is treated as the new first event.

This is because of a hack in the code to clear the recurrence id of the event, to get at the "main event", and edit the whole set. This hack still leaves the start time on the event, causing the main event to use a middle event start time.

This commit queries for the main event from the middle event, and sets the middle event start time to match the main event, before doing an update.

Closes #882 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix-shifting-events