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

Portlet is temporarily unavailable when going into sharepoint folder

    Details

    • Fix Priority:
      4

      Description

      Reproduction steps:

      1. Go to Control Panel > Configuration > System Settings > Collaboration > Sharepoint OAuth2
      2. Add Sharepoint OAuth2
      3. Go to DM to add a Sharepoint repository
      4. Go into the SharePoint repository folder

      Expected Results: Can go into the folder and no error throws.
      Actual Results: Can not go into the folder and no error throws., exception throws on the console:

      2020-10-12 03:59:17.670 ERROR [https-jsse-nio-8443-exec-5][render_portlet_jsp:131] null
      com.liferay.portal.kernel.security.auth.PrincipalException
              at com.liferay.sharepoint.rest.repository.internal.document.library.repository.external.SharepointExtRepository._getAccessToken(SharepointExtRepository.java:721)
              at com.liferay.sharepoint.rest.repository.internal.document.library.repository.external.SharepointExtRepository._getJSONObject(SharepointExtRepository.java:777)
              at com.liferay.sharepoint.rest.repository.internal.document.library.repository.external.SharepointExtRepository._getExtRepositoryFileEntries(SharepointExtRepository.java:733)
              at com.liferay.sharepoint.rest.repository.internal.document.library.repository.external.SharepointExtRepository.getExtRepositoryObjects(SharepointExtRepository.java:412)
              at com.liferay.sharepoint.rest.repository.internal.document.library.repository.external.SharepointCachingExtRepository.getExtRepositoryObjects(SharepointCachingExtRepository.java:315)
              at com.liferay.document.library.repository.external.ExtRepositoryAdapter.getFoldersAndFileEntries(ExtRepositoryAdapter.java:587)
              at com.liferay.document.library.repository.external.ExtRepositoryAdapter.getFoldersAndFileEntriesCount(ExtRepositoryAdapter.java:619)
              at com.liferay.portal.kernel.repository.BaseRepositoryImpl.getFoldersAndFileEntriesAndFileShortcutsCount(BaseRepositoryImpl.java:227)
              at com.liferay.portal.kernel.repository.Repository.getFoldersAndFileEntriesAndFileShortcutsCount(Repository.java:117)
              at com.liferay.portal.repository.util.RepositoryWrapper.getFoldersAndFileEntriesAndFileShortcutsCount(RepositoryWrapper.java:437)
              at com.liferay.portal.repository.capabilities.CapabilityRepository.getFoldersAndFileEntriesAndFileShortcutsCount(CapabilityRepository.java:577)
              at com.liferay.portlet.documentlibrary.service.impl.DLAppServiceImpl.getFoldersAndFileEntriesAndFileShortcutsCount(DLAppServiceImpl.java:1662)
              at com.liferay.portlet.documentlibrary.service.impl.DLAppServiceImpl.getFoldersAndFileEntriesAndFileShortcutsCount(DLAppServiceImpl.java:1649)
              at com.liferay.portlet.documentlibrary.service.impl.DLAppServiceImpl.getFoldersAndFileEntriesAndFileShortcutsCount(DLAppServiceImpl.java:1639)
              at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66)
              at com.liferay.document.library.kernel.service.DLAppServiceWrapper.getFoldersAndFileEntriesAndFileShortcutsCount(DLAppServiceWrapper.java:1321)
              at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66)
              at com.liferay.document.library.kernel.service.DLAppServiceWrapper.getFoldersAndFileEntriesAndFileShortcutsCount(DLAppServiceWrapper.java:1321)
              at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66)
              at com.liferay.document.library.kernel.service.DLAppServiceWrapper.getFoldersAndFileEntriesAndFileShortcutsCount(DLAppServiceWrapper.java:1321)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              yvonne.han Yvonne Han
              Participants of an Issue:
              Recent user:
              Yvonne Han
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

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

                  Packages

                  Version Package