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

Numbers from Metrics are being wrongly displayed when instances are deleted

    Details

      Description

      Current issue: Numbers from Metrics are being wrongly displayed when instances are deleted

      Steps to reproduce:

      1. Associate Blogs Entry with Single Approver
      2. Create a blog entry, assign it to yourself and complete it
      3. Go to CP > Workflow > Metrics > Single Approver and add an SLA
        1. Start: Process Begins
        2. End: Process Ends
        3. Duration: 1 minute
      4. Create a blog instance and assign it to yourself
      5. Wait 1 minute for the instance to become overdue
      6. Complete the instance
      7. Delete the blogs instances (including from Recycle Bin)
      8. Create another blog instance and complete it right away
      9. Go to CP > Workflow > Metrics > Single Approver > Performance tab

      Actual result: -1 is displayed. Also, the SLA Breached number inside Performance by Step is wrong

      Expected result: The numbers on Metrics should be correct, even when deleting blogs entries

      NOTE: Reindexing fixes the numbers.

      Environment:
      master DXP: b30d19d8f9976fc54e021c04d8eb6b7fb89cc200

        Attachments

        1. ActualResult_Apr23.gif
          ActualResult_Apr23.gif
          3.15 MB
        2. LPS-112066_after_reindex_1.png
          LPS-112066_after_reindex_1.png
          261 kB
        3. LPS-112066_after_reindex_2.png
          LPS-112066_after_reindex_2.png
          247 kB
        4. LPS-112066_before_reindex_1.png
          LPS-112066_before_reindex_1.png
          254 kB
        5. LPS-112066_before_reindex_2.png
          LPS-112066_before_reindex_2.png
          285 kB
        6. LPS-112066.gif
          LPS-112066.gif
          12.09 MB

          Activity

            People

            Assignee:
            brian.chan Brian Chan
            Reporter:
            dennys.barros.1 Dennys Barros.1 (Inactive)
            Participants of an Issue:
            Recent user:
            Tomáš Polešovský
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 10 weeks ago

                Packages

                Version Package
                7.3.10 DXP GA1
                Master