Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-2884

Job retries should never be negative

    XMLWordPrintable

Details

    Description

      If a failing job is executed even if the retries already are 0 the retry count will become negative. Although this job should never be executed it is a good idea to actively prevent a negative retry count because often the retries count is exactly tested to be equal 0.

      AT:

      • in JobEntity the setRetries method performs a < 0 check
      • no direct access of the JobEntity.retries fieldt

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              meyer Daniel Meyer
              sebastian.menski Sebastian Menski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce