Changing powertagging field settings does not work and throws warnings

Created on 24 October 2023, about 1 year ago
Updated 29 January 2024, 10 months ago

Problem/Motivation

Changing Powertagging field settings is impossible at the moment. The values are not retrieved properly:

Warning: Undefined array key "concepts_per_extraction" in Drupal\powertagging\Plugin\Field\FieldType\PowerTaggingTagsItem::fieldSettingsToConfigData()
Warning: Undefined array key "concepts_threshold" in Drupal\powertagging\Plugin\Field\FieldType\PowerTaggingTagsItem::fieldSettingsToConfigData()
Warning: Undefined array key "freeterms_per_extraction" in Drupal\powertagging\Plugin\Field\FieldType\PowerTaggingTagsItem::fieldSettingsToConfigData()
Warning: Undefined array key "freeterms_threshold" in Drupal\powertagging\Plugin\Field\FieldType\PowerTaggingTagsItem::fieldSettingsToConfigData()

Steps to reproduce

1. Create a powertagging field
2. Try to change the number of concepts per extraction
3. See the warnings, the field value is now null

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇷🇴Romania stefan.butura

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024