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

NoConnectionException if live server is down when switching tabs in Publishing > Staging

    Details

    • Type: Regression Bug
    • Status: In Review
    • Resolution: Unresolved
    • Affects Version/s: 7.0.X, 7.1.X, Master
    • Fix Version/s: None
    • Component/s: Staging

      Description

      Steps to reproduce:

      1. Start 2 bundles of Liferay
      2. Connect them by remote staging
      3. Turn off live server
      4. Go to Control Panel > Publishing > Staging, switch tabs between Processes/Scheduled

      Expected:
      No Exception logged

      Actual
      Exception occurs each time the tabs are switched

      The proposed fix changes how we would log connection errors for all http services reached by the server. If there's a ConnectException thrown, only a one-liner Connection error + cause will be logged. A debug logging is added for these exceptions too, if stack trace is needed, set logging to debug level for the class which threw the ConnectException.

        Attachments

        1. error01.PNG
          error01.PNG
          63 kB
        2. error02.PNG
          error02.PNG
          54 kB

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Days since last comment:
                  1 day ago

                  Packages

                  Version Package