Add an operator button to confirm the dormant-vault notification pipeline works before a real vault triggers it.

On the Vault subjects page, a "Send a test notification to me" button dispatches a sample pdv.dormancy warned event for the operator's own account, with the context flagged source=operator_test. Whatever delivery is configured then fires - PDV Mail emails the operator, and any ECA model reacts - so the operator can verify mail configuration and templates (and, later, their ECA models) without waiting for the cron lifecycle.

It touches no real vault and does not change any warn_count; it only dispatches the event. It is shown whether or not dormancy is enabled, since it is useful purely to test delivery. Available to operators with the vault-subjects access.

Note: because it dispatches the real event (to exercise the whole pipeline including ECA), an enabled audit-trail bridge records one pdv.dormancy.warned row for the operator, flagged source=operator_test.

Issue fork pdv-3593895

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mably created an issue. See original summary.

mably’s picture

Status: Active » Needs review

  • mably committed 24e72b94 on 1.x
    feat: #3593895 Operator test-notification button for dormancy delivery...
mably’s picture

Status: Needs review » Fixed

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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.