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

Dirty data in ExpandoRow table after deleting an asset

Details

    Description

      1. mysql> SELECT * FROM `ExpandoRow`;

      Observe there are no rows.

      2. Control Panel > Custom Fields
      3. Select Blog Entry
      4. Enter a "Key" (e.g. Alpha)
      5. Click Save
      6. Control Panel > Blogs
      7. Click Add
      8. Enter anything you want for the "Title" and "Content". You can enter something for custom field, but it doesn't make a difference.
      9. Click Publish
      10. mysql> SELECT * FROM `ExpandoRow`;

      Observe there is now a row for the newly created Blog entry.

      11. For the blog entry you just created, select Move to the Recycle Bin from the Action menu
      12. Control Panel > Recycle Bin
      13. Click Empty the Recycle Bin
      14. mysql> SELECT * FROM `ExpandoRow`;

      Observe there is still an entry for the deleted blog entry.

      This occurs for all custom fields and not just Blogs.

      Attachments

        Issue Links

          Activity

            People

              mark.jin Mark Jin (Inactive)
              samuel.kong Samuel Kong
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                8 years, 32 weeks ago

                Packages

                  Version Package
                  6.1.X EE
                  6.2.0 CE B1