The TermSelection field is not saving the Target vocabulary and the field is empty if form widget is 'Select' or 'Check boxes/Radio buttons'. It looks like this is because the class is still using the handler_settings configuration (which was deprecated in 8.4. See https://www.drupal.org/node/2870971).

The module needs to do something like to get the configurations.

    // The ['handler_settings'] was removed on Drupal 8.4. the code below is
    // kept for back compatibility.
    // @see https://www.drupal.org/node/2870971
    $handler_settings = isset($this->configuration['handler_settings']) ? $this->configuration['handler_settings'] : $this->configuration;
CommentFileSizeAuthor
#2 3228080-termselection-is-not_1.patch2.06 KBzipymonkey

Comments

zipymonkey created an issue. See original summary.

zipymonkey’s picture

StatusFileSize
new2.06 KB

I've created a patch that checks for handler_settings and uses it if it exists.

zipymonkey’s picture

Assigned: Unassigned » zipymonkey
Status: Active » Needs review

  • jludwig committed e3bbf75 on 8.x-1.x authored by zipymonkey
    Issue #3228080 by zipymonkey: TermSelection is not working with Drupal 9...
jludwig’s picture

Status: Needs review » Fixed

Committed and released in version 8.x-1.5. Thanks!

Status: Fixed » Closed (fixed)

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