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

Unable to Remove Wiki Documents if & is in the Title

    Details

      Description

      Description:
      Documents added to Wiki pages cannot be moved to the Recycle Bin if they have the "&" sign in the file name.

      Steps To Reproduce:

      1. Create two documents or files with identical content but different titles (e.g., .txt, .docx, .xlsx, .jpg, .pdf, etc.)
      2. One file name should have an "&" character in the name (e.g., test&file.txt) and the other without (e.g., testfile.txt)
      3. On any site, navigate to Contents > Wiki
      4. Add a new Wiki page
      5. Go to that page and click to Edit the FrontPage
      6. Add two attachments created earlier in Steps 1 and 2
      7. Move to recycle bin the document without "&". Confirm it moves successfully.
      8. Move to recycle bin the document with "&".

      Expected Results:
      Both files can be moved to the Recycle Bin without issue.

      Actual Results:
      The file with the "&" character cannot be moved to the Recycle Bin and a stack trace is generated along with UI error.

       

      Branch:
      Reproducible in Branch

      e167be51c8668625ee8222b82f61b21019c0cd0a

      Master:
      Reproducible in Master

      4b2347effe33c2a1d7c6efc3f6b152f2485f0233

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 15 weeks, 5 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP64
                  7.0.X
                  7.1.0 Beta 1
                  7.1.X
                  Master