Problem/Motivation

When parent is empty, there might be an error.

TypeError: Drupal\dependent_fields\Plugin\EntityReferenceSelection\ViewsSelection::getValidIds(): Argument #1 ($parent_field_value) must be of type string, null given, called in /opt/drupal/web/modules/contrib/dependent_fields/src/Plugin/EntityReferenceSelection/ViewsSelection.php on line 686 in Drupal\dependent_fields\Plugin\EntityReferenceSelection\ViewsSelection->getValidIds() (line 705 of /opt/drupal/web/modules/contrib/dependent_fields/src/Plugin/EntityReferenceSelection/ViewsSelection.php).
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

pcambra created an issue. See original summary.

  • pcambra committed ba516205 on 1.x
    Issue #3610928: When parent is empty, there might be an error on...
pcambra’s picture

Status: Active » 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.