PUBLIC - Liferay Social Office Community Edition
  1. PUBLIC - Liferay Social Office Community Edition
  2. SOS-1189

SO Upgrade: Upgrading from SO 1.5 to 2.0 causes Bookmarks to not be present

    Details

    • Fix Priority:
      4
    • Similar Issues:
      Show 4 results 

      Description

      When user upgrades from SO 1.5 to 2.0; the bookmarks that they had on their site will not be accessible.

      Steps to Reproduce:

      1. Start Social Office 1.5
      2. Click Add Site
        (a) *Name:* Test Site
        (b) *Description:* This is a test site
      3. Click Save
      4. Close Add Site window
      5. Click Test Site
      6. Click Add Entry below Bookmarks
        (a) *Name:* Google Bookmark
        (b) *URL:* http://wwww.google.com
        (c) *Description:* Google Bookmark
        (d) *Tags:* tag1
      7. Click Save
      8. Shutdown application server
      9. Start application server
      10. Upgrade portal to 6.1.1
      11. Upgrade SO to 2.0
      12. Click Dashboard
      13. Click Test Site
      14. There will be no bookmarks listed under Bookmarks
        Checking the SQL tables, SO 1.5 stores the bookmark data in a folder; while SO 2.0 stores bookmarks in the root directory (Please see attached picture).

        Activity

        Hide
        mandy.zia added a comment -

        Wasn't a portal issue when this ticket was created.

        Show
        mandy.zia added a comment - Wasn't a portal issue when this ticket was created.
        Hide
        Jeffrey Yang added a comment -

        Reproduced on:
        Tomcat 7 + MySQL 5. Portal 6.1.x CE GIT ID: c0fab028634836a4e9d9c173f2e93c7a9343e41c.
        Plugins 6.1.x CE GIT ID: 77d5b66aa263e3fdbf8de5edcc3c7c37dd063f3a.

        Show
        Jeffrey Yang added a comment - Reproduced on: Tomcat 7 + MySQL 5. Portal 6.1.x CE GIT ID: c0fab028634836a4e9d9c173f2e93c7a9343e41c. Plugins 6.1.x CE GIT ID: 77d5b66aa263e3fdbf8de5edcc3c7c37dd063f3a.
        Hide
        Vicki Tsang added a comment -

        Please investigate to see if SO is looking in the wrong place for bookmarks and assess if this is SO or portal

        Show
        Vicki Tsang added a comment - Please investigate to see if SO is looking in the wrong place for bookmarks and assess if this is SO or portal
        Hide
        Evan Thibodeau added a comment -

        Created a new update script to copy bookmarks from the "Bookmarks" folder in SO 1.5 to the root directory, which is the location bookmarks are kept in SO 2.0.

        Note: When updating Social Office do not initially deploy so-hook. Permissions must be set in portal-ext.properties to: "permissions.user.check.algorithm=5" Then Convert legacy permission algorithm must be executed from the Server Administration tab of the Control Panel. You must then switch the Permissions in portal-ext.properties to: "permissions.user.check.algorithm=6". You can now deploy so-hook.

        Show
        Evan Thibodeau added a comment - Created a new update script to copy bookmarks from the "Bookmarks" folder in SO 1.5 to the root directory, which is the location bookmarks are kept in SO 2.0. Note: When updating Social Office do not initially deploy so-hook. Permissions must be set in portal-ext.properties to: "permissions.user.check.algorithm=5" Then Convert legacy permission algorithm must be executed from the Server Administration tab of the Control Panel. You must then switch the Permissions in portal-ext.properties to: "permissions.user.check.algorithm=6". You can now deploy so-hook.
        Hide
        Jeffrey Yang added a comment -

        PASSED Manual Testing following the steps in the description.

        Fixed on:
        Tomcat 7 + MySQL 5. Portal 6.1.x CE GIT ID: 078551223d15fc54269f30276558aa546adbe941.
        Plugins 6.1.x CE GIT ID: bd5aa24a43a4de6a97cd56f4dce166fdb30ebf35.

        Show
        Jeffrey Yang added a comment - PASSED Manual Testing following the steps in the description. Fixed on: Tomcat 7 + MySQL 5. Portal 6.1.x CE GIT ID: 078551223d15fc54269f30276558aa546adbe941. Plugins 6.1.x CE GIT ID: bd5aa24a43a4de6a97cd56f4dce166fdb30ebf35.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:
              Date of First Response:
              Days since last comment:
              2 years, 22 weeks, 3 days ago

              Development

                Structure Helper Panel