Unpublished articles are exported with "add" state

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 covers this scenario.

Technical tasks

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.

Deployment actions

None

Status

Assignee

Unassigned

Reporter

Marijn Otte

Product owner

Marijn Otte

Plan date

None

Follow up date

None

Code reviewer

Jeroen van Leeuwen

Developer

Ger Jan van den Bosch

Refiner

Jeroen van Leeuwen

Dev hour estimate

6

Max. hours

None

External issue ID

None

Error message

None

Min. hours

None

Story Points

2

Time tracking

8h 30m

Epic Link

Sprint

None

Fix versions

Priority

Major
Configure