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

Update content via Public API modify publication and modification date

    XMLWordPrintable

Details

    Description

      Using same code as https://confluence.ez.no/display/EZP/3.+Managing+Content#id-3.ManagingContent-UpdatingContent

      Result:
      => modification date: ok
      => publication date: ko ..

      Problem is due to $contentService->publishVersion() which call internalPublishVersion(). This method wait for a $publicationDate variable, of course not define with publishVersion(). So script give the current time ...

      Attachments

        Activity

          People

            Unassigned Unassigned
            philippe.vincent-royol-obsolete@ez.no Philippe Vincent-Royol (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: