Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-169

Job progress is badly computed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.1-milestone-2
    • 4.1-milestone-1
    • Job
    • None
    • N/A
    • N/A (we only need to list bugs explicitly in the RN for bugfix releases)

    Description

      The main problem is that when a PopLevelProgressEvent is immediately followed by a StepProgressEvent the step progress is taken into account twice. Take for instance this use case:

      push(2)
        push(1)
        step
        pop
      // --> here is the problem
      step
      step
      pop
      

      Since the first pop updates the progress, the following StepProgressEvent should be ignored.

      Attachments

        Activity

          People

            mflorea Marius Dumitru Florea
            mflorea Marius Dumitru Florea
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: