Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      5
    • Similar Issues:
      Show 5 results 

      Description

      1. At Documents and Media portlet, create new document type which has two Text.

      2. Add new document as new document type.

      3. Export a lar file from Documents and Media .

      4. Change site to other one.

      5. Add Documents and Media portlet in page.

      6. Configuration -> Scope and set "Scope: Select Page" and "Scope Page: Current Page (Home)".

      7. Import lar file created at step3, error is shown.

        Issue Links

          Activity

          Hide
          Mark Jin added a comment -

          PASSED Manual Testing following the steps in the description.

          Reproduced on:
          Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2.

          Import LAR cause error message like:

          05:37:35,410 ERROR [http-bio-7080-exec-10][ExportImportAction:303] com.liferay.portal.kernel.lar.PortletDataException: c
          om.liferay.portlet.documentlibrary.InvalidFileEntryTypeException: Invalid file entry type 10477 for folder 0
          com.liferay.portal.kernel.lar.PortletDataException: com.liferay.portlet.documentlibrary.InvalidFileEntryTypeException: I
          nvalid file entry type 10477 for folder 0
                  at com.liferay.portal.kernel.lar.BasePortletDataHandler.importData(BasePortletDataHandler.java:82)
                  at com.liferay.portal.lar.PortletImporter.importPortletData(PortletImporter.java:1054)
                  at com.liferay.portal.lar.PortletImporter.importPortletData(PortletImporter.java:994)
                  at com.liferay.portal.lar.PortletImporter.doImportPortletInfo(PortletImporter.java:437)
                  at com.liferay.portal.lar.PortletImporter.importPortletInfo(PortletImporter.java:141)
                  at com.liferay.portal.service.impl.LayoutLocalServiceImpl.importPortletInfo(LayoutLocalServiceImpl.java:1453)
          

          Fixed on:
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: f317fb8d042572b386b832d573bb52803cd0d161.

          Import LAR file works well. No error message.

          Show
          Mark Jin added a comment - PASSED Manual Testing following the steps in the description. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2. Import LAR cause error message like: 05:37:35,410 ERROR [http-bio-7080-exec-10][ExportImportAction:303] com.liferay.portal.kernel.lar.PortletDataException: c om.liferay.portlet.documentlibrary.InvalidFileEntryTypeException: Invalid file entry type 10477 for folder 0 com.liferay.portal.kernel.lar.PortletDataException: com.liferay.portlet.documentlibrary.InvalidFileEntryTypeException: I nvalid file entry type 10477 for folder 0 at com.liferay.portal.kernel.lar.BasePortletDataHandler.importData(BasePortletDataHandler.java:82) at com.liferay.portal.lar.PortletImporter.importPortletData(PortletImporter.java:1054) at com.liferay.portal.lar.PortletImporter.importPortletData(PortletImporter.java:994) at com.liferay.portal.lar.PortletImporter.doImportPortletInfo(PortletImporter.java:437) at com.liferay.portal.lar.PortletImporter.importPortletInfo(PortletImporter.java:141) at com.liferay.portal.service.impl.LayoutLocalServiceImpl.importPortletInfo(LayoutLocalServiceImpl.java:1453) Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: f317fb8d042572b386b832d573bb52803cd0d161. Import LAR file works well. No error message.
          Hide
          Mark Jin added a comment -

          FAILED Manual Testing following the steps in the description.

          Failed on:
          Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 069efb6ba8c9cf89acea033f6c017a742ad21392.

          Import LAR cause error message like:

          01:36:55,656 ERROR [http-bio-9080-exec-8][JDBCExceptionReporter:76] Duplicate entry '10454-auto_51b55d47-a07a-4d42-814a-
          bcd6d7f11a98' for key 'IX_490E7A1E'
          01:36:55,665 ERROR [http-bio-9080-exec-8][ExportImportAction:321] com.liferay.portal.kernel.lar.PortletDataException: co
          m.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.excepti
          on.ConstraintViolationException: Could not execute JDBC batch update
          com.liferay.portal.kernel.lar.PortletDataException: com.liferay.portal.kernel.exception.SystemException: com.liferay.por
          tal.kernel.dao.orm.ORMException: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch upda
          te
                  at com.liferay.portal.kernel.lar.BasePortletDataHandler.importData(BasePortletDataHandler.java:144)
                  at com.liferay.portal.lar.PortletImporter.importPortletData(PortletImporter.java:1057)
                  at com.liferay.portal.lar.PortletImporter.importPortletData(PortletImporter.java:997)
                  at com.liferay.portal.lar.PortletImporter.doImportPortletInfo(PortletImporter.java:438)
                  at com.liferay.portal.lar.PortletImporter.importPortletInfo(PortletImporter.java:144)
                  at com.liferay.portal.service.impl.LayoutLocalServiceImpl.importPortletInfo(LayoutLocalServiceImpl.java:1515)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:122)
                  at com.liferay.portal.service.impl.LayoutLocalServiceVirtualLayoutsAdvice.invoke(LayoutLocalServiceVirtualLayout
          sAdvice.java:168)
          
          Show
          Mark Jin added a comment - FAILED Manual Testing following the steps in the description. Failed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 069efb6ba8c9cf89acea033f6c017a742ad21392. Import LAR cause error message like: 01:36:55,656 ERROR [http-bio-9080-exec-8][JDBCExceptionReporter:76] Duplicate entry '10454-auto_51b55d47-a07a-4d42-814a- bcd6d7f11a98' for key 'IX_490E7A1E' 01:36:55,665 ERROR [http-bio-9080-exec-8][ExportImportAction:321] com.liferay.portal.kernel.lar.PortletDataException: co m.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.excepti on.ConstraintViolationException: Could not execute JDBC batch update com.liferay.portal.kernel.lar.PortletDataException: com.liferay.portal.kernel.exception.SystemException: com.liferay.por tal.kernel.dao.orm.ORMException: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch upda te at com.liferay.portal.kernel.lar.BasePortletDataHandler.importData(BasePortletDataHandler.java:144) at com.liferay.portal.lar.PortletImporter.importPortletData(PortletImporter.java:1057) at com.liferay.portal.lar.PortletImporter.importPortletData(PortletImporter.java:997) at com.liferay.portal.lar.PortletImporter.doImportPortletInfo(PortletImporter.java:438) at com.liferay.portal.lar.PortletImporter.importPortletInfo(PortletImporter.java:144) at com.liferay.portal.service.impl.LayoutLocalServiceImpl.importPortletInfo(LayoutLocalServiceImpl.java:1515) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:122) at com.liferay.portal.service.impl.LayoutLocalServiceVirtualLayoutsAdvice.invoke(LayoutLocalServiceVirtualLayout sAdvice.java:168)
          Hide
          Kenneth Chang (Inactive) added a comment -

          opened a new ticket to resolve issue: LPS-34752

          Show
          Kenneth Chang (Inactive) added a comment - opened a new ticket to resolve issue: LPS-34752
          Hide
          Kenneth Chang (Inactive) added a comment -

          fixing in LPS-34752

          Show
          Kenneth Chang (Inactive) added a comment - fixing in LPS-34752
          Hide
          Mark Jin added a comment -

          PASSED Manual Testing following the steps in the description.

          Fixed on:
          Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 8e68771f0ac7de457630872409b3d878ff78b676.

          Import LAR file works well. No error message.

          Show
          Mark Jin added a comment - PASSED Manual Testing following the steps in the description. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 8e68771f0ac7de457630872409b3d878ff78b676. Import LAR file works well. No error message.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 44 weeks, 5 days ago

                Development

                  Structure Helper Panel