Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-14017

Refactoring and filter stream logs display duplicated lines for the last step(s)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.0
    • Fix Version/s: 9.1-rc-1
    • Component/s: Job
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      So, in the log details, you see one or several lines repeated at the end of the log.

      The issue relates to the job.js script used for updating the logs.

      Since it is based on the jobRunner.js, which ensure always calling progress() before done() during the last XHR, the notifyJobDone() method of job.js should not call updateLog(), since it was already called by updateStatus() with the exact same data.

        Attachments

          Activity

            People

            Assignee:
            softec Denis Gervalle
            Reporter:
            softec Denis Gervalle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: