Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-102908

[BUG] Completing an instance with two SLAs (1 overdue and 1 on time) turns the numbers from Metrics wrong

    Details

      Description

      Summary: Completing an instance with two SLAs (1 overdue and 1 on time) turns the numbers from Metrics wrong

      Steps to reproduce:

      1. Configure Single Approver to be the workflow process of Blogs instances
      2. Add 2 SLAs in Single Approver:
        1. One of 1 minute (Start: Process Begins; End: Process Ends)
        2. The other one of 5 min (Start: Enters task Review; End: Leaves task Review)
      3. Create two blog instances
      4. Wait for two minutes and complete one of the instances
      5. Go to Control Panel > Workflow > Metrics > Single Approver and wait for the numbers to be updated
      6. Go to Performance tab and click on the On Time completed number

      Actual result: The numbers from Dashboard tab are wrong showing -1. Also, the completed instance on Performance Tab is being displayed in the wrong place. It should be overdue instead of On Time.

      Expected result: All the numbers and filters should be correctly displayed.

      Environment:
      Commit: c1f5b070cc8e367ebc1be7cf3070507918cb45b9
      Base Branch Commit: 897f1056e8c1472c09abdf956dcc88005ea102ac
      Updated on: Fri Oct 4 16:23:55 2019 -0300

        Attachments

          Activity

            People

            Assignee:
            brian.chan Brian Chan
            Reporter:
            dennys.barros Dennys Barros (Inactive)
            Engineering Assignee:
            Rafael Praxedes
            Recent user:
            Inácio Nery
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                Master