Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-25377

On API publish, publication date gets wrong value

    XMLWordPrintable

Details

    Description

      When publishing existing content (creating new version) with the PAPI, the publication date of the content gets the current datetime, same as modification date. While modification date behavior is correct, the publish date of the content should remain unchanged to reflect the original (first) publish date of the content.

      Publishing from legacy administration does just that - changes only modification date.

      To reproduce:

      • load content
      • create draft
      • modify content with updatestruct
      • publish new draft

      Expected outcome: original content and republished content have the same publishedDate but different modificationDate

      Actual outcome: republished content has different publishedDate than original content

      Attachments

        Activity

          People

            Unassigned Unassigned
            7c6f1a9a-f94a-4ef5-89df-6ecd72b88afd@accounts.ibexa.co Ivan Herak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: