Uploaded image for project: 'Content Translation Extended (CTX)'
  1. Content Translation Extended (CTX)
  2. EXCONTRANS-314

maxAttempts per item is not reseted for each execution of a job

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.3
    • Fix Version/s: 3.0, 2.9
    • Component/s: None
    • Labels:
      None

      Description

      Once the batch is submitted the cron job will start trying to retrieve the translation. If the translation is immediately available it will be retrieved. If it's not immediately available the cron job will run as scheduled. Eventually, the max number of attempts will be reached and the cron job will stop trying to retrieve the translation. maxAttempt value in the item is never resetted.

      For example, if maxAttempt is set to 100 and the cron is set to run at 6am and then 6pm each day the max number of attempts will be reached at 6am, as the scheduler keeps running until the maxAttempt limit is reached. When the script runs again at 6pm it won't attempt to retrieve the file, since the maxAttempts value for the item was already reached. This means that if the file is delivered between these two times it won't be retrieved.

      maxAttempts value for each item should be reset each time the job runs.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                amanzoni Adrien Manzoni
                Reporter:
                miruela Mercedes Iruela
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: