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

Parameter t in a document field's download URL is not updated when the referred document is updated

    Details

    • Branch Version/s:
      7.0.x
    • Backported to Branch:
      Committed

      Description

      Steps to reproduce:

      1. Create a new document with a pdf file
      2. Create a Web Content Structure with a document field
      3. Create a Template for that Web Content Structure adding the default FreeMarker markup for the document field and marking the template as not cacheable
      4. Create a new Web Content based off of the previous Structure filling the document field with the document created on step 1
      5. Add a WCD widget to a page configured to display the Web Content previously created
      6. Copy the download link related to the document and save it for later
      7. Update the document created in step 1 with a new PDF file
      8. Go to the page where the WCD widget was added and press CTRL+F5
      9. Copy the download link related to the document again
      10. Check both links

      Expected results:

      • The value of parameter t is different

      Actual results:

      • Both links are identical

        Attachments

          Activity

            People

            Assignee:
            chao.wang Chao Wang
            Reporter:
            daniel.couso Daniel Couso
            Participants of an Issue:
            Recent user:
            Yunlin "Steven" Sun
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              31 weeks, 4 days ago

                Packages

                Version Package
                7.0.0 DXP FP94
                7.0.10.15 DXP SP15
                7.0.X