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

Exporting/Importing the document library with documents attached to a document type causes a null pointer exception

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2
    • Fix Version/s: 6.1.30 EE GA3, 6.2.0 CE M2
    • Component/s: DM
    • Labels:
    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Fix Priority:
      4

      Description

      Steps To reproduce:

      1. Go to control panel
      2. Click on Documents and Media
      3. Click manage > document types
      4. Click Add
      5. Type in 'Test' into the name box and add a text field in the main metadata fields and then click save
      6. Close the document types window
      7. Click Add > Test
      8. For file, choose any file
      9. Input a title ('test') and input some text into the text field
      10. Click publish
      11. Click on the wrench icon and then click 'Export/Import'
      12. Choose 'All for the Range' and then click export
      13. Go to 'Sites' under 'Portal' in the Control Panel menu
      14. Click Add > Blank Site
      15. Put 'Test' as the name and then click save
      16. Make sure the control panel switched to the 'Test' site and then click on Documents and Media
      17. Click the wrench icon and then click on 'Import/Export'
      18. Click on the Import tab
      19. Choose the file that was just exported and downloaded
      20. Choose 'Copy as New' as the Data Strategy and then click import

      The attached log file shows the stacktrace.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 38 weeks, 6 days ago