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

ClassCastException when trying to select a collection provider when creating a collection page

    Details

      Description

      Steps to reproduce:

       

      1. Deploy the attached configuration file to osgi/configs
      2. Go to Site Builder > Pages
      3. Click on + and select Public Collection Page
      4. Click on Collection Providers tab

      Expected result: Collection Providers are shown (Highest, Related, Most Viewed....)

      Actual result: A ClassCastException error is thrown in the console

       

      java.lang.ClassCastException: java.util.Collections$UnmodifiableCollection cannot be cast to java.util.List
      	at com.liferay.info.internal.item.InfoItemServiceTrackerImpl.getAllInfoItemServices(InfoItemServiceTrackerImpl.java:55)
      	at com.liferay.info.internal.list.provider.InfoListProviderTrackerImpl.getInfoListProviders(InfoListProviderTrackerImpl.java:41)
      	at com.liferay.layout.admin.web.internal.display.context.SelectLayoutCollectionDisplayContext.getCollectionProvidersSearchContainer(SelectLayoutCollectionDisplayContext.java:85)
       
      
      

        Attachments

          Activity

            People

            Assignee:
            yang.cao Yang Cao
            Reporter:
            jurgen.kappler Jürgen Kappler
            Participants of an Issue:
            Recent user:
            Jason Pince
            Engineering Assignee:
            Jürgen Kappler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.3.3 CE GA4
                7.3.10 DXP GA1
                Master