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

The Completion Velocity card is not showing the specific error state for unexpected errors

    Details

      Description

      Summary: The card is not showing the specific error state for unexpected errors. We have 2 distinct behavior:

      1. The message "Error: Request failed with status code 403" is displayed
      2. An empty chart with empty filters are displayed instead of a proper message

      Steps to reproduce:

      1. Go to Control Panel > Workflow > Metrics > Performance;
      2. Wait until the portal session to expire;
      3. Change the Completion velocity timeframe and observe the error message;
      4. Initiate a new session and access Control Panel > Workflow > Metrics;
      5. Inspect the page > Network > Offline (force network disconnection)
      6. Click on Performance tab;

      Actual result:

      1. The message "Error: Request failed with status code 403" is displayed
      2. An empty chart with empty filters are displayed instead of a proper message

      Expected result:

      1. The message "There was a problem retrieving data. Please try reloading the page. Reload Page." should be displayed.

      Environment:
      Liferay DXP master-private
      Commit: 8968a64d7130b759f80fb916004b4467f94d77b5
      Updated on: Mon Aug 5 20:20:52 2019 -0700

       

        Attachments

        1. LPS-99443_1.png
          LPS-99443_1.png
          219 kB
        2. LPS-99443_2.png
          LPS-99443_2.png
          190 kB
        3. LPS-99443_expected.png
          LPS-99443_expected.png
          29 kB
        4. LPS-99443_retest.png
          LPS-99443_retest.png
          100 kB

          Issue Links

            Activity

              People

              Assignee:
              brian.chan Brian Chan
              Reporter:
              dennys.barros Dennys Barros (Inactive)
              Participants of an Issue:
              Recent user:
              Jason Pince
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 16 weeks, 4 days ago

                  Packages

                  Version Package
                  7.2.10 DXP FP2
                  7.2.10.1 DXP SP1
                  7.3.10 DXP GA1
                  Master