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

wrong error message display when restore a trash

    Details

      Description

      Issue
      When a user tries to restore from the recycle bin a document or web content that was just restored by another user, a pop-up shows with options to overwrite or keep both resources even though there is no element to restore.
      Steps to reproduce
      Start a clean SP10 bundle
      Log in with admin
      Create a new web content
      Move that web content to the recycle bin
      Go to the recycle bin and confirm that the content is there
      Open a new different browser
      Login with admin, go to the recycle bin and confirm that the removed web content is there
      Click on the actions menu for that web content and Restore it to undelete it
      Go back to the initial browser. The undeleted web content is still displayed in the recycle bin (can't be helped since we have not reloaded the page)
      Click on the actions menu for that web content and try to Restore it again
      A display box shows informing the user that there is already a content with the same name. There is an option to Overwrite or Keep both
      If you try to keep both by specifying a different name, the same warning shows
      If you try to overwrite, recycle bin is reloaded and error shows
      Actual Results
      A popup window shows with the option to overwrite or keep both resources even though there is nothing to restore

      Expected Results
      The popup window should not show, since there is nothing to restore

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                beck.liu Beck Liu
                Reporter:
                dale.shan Dale Shan (Inactive)
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 27 weeks ago

                  Packages

                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE