If I delete a recurring appointment series, all subsequent attempts to delete a normal appointment will have wrong information for currentAction in onBeforeAppointmentRemove.
function OnBeforeAppointmentRemove(args) {
args.cancel = true;
console.debug('args.currentAction: ' + args.currentAction);
}
Scenario:
- Delete a normal appointment: args.currentAction: delete
- Delete a recurring appointment series: args.currentAction: deleteSeries
- Delete a normal appointment: args.currentAction: deleteSeries
I've tested this in version 17.4.0.44 and attached a sample project with the problem illustrated.
Attachment:
Sample_42e35aa3.zip