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

Update content via Public API modify publication and modification date

    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 ...

        Issue Links

          Activity

          Hide
          Philippe Vincent-Royol added a comment -
          Show
          Philippe Vincent-Royol added a comment - A pull request is open here: https://github.com/ezsystems/ezpublish-kernel/pull/332
          Show
          Thiago Campos Viana added a comment - Same problem here: http://share.ez.no/forums/ez-publish-5-platform/update-content-using-php-is-bugged
          Hide
          André Rømcke added a comment -

          Closing as duplicate of EZP-25377.

          Show
          André Rømcke added a comment - Closing as duplicate of EZP-25377 .

            People

            • Assignee:
              Unassigned
              Reporter:
              Philippe Vincent-Royol
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: