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

Unable to export and import an empty file in a Lar when using DBStore connecting to Oracle 11.2g

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2
    • Component/s: DM
    • Labels:
    • Environment:
      LIFERAY VERSION: 6.1 GA2
      OPERATING SYSTEM: Oracle Linux 6.1
      APPLICATION SERVER: Tomcat 7.0
      JAVA VIRTUAL MACHINE: Java 6
      DATABASE: Oracle 11.2

      Description

      Summary :
      Unable to export and import an empty file in a Lar when using DBStore connecting to Oracle 11.2g

      Steps to reproduce :
      1. Grab a brandnew EE 6.1 GA2 bundle
      2. Configure to connect to oracle 11.2 g
      3. Add property "dl.store.impl=com.liferay.portlet.documentlibrary.store.DBStore" in portal-ext.properties
      4. Start Server and log in as test@liferay.com
      5. Go to Control Panel -> Documents and Media -> Add -> Basic Document -> Fill in Title 'emptyFile', Description 'empty file', leave File as blank. Then click on 'Publish" button.
      6. Click on the upper right button to export Documents and Media as a Lar file
      7. Create a new site 'testSite' and switch to it, then go to Documents and Media tab
      8. Click on the upper right button to import the Lar file just exported
      9. Go back to Documents and Media tab to see
      10. The 'emptyFile' is not imported. No error in log.

      Reproduce on :
      On EE 6.1 GA2, do not use DBStore, the issue does not occur. Use DBStore connecting with a mysql database, the issue does not occur, either.
      6.1.x (Rev. 148857)
      trunk (Git ID : 2a837e53e664302f1a240bb06fb53b53609df2a3)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pani.gui Pani Gui (Inactive)
                Reporter:
                michael.chen Michael Chen (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, 20 weeks, 3 days ago

                  Packages

                  Version Package
                  6.1.2 CE GA3
                  6.1.30 EE GA3
                  6.2.0 CE M6