Details

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

      Description

      User avatars do not get migrated to the proper location after advanced file store migration.

      Steps to reproduce:

      1) Upload a user portrait.
      2) Control Panel -> Server Administration -> Data Migration
      3) Select the "dl.store.impl" value of "com.liferay.portlet.documentlibrarystore.AdvancedFileSystemStore"
      4) Execute
      5) Wait for a few seconds and refresh the page.
      6) Shutdown Tomcat Server
      7) Edit portal-ext.properties, add "dl.store.impl=com.liferay.portlet.documentlibrary.store.AdvancedFileSystemStore"
      8) Restart Tomcat Server
      9) Sign in.

        Activity

        Hide
        Nathaniel Crary (Inactive) added a comment -

        This is a problem not just for user portraits but anything that needs to be migrated over from the image table.

        Show
        Nathaniel Crary (Inactive) added a comment - This is a problem not just for user portraits but anything that needs to be migrated over from the image table.
        Hide
        Brian Chan added a comment -

        Told NCrary the proper fix.

        Show
        Brian Chan added a comment - Told NCrary the proper fix.
        Hide
        Graeme Steyn added a comment -

        Hi Brian/Nathaniel,

        What was the proper fix for this problem? I am experiencing the same problem with 6.1.20 EE GA2.

        Show
        Graeme Steyn added a comment - Hi Brian/Nathaniel, What was the proper fix for this problem? I am experiencing the same problem with 6.1.20 EE GA2.
        Hide
        Nathaniel Crary (Inactive) added a comment - - edited

        Hi,
        the proper fix is to ensure all files are migrated to the new data store. Instead of going down a list of possible files categories, we are going to simply find all the files that are in each folder and migrate them. Currently our data store's APIs doesn't quite support this sort of behavior yet. The proper fix is for me to add this functionality and migrate the data stores in this new way.

        Show
        Nathaniel Crary (Inactive) added a comment - - edited Hi, the proper fix is to ensure all files are migrated to the new data store. Instead of going down a list of possible files categories, we are going to simply find all the files that are in each folder and migrate them. Currently our data store's APIs doesn't quite support this sort of behavior yet. The proper fix is for me to add this functionality and migrate the data stores in this new way.
        Hide
        Graeme Steyn added a comment -

        Hi Nathaniel,

        Thank you for the feedback related to the proper fix.

        Show
        Graeme Steyn added a comment - Hi Nathaniel, Thank you for the feedback related to the proper fix.
        Hide
        Nathaniel Crary (Inactive) added a comment - - edited

        I think this new fix also helps performance when using the DBStore.

        Show
        Nathaniel Crary (Inactive) added a comment - - edited I think this new fix also helps performance when using the DBStore.
        Hide
        Michael Saechang added a comment -

        Committed on:
        Portal 6.2.x GIT ID: e5926dfffcf42ae8c0d2f6d3bfccb296748cf422.

        Show
        Michael Saechang added a comment - Committed on: Portal 6.2.x GIT ID: e5926dfffcf42ae8c0d2f6d3bfccb296748cf422.
        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.

        When users sign in portal cause error message. The profile picture is broken.

        Fixed on:
        Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 44d3c4aca834ff90c0ff3fca7880381f00fe02a1.
        Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 4a40da2386dba96cc2bce7297b03f4a74fd61c7a.

        Unable to see any error message. Able to see the picture.

        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. When users sign in portal cause error message. The profile picture is broken. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 44d3c4aca834ff90c0ff3fca7880381f00fe02a1. Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 4a40da2386dba96cc2bce7297b03f4a74fd61c7a. Unable to see any error message. Able to see the picture.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 50 weeks, 1 day ago

              Development

                Structure Helper Panel