Staff 2-way sync doesn't work properly

Issue #918 new
Valentina R created an issue

When an appointment has a staff member and staff uses gCal 2-way sync, the sync only works when the appointment is created.

After that, if there are any changes to the appointment, the staff’s calendar is not updated. But the global calendar is updated.

See examples of what happens in these cases:

  • change date of appointment in WP admin (Works fine in 4.16.1)
    → reflected change in global gCal
    → NO change in staff gCal
  • change date of appointment in global gCal
    → reflected change in WP admin
    → NO change in staff gCal
  • change date of appointment in staff gCal
    → NO change in global gCal
    → NO change in WP admin **
  • delete appointment in globally synced gCal
    → reflected change in WP admin
    → NO change in staff gCal
  • delete appointment in staff synced gCal
    → reflected change in WP admin
    → NO change in global gCal
  • change staff in WP admin
    → NO change in staff’s gCals

** If you refresh the admin or order-thanks page straight after making the change in staff’s gCal, the change is reflected in WP. But when it syncs with the global gCal, the change is undone in WP, but not in staff’s gCal.
A possible solution would be to trigger the global gCal (and other staff if product has multiple) and change it accordingly after receiving the staff’s gCal update.

Reported here and can be reproduced on v4.14.7.

FYI, using the reschedule feature works fine.


Still present in 4.18.1 with more examples:

Product has 2 staff. Staff A is booked, staff B is free to be booked. In admin, change the staff A to B for booked appointment.

The global snyc updates, staff B gets the new event synced BUT the old staff A still has the event (should be removed).

Now, if Staff A deleted the synced gCal, the appointment is canceled. it should not be because Staff B was assigned to it already.

Comments (13)

  1. Valentina R reporter

    another report here.

    If you switch staff, the original staff is blocked from being booked even though he is not booked. And when deleting the event in staff’s calendar, it canceled the appointment.

  2. Log in to comment