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

Deleting a site can leave orphan ddmstructure's for data definitions (record sets)

    Details

    • Type: Bug
    • Status: Verified
    • Resolution: Unresolved
    • Affects Version/s: 7.0.X, 7.1.X, Master
    • Fix Version/s: None
    • Component/s: Dynamic Data Lists
    • Labels:
      None
    • Fix Priority:
      2

      Description

      Steps to reproduce

      1. Create a new site and notice the Site ID in Site Settings.
      2. For the new site, go to Content > Dynamic Data Lists > 3-dot menu > Manage Data Definitions and add a new Data Definition.
      3. Perform the following query in the database (using the value of the Site ID noticed in the first step):
        select * from DDMStructure where groupId = '${group_id_for_the_site}';
        

        Observed: There is one entry corresponding to the Data Definition just created.

      1. Delete the site.
      2. Perform the same sql query as before.
        Expected: The ddm structure is no longer in the result set of the query.
        Observed: The ddm structure is still in the result set for the query.

      Note: If direct access to the database is not possible, you can use the attached Groovy script making sure to use the appropriate value for the Site ID.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                support-lep@liferay.com SE Support
                Reporter:
                ricardo.couso Ricardo Couso
                Participants of an Issue:
                Recent user:
                Annie Wu
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Days since last comment:
                  37 weeks, 6 days ago

                  Packages

                  Version Package