- Issue created by @pfrenssen
- 🇧🇬Bulgaria pfrenssen Sofia
Duplicate of 🐛 Use of unsupported exclamation mark placeholders Active .
When I try to roll back a migration through the UI, and the rollback fails, I am getting the following error:
User warning: Placeholders must begin with one of the following "@", ":" or "%", invalid placeholder (!name) with string: "Rollback of !name migration failed." in Drupal\Component\Render\FormattableMarkup::placeholderFormat() (line 247 of core/lib/Drupal/Component/Render/FormattableMarkup.php).
The !
placeholder is a remnant from Drupal 7, this was removed in Drupal 8. Starting with Drupal 8.2 a deprecation warning has been emitted for these placeholders (see
#2807705: FormattableMarkup::placeholderFormat() can result in unsafe replacements →
) and starting with Drupal 10 this deprecation warning has become a user warning (ref
#3295625: Remove deprecated code from FormattableMarkup →
).
Active
6.0
Code
Duplicate of 🐛 Use of unsupported exclamation mark placeholders Active .