PluginNotFoundException: The "blacklist_field_validation_rule" plugin does not exist. Valid plugin IDs

Created on 1 May 2023, about 1 year ago
Updated 15 June 2024, 13 days ago

Problem/Motivation

Drupal\Component\Plugin\Exception\PluginNotFoundException: The "blacklist_field_validation_rule" plugin does not exist. Valid plugin IDs for Drupal\field_validation\FieldValidationRuleManager are: date_range_field_validation_rule, words_field_validation_rule, blocklist_field_validation_rule, integer_field_validation_rule, plain_text_field_validation_rule, regex_field_validation_rule, must_be_empty_field_validation_rule, email_field_validation_rule, numeric_field_validation_rule, ip_field_validation_rule, one_of_several_validation_rule, phone_field_validation_rule, length_field_validation_rule, unique_field_validation_rule in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 53 of /www/wwwroot/panorica.com/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php)

Steps to reproduce

Update Drupal 9.5.7 to Drupal 9.5.8
Field Validation 8.x-1.0-beta3 to beta4

πŸ› Bug report
Status

Closed: outdated

Component

Code

Created by

πŸ‡·πŸ‡΄Romania idflorin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @idflorin
  • πŸ‡¨πŸ‡³China g089h515r806

    It is renamed to blocklist, you can replace with it.

    Here is the old version from field_validation beta3, copy it to the same directory.

  • πŸ‡·πŸ‡΄Romania idflorin

    My fix/workaround:
    1. Export your rules one by one
    At /admin/config/development/configuration/single/export
    select Configuration type
    Field validation rule set
    and your
    Configuration name

    Save your configurations.
    2. Edit your configurations and change with search and replace "blacklist" with "blocklist"
    3. Uninstall the Field validation module.
    4. Install the latest version of the Field validation module
    5. Import the edited configurations.
    !! Important: Clear the cache after each step.

  • Status changed to Closed: outdated 13 days ago
Production build 0.69.0 2024