Staged Content Items and Publishing Status
If your handler is concerned with the publishing status of content
items (whether or not they are published
), then you
need to think carefully about what state-change events actually mean
for staged and unstaged content items, and if necessary handle them
differently. If, for example, you trap an
OBJECT_STATE_CHANGED
event and the new state of the
content item is approved
, then:
-
If the content item is unstaged, then there is no
published
version. -
If the content item is staged then there is a
published
version.