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

Connected Apps user admin tab fails on a pristine portal

    Details

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

      Description

      Steps to reproduce:

      1. Open a pristine portal.
      2. Go to User -> Account Settings -> Apps

      Expected: A message is displayed saying that there are no connected apps.
      Actual: No message is displayed and the following error is shown in the logs:

      2019-04-09 08:26:09.686 ERROR [http-nio-8080-exec-4][IncludeTag:128] Current URL /group/guest/manage?p_p_id=com_liferay_my_account_web_portlet_MyAccountPortlet&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&_com_liferay_my_account_web_portlet_MyAccountPortlet_mvcRenderCommandName=%2Fusers_admin%2Fedit_user&_com_liferay_my_account_web_portlet_MyAccountPortlet_p_u_i_d=20129&_com_liferay_my_account_web_portlet_MyAccountPortlet_screenNavigationCategoryKey=general&_com_liferay_my_account_web_portlet_MyAccountPortlet_screenNavigationEntryKey=connected-app&p_p_auth=HfMqOtJa generates exception: javax.servlet.ServletException: com.liferay.portal.kernel.exception.PortalException: Google Drive Opener is not properly configured
      com.liferay.portal.kernel.exception.PortalException: Google Drive Opener is not properly configured
      	at com.liferay.document.library.opener.google.drive.web.internal.OAuth2Manager._getGoogleAuthorizationCodeFlow(OAuth2Manager.java:178)
      	at com.liferay.document.library.opener.google.drive.web.internal.OAuth2Manager.getCredential(OAuth2Manager.java:87)
      	at com.liferay.document.library.opener.google.drive.web.internal.connected.app.GoogleDriveConnectedAppProvider.getConnectedApp(GoogleDriveConnectedAppProvider.java:56)
      	at com.liferay.connected.app.web.internal.ConnectedAppManagerImpl.getConnectedApps(ConnectedAppManagerImpl.java:45)
      	at org.apache.jsp.connected_005fapps_jsp._jspService(connected_005fapps_jsp.java:299)
      	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
      	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
      	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
      	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
      	at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:321)
      	at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:332)
      	at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
      	at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:62)
      	at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:120)
      	at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:48)
      	at com.liferay.connected.app.web.internal.frontend.taglib.servlet.taglib.UserConnectedAppScreenNavigationEntry.render(UserConnectedAppScreenNavigationEntry.java:90)
      	at org.apache.jsp.screen_005fnavigation.page_jsp._jspService(page_jsp.java:327)
      	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
      
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                25 weeks, 6 days ago

                Packages

                Version Package
                Master