private Trigger getTrigger(BaseObject object, XWikiContext context) throws SchedulerPluginException
{
String job = getObjectUniqueId(object, context);
Trigger trigger;
try {
<BUG>trigger = getScheduler().getTrigger(job, Scheduler.DEFAULT_GROUP);
} catch (SchedulerException e) {</BUG>
throw new SchedulerPluginException(SchedulerPluginException.ERROR_SCHEDULERPLUGIN_JOB_XCLASS_NOT_FOUND,
"Error while getting trigger for job " + job, e);
}

private Trigger getTrigger(BaseObject object, XWikiContext context) throws SchedulerPluginException
{
String job = getObjectUniqueId(object, context);
Trigger trigger;
try {
trigger = getScheduler().getTrigger(new TriggerKey(job));
} catch (SchedulerException e) {
throw new SchedulerPluginException(SchedulerPluginException.ERROR_SCHEDULERPLUGIN_JOB_XCLASS_NOT_FOUND,
"Error while getting trigger for job " + job, e);
}
