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

Uninstalling Social Office through Marketplace isn't complete and doesn't fully clean up

    Details

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

      Description

      Uninstalling Social Office through Marketplace isn't complete and doesn't fully clean up

      This is most evidently seen when after uninstalling Social Office, the document library on a SO templated page disappears and there are errors in the console.

      1. Install Social Office through Marketplace.
      2. Give the admin user the SO role.
      3. Go to the Sites portlet on the dashboard.
      4. Add a new open site called "New SO Site".
      5. Upload a new document.
      6. Go to Control Panel > Purchased.
      7. Click to uninstall Social Office.
      8. When uninstall is finished, refresh the page or navigate back to localhost:8080
      9. Click on Go To > New SO Site.
        • Notice the page no longer uses the SO site template.
      10. Click on the Documents page.

      The document library portlet will not be on the page and the console will display error. Please see attached.

        Issue Links

          Activity

          Hide
          mandy.zia added a comment -

          FAILED Manual Testing using the steps in the description.

          The results are the same as before - the doclib portlet is gone and the console shows lots of errors. Please see the attached new console errors.

          Reproduced on:
          Tomcat 7 + MySQL 5. Portal 6.1.20 EE GA2.
          Plugins 6.1.x EE GIT ID: f4bd6f3854ca77252343a4c3ac607a219b592d8b.

          Show
          mandy.zia added a comment - FAILED Manual Testing using the steps in the description. The results are the same as before - the doclib portlet is gone and the console shows lots of errors. Please see the attached new console errors. Reproduced on: Tomcat 7 + MySQL 5. Portal 6.1.20 EE GA2. Plugins 6.1.x EE GIT ID: f4bd6f3854ca77252343a4c3ac607a219b592d8b.
          Hide
          Jonathan Lee added a comment -

          We mainly can'y delete one of the LayoutSetPrototype due to some hibernate error.

          Show
          Jonathan Lee added a comment - We mainly can'y delete one of the LayoutSetPrototype due to some hibernate error.
          Hide
          Jonathan Lee added a comment -

          error cannot be reproduced consistently

          Show
          Jonathan Lee added a comment - error cannot be reproduced consistently
          Hide
          mandy.zia added a comment -

          PASSED Manual Testing. The elements that consist of a clean uninstall is listed in SOS-1221. With that in mind, the general steps are the following:

          1. Create another user and give them the SO role.
          2. Create an open SO site. Populate it with some data.
          3. Go to Purchased Apps in control panel.
          4. Click the button to uninstall Social Office.

          The following should be true after the uninstall process completes:

          1. No console errors.
          2. All users who originally had the SO role should no longer have the role.
          3. Under Control Panel > Roles, the Social Office User Role should be deleted.
          4. Under Control Panel > Site Templates, the SO templates should be deleted.
          5. Dashboard and Profile will be reverted to previous state, with no button for the Dashboard.
          6. All sites that were previously SO sites should revert to the default portal template.
          7. All sites should not be using the SO Application Adapter. Go to Control Panel > the site's settings, and verify no Application Adapter is used for the specific site. (SOS-1305)

          Fixed on:
          Tomcat 7 + MySQL 5. Portal 6.1.x EE GIT ID: a4e4deb86cd53686a028af844196c2abce0389e7.
          Plugins 6.1.x EE GIT ID: 3a9e2e3c84c5b21bffebe2a2d5f3640b4eeb0f1d.

          Show
          mandy.zia added a comment - PASSED Manual Testing. The elements that consist of a clean uninstall is listed in SOS-1221 . With that in mind, the general steps are the following: Create another user and give them the SO role. Create an open SO site. Populate it with some data. Go to Purchased Apps in control panel. Click the button to uninstall Social Office. The following should be true after the uninstall process completes: No console errors. All users who originally had the SO role should no longer have the role. Under Control Panel > Roles, the Social Office User Role should be deleted. Under Control Panel > Site Templates, the SO templates should be deleted. Dashboard and Profile will be reverted to previous state, with no button for the Dashboard. All sites that were previously SO sites should revert to the default portal template. All sites should not be using the SO Application Adapter. Go to Control Panel > the site's settings, and verify no Application Adapter is used for the specific site. ( SOS-1305 ) Fixed on: Tomcat 7 + MySQL 5. Portal 6.1.x EE GIT ID: a4e4deb86cd53686a028af844196c2abce0389e7. Plugins 6.1.x EE GIT ID: 3a9e2e3c84c5b21bffebe2a2d5f3640b4eeb0f1d.

            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, 17 weeks, 2 days ago

                Development

                  Structure Helper Panel