You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a Trigger uses IgnoreMisfires instruction, calling GetTriggerBuilder should return a TriggerBuilder set up with IgnoreMisfires instruction.
Actual behavior
GetTriggerBuilder returns a TriggerBuilder set up with SmartPolicy misfire instruction.
Steps to reproduce
ITriggertrigger1= TriggerBuilder.Create().WithSimpleSchedule(x => x.WithMisfireHandlingInstructionIgnoreMisfires()).Build();ITriggertrigger2= trigger1.GetTriggerBuilder().Build();
Console.WriteLine("trigger1.MisfireInstruction: {0}", trigger1.MisfireInstruction);// Prints -1
Console.WriteLine("trigger2.MisfireInstruction: {0}", trigger2.MisfireInstruction);// Prints 0
Problem seems to be in the implementation of GetScheduleBuilder() for every type of trigger: there is a "switch" that doen't take into account the case "Quartz.MisfireInstruction.IgnoreMisfirePolicy", so the misfire instruction stays to the default one.
The text was updated successfully, but these errors were encountered:
Version: 3.0.7
Expected behavior
When a Trigger uses IgnoreMisfires instruction, calling GetTriggerBuilder should return a TriggerBuilder set up with IgnoreMisfires instruction.
Actual behavior
GetTriggerBuilder returns a TriggerBuilder set up with SmartPolicy misfire instruction.
Steps to reproduce
Problem seems to be in the implementation of GetScheduleBuilder() for every type of trigger: there is a "switch" that doen't take into account the case "Quartz.MisfireInstruction.IgnoreMisfirePolicy", so the misfire instruction stays to the default one.
The text was updated successfully, but these errors were encountered: