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

When you delete a portal instance data is not deleted from DB

    Details

      Description

      Description:
      When you create a new portal instance and then delete it, data in some tables that are related to the company, will not get deleted.

      Steps to reproduce:
      1. Set up a new portal instance
      2. Place a Dynamic Data List Display portlet on the page in the new instance
      3. Add List and then create a new data definition for it (do not select any of the existing ones)
      4. Create a new custom field for Documents Folder
      5. Create a new folder under Content & Data / Documents and Media, enter some value to the newly created custom field
      6. In order to have some data in the SystemEvent table, create a form and delete it (entries are added into the table when an asset is deleted)
      7. Note down company id of newly created instance from company table
      8. Verify data with the companyID exists in the following tables: systemevent, expandotable, expandocolumn
      9. Delete newly created instance

      Actual result:
      Company is deleted from the company table, but if you check systemevent, expandotable, expandocolumn tables, you find data related to the deleted company ID.

      Expected result: Data associated with the deleted company ID gets deleted.

      LPS-52177 solves a similar issue for User Groups.

        Attachments

          Activity

            People

            Assignee:
            sharry.shi Sharry Shi
            Reporter:
            amadea.fejes Amadea Fejes (Inactive)
            Participants of an Issue:
            Recent user:
            Jason Pince
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 19 weeks, 4 days ago

                Packages

                Version Package
                7.0.0 DXP FP85
                7.0.X
                7.1.10 DXP FP13
                7.1.X
                7.2.X
                7.2.1 CE GA2
                7.3.10 DXP GA1
                Master