Uploaded image for project: 'Quartz Scheduler (Historical - Do Not File New Issues Here - See GitHub)'
  1. Quartz Scheduler (Historical - Do Not File New Issues Here - See GitHub)
  2. QTZ-48

QuartzScheduler.deleteJob() only deletes triggers, not job

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 2 Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.1
    • Fix Version/s: 1.8.4
    • Component/s: Core
    • Labels:
      None
    • Terracotta Target:
      Esperance
    • Fixed In Revision:
      1193

      Description

      The fix for QTZ-38 leads to job triggers being deleted, but not jobs:

      result = result || resources.getJobStore().removeJob(ctxt, jobName, groupName);
      

      As result ist true if at least one trigger has been deleted, the right side of the OR expression never gets executed.

      Suggested fix:

      result = resources.getJobStore().removeJob(ctxt, jobName, groupName) || result;
      

        Attachments

          Activity

            People

            • Assignee:
              drb Issue Review Board
              Reporter:
              dnaber Daniel Naber
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: