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

When the SLA is less than a minute to be breach, the remaining time is incompletely reported

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: Master
    • Fix Version/s: Master
    • Component/s: Workflow > Metrics
    • Labels:
      None

      Description

      Description:
      When the SLA is less than a minute to be breach, the remaining time is incompletely reported

      Steps to Reproduce:

      1. Go to Open Menu > Workflow > Metrics > Single Approver
      2. Add a new SLA definition with duration "00:02"
      3. Go to Open Menu > Workflow > Process Builder > Configuration
      4. Select Single Approver to Blog Entry
      5. Go to Menu > Content & Data > Blogs
      6. Add a Blog Entry
      7. Go to Open Menu > Workflow > Metrics > Single Approver > Total Pending
      8. Wait until 1 minute before the SLA breach
      9. Hover the mouse on SLA column to see the details

      Expected Result:
      A popover will display SLA name, respective due date (with month, day and time) and remaining time.

      Actual Result:
      A popover will display SLA name, respective due date (with month, day and time) and the word "left"

      Verified on master: 648105cf63932af9173a603bb43e553b7d7793df

        Attachments

          Activity

            People

            Assignee:
            team-workflow Product Team Workflow
            Reporter:
            ana.buchmann Ana Buchmann
            Participants of an Issue:
            Recent user:
            Ana Buchmann
            Engineering Assignee:
            João Pontes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              5 weeks ago

                Packages

                Version Package
                Master