Uploaded image for project: 'Integrated'
  1. INTEGRATED-1197

Unpublished articles are exported with "add" state

    Details

    • Sprint:
      Team D Sprint 4
    • Team:
      Team D
    • Story Points:
      2
    • Technical tasks:
      Hide

      This happens in vendor/integrated/integrated/src/Bundle/ChannelBundle/EventListener/Doctrine/ChannelDistributionListener.php.

      Insert (prePersist) and update always have an add state. Should be expanded with the check in the issue.

      Show
      This happens in vendor/integrated/integrated/src/Bundle/ChannelBundle/EventListener/Doctrine/ChannelDistributionListener.php. Insert (prePersist) and update always have an add state. Should be expanded with the check in the issue.

      Description

      Background

      Integrated is responsible for providing the right articles to exporters (http://www.integratedfordevelopers.com/content/documentation/article/creating-an-exporter-for-content-distribution).

      Currently, unpublished articles are exported as well.

      Requirements

      • Check for isPublished, when false export the document the "delete" state instead of "add" state

      Note: articles published in the future will have a "delete" state as well, issue INTEGRATED-1199 Closed covers this scenario.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                marijn Marijn Otte
                Client:
                Integrated Marijn
                Code reviewer:
                Jeroen van Leeuwen
                Developer:
                Ger Jan van den Bosch (Inactive)
                Product owner:
                Marijn Otte
                Refiner:
                Jeroen van Leeuwen
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  OTM