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

InvalidFileEntryTypeException throws when move document to folder

    Details

      Description

      1. Add Document and Media portlet to new page.
      2. Create new folder.
      3. Edit the folder.
      4. Select "Define specific document type restrictions for this folder." don't select any type.
      5. Save.
      6. Create new document any type.
      7. Move the document to the folder.

      Expected result:
      There are should be contain default type eg: Basic Document.

      Actual result:
      Documents and Media is temporarily unavailable.

      01:58:18,587 ERROR [http-bio-8080-exec-9][render_portlet_jsp:132] null
      com.liferay.portlet.documentlibrary.InvalidFileEntryTypeException: Invalid file entry type 0 for folder 10658
              at com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl.validateFileEntryTypeId(DLFileEntryLocalServiceImpl.java:2502)
      
              at com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl.updateFileEntry(DLFileEntryLocalServiceImpl.java:1513)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
              at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
              at com.liferay.portlet.documentlibrary.service.impl.DLFileEntryTypeLocalServiceImpl.cascadeFileEntryTypes(DLFileEntryTypeLocalServiceImpl.java
      :533)
              at com.liferay.portlet.documentlibrary.service.impl.DLFileEntryTypeLocalServiceImpl.cascadeFileEntryTypes(DLFileEntryTypeLocalServiceImpl.java
      :174)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
              at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
              at com.liferay.portlet.documentlibrary.service.impl.DLFolderLocalServiceImpl.updateFolder(DLFolderLocalServiceImpl.java:877)
              at com.liferay.portlet.documentlibrary.service.impl.DLFolderLocalServiceImpl.updateFolder(DLFolderLocalServiceImpl.java:937)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mark.jin Mark Jin (Inactive)
                Reporter:
                mark.jin Mark Jin (Inactive)
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 15 weeks, 1 day ago

                  Packages

                  Version Package
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M1