Global settings form for tagging configuration does not work correctly

Created on 14 November 2021, over 2 years ago
Updated 21 August 2023, 10 months ago

Problem/Motivation

When using the global configuration form to add settings to individual fields it does not work correctly. The structure of the config entity is different from the one used when setting the configuration individually for each field.

Steps to reproduce

1. Create a new entity with Powertagging field
2. Set the tagging configuration from the field
3. Export configuration
4. Go to the global settings and use the form to override the settings

The structure of the configuration entity is different and not correct:

    concepts_per_extraction:
      slider: '20'
    concepts_threshold:
      slider: '40'
    freeterms_per_extraction:
      slider: '0'
    freeterms_threshold:
      slider: '100'

Instead of correct one:

    concepts_per_extraction: '20'
    concepts_threshold: '40'
    freeterms_per_extraction: '0'
    freeterms_threshold: '100'

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡·πŸ‡΄Romania cristiroma

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024