michaelklishin / quartz-mongodb

A MongoDB-based store for the Quartz scheduler. This fork strives to be as feature complete as possible. Originally by MuleSoft.
Other
249 stars 203 forks source link

Invalid CronTrigger can cause inability to delete / change job #47

Closed hofmeister closed 10 years ago

hofmeister commented 10 years ago

When the MongDBJobStore deserializes a CronTrigger (which it does all the time), calling setEndTime will throw an IllegalArgumentException and prevent whatever operation was attempted (e.g. replace trigger, remove job)

Should fix issue #46

Sorry for the lack of tests, don't really know closure... Consider this a suggestion :)