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

Asset entries' publishDate is not correctly set when creating documents

    Details

      Description

      Asset entries' publishDate attribute is not set when a document entry is first created. It is only set when editing the document for the first time.

      These are the reproduction steps:

      1. Create a basic document in DL. Publish it (Save).
      2. Check in the database that for this assetEntry the publishDate attribute is set to null.
      3. Edit the document created in 1.
      4. Check in the database the publishDate attribute is now set to the same value as the createDate attribute.

      Expected result:

      2. The publishDate is correctly set (same value as the createDate attribute).

      Current result:    

      2. The publishDate is set to null.

        Attachments

          Activity

            People

            Assignee:
            beck.liu Beck Liu
            Reporter:
            cristina.rodriguez Cristina Rodriguez
            Participants of an Issue:
            Recent user:
            Brian Wulbern
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 6 weeks ago

                Packages

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