List: Contains Item does not store config correctly

Created on 31 May 2023, about 1 year ago
Updated 3 August 2023, 11 months ago

Problem/Motivation

The eca_list_contains condition does not store configuration values correctly and does not display default values in its form. Setting the "Name of token containing the list" to "xyz" and "Method" to "Lookup list value" or "Lookup index key" results in the following config:

Flow_1gmadfe:
    plugin: eca_list_contains
    configuration:
      negate: false
      list_token: ''
      method: value
      value: '[abc]'
      list_token_name: xyz

Steps to reproduce

  • Create a model with a list: contains item condition
  • Set "Name of token containing the list" to "xyz" and "Method" to "Lookup index key"
  • Save the model and reload it
  • Open the list: contains item form: both fields are empty.
  • Export config: Method is always "value".
πŸ› Bug report
Status

Closed: outdated

Version

1.1

Component

Code

Created by

πŸ‡¨πŸ‡­Switzerland boromino

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

Comments & Activities

Production build 0.69.0 2024