Problem/Motivation

The StateChange action plugin should support both publish_on and unpublish_on fields. The support is currently for the publish_on field only.

Steps to reproduce

Use Scheduler module to schedule to unpublish a content. After the content is successfully unpublished, the field unpublish_on remains non null.

Proposed resolution

Add support for the unpublish_on field also.

Remaining tasks

None

User interface changes

None

API changes

None

Data model changes

None

Comments

gigiabba created an issue. See original summary.

gigiabba’s picture

StatusFileSize
new510 bytes

Adding a patch to solve the issue

gigiabba’s picture

Status: Active » Needs review
codebymikey’s picture

Status: Needs review » Reviewed & tested by the community

Patch works fine for me.

  • nicrodgers committed 7285dc88 on 2.1.x
    fix: #3408259 The StateChange action plugin should support both...
nicrodgers’s picture

Status: Reviewed & tested by the community » Fixed

Thanks, committed.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.