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

Access to documents through title and file name

    Details

      Description

      When you access to a document through the URL you can access with the title

      http://localhost:8080/documents/20121/0/title 

      Now with the changes made that fileName must give access to the document  

      http://localhost:8080/documents/20121/0/fileName

      but we want backward compatibility, so both ways must work

       

      Acceptance criteria

      Given a document with title and filename

      When a user goes to http://localhost:8080/documents/20121/0/fileName

      Then she can download the document

       

      Given a document with title and filename

      When a user modifies the title and then tries to access the original download URL

      Then she can download the document

       

      Test Scenarios

      ID Test Priority Test Scenarios Covered by Backend (Unit/Integration)? Test to add
       1.11  5 The document file can be downloaded by accessing the download URL with the document title  No CPDocumentsandmedia#DownloadDocumentThroughTitle 
       1.12  5 The document file can be downloaded by accessing the download URL with the document file name No  CPDocumentsandmedia#DownloadDocumentThroughFileName 
       1.13  5 The document with the edited title can be downloaded by accessing the original download URL (The URL of the filename)  No CPDocumentsandmedia#PreviewDocumentThroughURL 

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              austin.chiang Austin Chiang
              Reporter:
              alicia.garcia Alicia Garcia
              Engineering Assignee:
              Product Team Lima
              Recent user:
              Sophia Zhang
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  7.4.13 DXP GA1
                  Master