Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-89416 [SLA] Edit SLA
  3. LPS-93874

[BUG] After deleting some SLA, the records are not removed from the Metrics

    Details

    • Type: Technical Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: Master
    • Component/s: Workflow
    • Labels:
      None

      Description

      Setup

      • Under Control Panel > Workflow > Process Builder, create a new Workflow (named Single Approver Test) and assign asset type Blogs Entry to it;

      Step-by-Step:

      1. Go to Control Panel > Workflow > Metrics;
      2. Create one SLA for Single Approver Test with 2min duration time;
      3. Under Site Panel > Content & Data > Blogs, create a new blog post and submit it for approval;
      4. Go back to the Workflow metrics page and wait >2min;
      5. Observe the metrics from Single Approver Test indicating: 1 Overdue, 0 On Time, 1 Total Pending;
      6. Delete the SLA previously created and wait 1min;
      7. Go back to the metrics page;

      Actual result:
      Records are not removed. Note that if you create a new SLA after that, it will keep showing data from the deleted SLA as well.

      Expected:
      Records are removed and the table brings "-" under columns Overdue and On Time;

      Environment: master-private (Liferay DXP 7.2 EE) localhost
      Commit: d344d52ca6ff4f6f301bcee2f146650cc320216a

      Evidence:
      x

      Browsers:

      • Firefox Latest
      • Chrome Latest
      • EDGE Latest
      • IE 11

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  29 weeks, 4 days ago

                  Packages

                  Version Package
                  Master