4x Support for keys without a placeholder prefix is deprecated in Drupal 9.1.0 and will be removed in Drupal 10.0.0. Invalid placeholder (link) with string: "Action "%action_label" is not valid because scheduled unpublishing is not enabled for %type content. Add the condition "%condition" to your Reaction Rule, or enable scheduled unpublishing via the <a href="@url">%type</a> settings."

There is no See url in the message, but from git blame I found the core issue #2807743: Switch from deprecation notice to warning for non-standard placeholders in FormattableMarkup::placeholderFormat()

The test affected is SchedulerRulesActionsTest, functions testPublishOnActions() and testUnpublishOnActions()

Patch will follow

Comments

jonathan1055 created an issue. See original summary.

jonathan1055’s picture

Status: Active » Needs review
StatusFileSize
new6.1 KB

Travis testing shows that this should work OK at 8.8, 8.9, 9.0 and 9.1
https://travis-ci.org/github/jonathan1055/scheduler/builds/725719889

  • jonathan1055 committed 9cd1fd7 on 8.x-1.x
    Issue #3170026 by jonathan1055: [9.1] Support for keys without a...
jonathan1055’s picture

Status: Needs review » Fixed

Fixed.

jonathan1055’s picture

Assigned: jonathan1055 » Unassigned

Status: Fixed » Closed (fixed)

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