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

No warning when deleting a page that contains scoped content

    Details

      Description

      Description
      When deleting a page that has content scoped to it, the scoped content is also deleted. This may be surprising and unexpected to users. There should be a warning message when the user is about to delete such a page, so that they don't unexpectedly lose significant amounts of data.

      Steps to Reproduce
      1. Start up Liferay
      2. Create a new widget page called 'Test'
      3. On the 'Test' page, add a Documents and Media widget
      4. Open the widget's Configuration settings, navigate to Scope, and click on 'Test' to create a new scope
      5. Upload documents onto the widget
      6. Go back to the Home page, and place a Documents and Media widget on the page
      7. Configure the widget to have 'Test' scope as well
      8. Go to Site Administration and delete the 'Test' page

      Expected Result: The user receives a warning that deleting the 'Test' page will cause all documents uploaded in the Test scope to also be deleted.
      Actual Result: The page is deleted, and all documents scoped to the 'Test' page are also deleted. Going back to the Home page, the Documents and Media widget is now changed to the default scope.

        Attachments

          Activity

            People

            Assignee:
            oziel.souza Oziel Souza
            Reporter:
            michael.bowerman Michael Bowerman
            Participants of an Issue:
            Recent user:
            Clarissa Velazquez
            Engineering Assignee:
            Michael Bowerman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              9 weeks, 5 days ago

                Packages

                Version Package
                7.2.10 DXP FP16
                7.2.X
                7.3.X
                7.4.13 DXP GA1
                7.4.3.4 CE GA4
                Master