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)


    • 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:
    • Fix Priority:


      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.


          Issue Links



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


                • Created:
                  Days since last comment:
                  1 year, 13 weeks, 3 days ago


                  Version Package